Azure / Azure/MachineLearningNotebooks

DatasetConsumptionConfig and PipelineParameter cannot be reused

Open
#1,312 3 comments 1 reaction 0 assignees View on GitHub
ADO bug Data4ML
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)
![image](https://user-images.githubusercontent.com/10160019/106148035-7ad5de80-6170-11eb-8b6a-a6ff2b451110.png)

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.