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
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 49,096 Reputation points Microsoft Employee Moderator
    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

Your answer

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