What is the PipelineParameter equivalent in Azure ML python sdk v2?

Das Gupta, Abhijeet 75 Reputation points
2023-11-06T13:05:44.5633333+00:00

In python sdk v1, PipelineParameter is used to pass arguments when you spin off a pipeline job.

What is the equivalent of it in python sdk v2?

TIA

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

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 47,596 Reputation points
    2023-11-06T18:27:13.2+00:00

    @Das Gupta, Abhijeet Thanks for reaching out to us, Pipeline's augments on invocation which used to be pipeline parameter in SDK v1 now to be Job Inputs in SDK v2.

    In v2, "experiments", "runs", and "pipelines" are consolidated into jobs. A job has a type. Most jobs are command jobs that run a command, like python main.py. What runs in a job is agnostic to any programming language, so you can run bash scripts, invoke python interpreters, run a bunch of curl commands, or anything else. Another common type of job is pipeline, which defines child jobs that may have input/output relationships, forming a directed acyclic graph (DAG).

    More information and examples please see here -

    https://learn.microsoft.com/en-us/azure/machine-learning/migrate-to-v2-deploy-pipelines?view=azureml-api-2&tabs=v1

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer and vote 'Yes' if you feel helpful to support the community, thanks a lot.

    0 comments No comments