Azure / Azure/MachineLearningNotebooks

Using compute target name as a PipelineParameter

Offen
#1,934 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a query regarding the behavior of the azureml.pipeline.core.graph.PipelineParameter class. As its name suggests, the PipelineParameter is employed to dynamically pass values to our pipeline after its publication. My objective is to convey dynamic values to the orchestrating notebook. For instance, I intend to provide the compute target name dynamically once the pipeline is published. What I am implying is that users can specify the compute name afterwards, eliminating the need for hardcoding the same.

The code i tried:
```
ws = Workspace.from_config()
compute_para = PipelineParameter(name="compute_parameter", default_value="vm1-ig-04-aml-in-cappa-d")
compute_target = ComputeTarget(workspace=ws, name=compute_para.default_value)
```

As I have assigned the default value of the compute name to the compute target, it is currently utilizing only the default value. My inquiry pertains to the existence of any available functionality within Azure that allows for the dynamic transmission of values to the orchestrating notebook.

Let me know if you need more info.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.