Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.84k forks source link

Report on the issue of not being able to pass multiple arguments to the `docker_args` argument of the `azure.ai.ml.command` function in Azure Machine Learning SDK V2 #30466

Open KazuOnuki opened 1 year ago

KazuOnuki commented 1 year ago

Hi, All. This is a report of an issue by Azure Machine Learning Support Engineer. In the command function of SDK V2, docker_args argument type is a string and multiple arguments cannot be passed.

command

image

The sample code to reproduce the event is as follows


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

github-actions[bot] commented 1 year ago

Thank you for your feedback. This has been routed to the support team for assistance.

iscai-msft commented 1 year ago

Thank you for opening this issue @KazuOnuki, tagging @azureml-github to take a look. thanks!

github-actions[bot] commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github @Azure/azure-ml-sdk.

smurli commented 9 months ago

+1 any solution for this issue?

rogeriobonatti commented 7 months ago

@iscai-msft +1 any solution? I don't get an error when sending the docker_args, but it looks like they are not really taking any effect on the container creation. For example when I use: docker_args="-p=8006:8006 --device=/dev/kvm --cap-add=NET_ADMIN --stop-timeout=120", I get errors in the rest of my script because there runtime args were not correctly set

iscai-msft commented 7 months ago

@luigiw can you take a look at this issue? there are multiple people running into this error. Thanks!

jhrmnn commented 1 month ago

@iscai-msft, I'm leading a team at MSR and we're also blocked by this.

iscai-msft commented 1 month ago

@achauhan-scc are you on the ML team and starting work on this issue? There are a lot of people blocked by this issue so fast resolution would be appreciated. Thank you!

achauhan-scc commented 1 month ago

@iscai-msft - Yes, I am from AML team and actively looking into the issue, we are targeting a fix in Nov release but before that we need to close some of reviews as it's a very long pending issue (which is taking longer due to many engineers moved around)