allow_reuse in Azure ml sdk v2

Rajat Sharma 11 Reputation points
2022-06-28T17:54:17.84+00:00

I am running a training pipeline on azure ml python sdk v2. It is running fine but when I am reinitiating it, it takes only 1 second to finish which I assume is taking previous step from last ran pipeline. In v1 sdk we have allow_reuse parameter to stop this behaviour. But how can we do that in ml python sdk v2.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,580 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PriteeBhuyan-MSFT 16 Reputation points Microsoft Employee
    2022-06-29T05:54:50.887+00:00

    Hello @Rajat Sharma ,

    Thank you for posting query in Microsoft Q&A Platform.

    We don't have allow_reuse flag in the v2. However, I would like to understand use case little more in details.
    Do you mind sharing why you want to rerun the step when everything is not changed (meaning the output would be exactly the same even if you rerun)?
    There is a way to disable reuse behavior by setting "is_deterministic: False" for your component.

    Regards,
    Pritee

    1 person found this answer helpful.