Azure / Azure/MachineLearningNotebooks
DatasetConsumptionConfig and PipelineParameter cannot be reused
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Following the tutorial to create ML datasets as pipeline parameters:
https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/machine-learning-pipelines/intro-to-pipelines/aml-pipelines-showcasing-dataset-and-pipelineparameter.ipynb
This requires the creation of PipelineParameter and then DatasetConsumptionConfig objects.
If you have multiple steps which require the same dataset input, you would expect to be able to use the same PipelineParameter for all the steps. However when that PipelineParameter is used with a DatasetConsumptionConfig this doesn't work.
When building the pipeline we get the error:
`'PipelineDataset' object has no attribute '_get_datapath'`
Seems the object is altered when it is used, so when we use it a second time it breaks.
The work around at the moment is to create a new PipelineParameter for every step that uses the dataset, hence the number of pipeline parameters to configure grows very fast.
Tail end of error log (can't copy/paste text)

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.