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://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.37k stars 2.71k 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 11 months 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 4 months ago

+1 any solution for this issue?

rogeriobonatti commented 2 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 2 months ago

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