Cannot use curated environment from azureml registry in command job #38594
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Machine Learning
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Describe the bug
When I call
az ml job create --file <my_file>.yml
, specifying one of the curated environmentsacft-mmdetection-image-gpu
I get the error:az ml package is unable to find this existing environment
acft-mmdetection-image-gpu
underazureml
registry.When I perform
az ml environment list
, I'm unable to seeacft-mmdetection-image-gpu
environment in the list.I can see this environment when I execute
az ml environment list --registry azureml
.I also tried setting my environment in the
job.yml
file asenvironment: azureml://registries/azureml/environments/acft-mmdetection-image-gpu/versions/46
, but it doesn't work either. same error appears.What I can do is creating a custom environment that is inherited from the specified environment above and use it. But what should I do to use the original
acft-mmdetection-image-gpu
environment in my job?To Reproduce
My
job.yml
file:Steps to reproduce the behavior:
az ml job create --file job.yml
Expected behavior
The training job is created
The text was updated successfully, but these errors were encountered: