Azure / Azure/MachineLearningNotebooks

Using compute target name as a PipelineParameter

Open
#1,934 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.