Unable to create updated version of component in Azure ML Registry #37464
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.
azure-ai-ml
1.19.0
Describe the bug
When creating the same component in an AML Registry twice (the second time with an updated version and code, but the same environment), the update of such a component fails.
The following error message gets thrown:
To Reproduce
Use the following component definition:
We use the following code to create a component:
where
client
is an instance ofMLClient
that is configured to point to a registry.Steps to reproduce the behavior:
Attempted workaround
We currently work around this by setting the environment name and version in the
CommandComponent
, as the properties are public and mutable, i.e.With this the component creation is successful, but we get the following warning, which indicates that something is off:
Is this workaround appropriate or do you have another suggestion?
Expected behavior
We should be able to upload new component versions into the Azure ML Registry.
The text was updated successfully, but these errors were encountered: