Azure / Azure/MachineLearningNotebooks

Potential feature request: PipelineArgument dynamically derived from PipelineParameter

Ouverte
#1,744 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
4.4k
Forks
2.6k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello,

I couldn't find a pre-existing issue or documentation on this topic. Is it possible to create pipeline parameters which are dynamically generated from the values of other PipelineParameters?

e.g. the below shows the basic scenario we're looking for.

```python

customer_project = PipelineParameter(name="customer_project")
publish_version = PipelineParameter(name="publish_version")

# following is generated from above pipeline parameters but can still be used as an argument in Pipeline Steps
input_data_parameter = PipelineArgument(name="input_data", value_spec="base_input/{param:customer_project}/{param:publish_version}/train")
input_data = (input_data_parameter, DataPathComputeBinding(mode='mount'))
...
train_step = PythonScriptStep(
...
inputs=[input_data]
)

```

Is there a better way to do what I'm trying to do here?

Currently we have some workarounds like have a "parent" PythonScriptStep which just handles submitting child runs, and generating the right paths from pipeline arguments, but it seems like an extra step and ability to have something like above would be nicer for us.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

L’issue mentionne PipelineParameter, PipelineArgument, PythonScriptStep et DataPathComputeBinding, mais aucun fichier ni test. Commencez par consulter l’API et la documentation Azure Machine Learning concernant l’interpolation des paramètres dans les arguments, puis comparez le comportement proposé avec le workaround du PythonScriptStep parent ; le travail serait terminé lorsqu’une approche prise en charge aura été décidée et qu’un exemple ou une implémentation sera disponible.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
azure, jupyter-notebook, python
Domaine
machine-learning
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.