Closed gingergenius closed 3 years ago
There appears to be an issue with using the newest version of azure-cli-ml. We have reverted to using 1.27.*: https://github.com/microsoft/MLOpsPython/pull/361/files
Make sure to switch az extension add -n azure-cli-ml
-> az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes
The error you're seeing is probably do a version mismatch between the CLI and the SDK. You'll have to directly reference the old 1.27.0 CLI version to resolve this. I would also recommend managing your own Docker image to prevent this kind of thing. The mlops/python:latest image is maintained just for this repo, and things may break if you aren't in sync.
That worked, thanks a lot. I would happily manage my own Docker image if I had the Dockerfile from mlops/python:latest to use an example. Could you share it please?
The DevOps pipeline started to fail on 14.05 after no changes on my side.
I have a project based on the example from this repository. The automatic retraining pipeline worked flawlessly for months until on 14.05 the stage with the ACI deployment via
ml model deploy
started to fail. Here is the stacktrace:I was using the mlops/python:latest Docker image. I saw under https://mcr.microsoft.com/v2/mlops/python/tags/list that there are new tags "build-20210513.1" and "build-20210513.2", so I assumed that is when the breaking changes were introduced to the Docker image. So I changed the version of the image to the latest one before that, "build-20210421.1". The error persisted.
I also tried to change the version of azureml-sdk to 1.27.* in the .yml files with dependencies for the scoring image because the latest commit (ae60e489f0c658ba313e6e0020c61b40ffe3bdc9) does that. This also did not change anything.
The command for the deployment stage is