-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ML Extension causing Azure CLI to be very slow #30794
Comments
Thank you for opening this issue, we will look into it. |
Here are some similar issues that might help you. Please check if they can solve your problem. Possible solution (Extracted from existing issue, might be incorrect; please verify carefully) As a workaround, download from GitHub is much faster: https://github.com/Azure/azure-cli/releases Reference: |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adamedx. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adamedx. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. |
I have found that this issue is a duplicate of #27486, therefore closing. The cause seems to be Docker Desktop with WSL2. It creates a symlink on WSL from The fix was to remove the symlink, then install the |
Describe the bug
Installing the Azure CLI Machine Learning extension makes the CLI extremely slow. The installation of the extension itself takes around 20 minutes before completing (no error), then essentially any
az
command is very slow, regardless of whether it's anaz ml
command or not.Related command
az ml
Errors
No error, just slow
Issue script & Debug output
az --debug
Command output
Expected behavior
It shoudn't take so long to run
az
.Environment Summary
azure-cli 2.68.0
core 2.68.0
telemetry 1.1.0
Extensions:
ml 2.34.0
Dependencies:
msal 1.31.1
azure-mgmt-resource 23.1.1
Python location '/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.68.0/libexec/bin/python'
Extensions directory '/home/cecheta/.azure/cliextensions'
Python (Linux) 3.12.9 (main, Feb 4 2025, 14:38:38) [GCC 11.4.0]
I am running on WSL Ubuntu
Additional context
From the logs above, it takes 159 seconds to load the ml extension.
The text was updated successfully, but these errors were encountered: