Running pipeline job from batch endpoint with multiple instances

Oriol Varela Fernandez 0 Reputation points Microsoft Employee
2025-02-14T16:09:06.34+00:00

I currently deployed a pipelineJob to a batch endpoint. In the definition of my pipelineJob I have specified that I want the job to run in 5 instances. However when I call the job from the batch endpoint it runs only with one instance. I tried to pass the number of instances as a parameter, calling the endpoint through the CLI with the parameter --instance-count 5, and nothing seems to work. How can I call the endpoint and run that job with multiple node instances?

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

1 answer

Sort by: Most helpful
  1. Sina Salam 22,031 Reputation points Volunteer Moderator
    2025-02-15T16:13:22.55+00:00

    Hello Oriol Varela Fernandez,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to run pipeline job from batch endpoint with multiple instances.

    Regarding your question and explanation:

    Example of deploying pipelines and using parallel execution:

    https://github.com/azure/azureml-examples/blob/main/sdk/python/jobs/pipelines/1g_pipeline_with_parallel_nodes/pipeline_with_parallel_nodes.ipynb

    I hope this is helpful! Do not hesitate to let me know if you have any other questions. or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.