Azure / mlops-v2

Azure MLOps (v2) solution accelerators. Enterprise ready templates to deploy your machine learning models on the Azure Platform.
https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment
MIT License
478 stars 225 forks source link

[repo] Depoly Batch Scoring pipeline - Test is failing #22

Closed michalmar closed 1 year ago

michalmar commented 2 years ago

What?

When running deployment of batch inferencing pipeline from template https://github.com/Azure/mlops-templates/blob/main/templates/aml-cli-v2/test-deployment.yml

Part when it is testing the newly created endpoint is failing on missing argument:

https://github.com/Azure/mlops-templates/blob/84aff2f4e13c5bc0b86477118cf5279fac3cfaf9/templates/aml-cli-v2/test-deployment.yml#L7-L19

ERROR: the following arguments are required: --input

by docs the --input is mandatory - maybe recent change (https://docs.microsoft.com/en-us/cli/azure/ml/batch-endpoint?view=azure-cli-latest#az-ml-batch-endpoint-invoke)

setuc commented 1 year ago

@michalmar We have fixed this issue.

See here: https://github.com/Azure/mlops-templates/blob/c49d7839165141d69f3a91e1cdce1e9758d4a2a6/templates/aml-cli-v2/test-deployment.yml