Does Azure ML designer run each component in different containers?

Tim Yuan 0 Reputation points
2023-09-08T21:12:24.6166667+00:00

I am using the Execute Python Script component in the designer and I find to install my project's dependencies you have to do a pip install in each component which seems a bit annoying to me. Can somebody explain what is happening behind the scenes after I submit a designer pipeline? Appreciate it.

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

1 answer

Sort by: Most helpful
  1. romungi-MSFT 43,696 Reputation points Microsoft Employee
    2023-09-12T10:53:27.3933333+00:00

    @Tim Yuan The execute python script component is executed in a simple environment with Python pre-installed only and with non-admin permission. Any additional packages have to be installed as part of the script. When you submit the run each module or component is run as per its settings on the compute chosen, basically if you have more than one execute python script component each of them is different and the settings do not persist between the two components. I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments