Hello !
Thank you for posting on Microsoft Learn.
Have you checked if that the workspace
object in your Python code points to the correct subscription, resource group, and workspace name ?
Try to print the workspace details in your code:
print(ws.name, ws.location, ws.resource_group)
You might be authenticating in a different Azure subscription or workspace than where gpu-cluster
exists.
There could have been a breaking change in the azureml-sdk
or azure-ai-ml
version if you recently upgraded or if a managed compute environment updated.
Try to check your current version:
pip show azure-ai-ml
pip show azureml-sdk
If using azure-ai-ml
, verify if you're using a compatible version (>=1.15.0) and match the API behavior with:
from azure.ai.ml import MLClient
If the above doesn’t help, try re-creating the compute cluster with a different name and update your code to reference the new cluster. This can help isolate the issue to a potential internal registration bug.
If your issue is still persisting, raise a support ticket with Azure (include your subscription ID, workspace name, cluster name, and timestamp of error).