Azure / Azure/MachineLearningNotebooks

Using compute target name as a PipelineParameter

未关闭
#1,934 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。