Open Antalagor opened 2 months ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github.
@Antalagor Can you check what role assignments you have on storage account associated with ML workspace? Minimum, it should be Storage Blob Data Reader
or Storage Blob Data Contributor
.
Note that I am able to download model using azure-ai-ml 1.19.0 version. So, it's not producible at our end.
Hi, thanks for having a look into this.
By no means, I am an expert on the Azure service infrastructure, so I am not sure, if I can assist with the right information. When I look into Storage account -> IAM -> Role assignments and search for the mentioned items I find:
Storage Blob Data Contributor
-> Enterprise Application, that seems to be associated with the resource (and has a matching name)
Storage Blob Data Reader
-> different Enterprise Application, that seems to be inherited (and has a non-expressive hash name)
Hope, I could help
Describe the bug With version 1.19.0 I am unable to upload/ download a model in the same script. Model listing works, though. I also cannot download older model uploaded with version 1.8.0.
With version 1.18.0 it all works smoothly, though.
I get authentication error:
To Reproduce
model = Model( path=PATH, type=AssetTypes.CUSTOM_MODEL, name=NAME, description=DESCRIPTION, )
ml_client.models.create_or_update(model)
models = ml_client.models.list() ml_client.models.download(NAME, VERSION)