Azure / azure-cli

Azure Command-Line Interface
MIT License
4.04k stars 3.01k forks source link

Probelm on deployment multi-model to the same endpoint #25433

Closed philiphaddad97 closed 1 year ago

philiphaddad97 commented 1 year ago

Related command

az ml model deploy -g rg_name -w ws_name -model -m ['svm:29','xgboost:27','rf:27'] -n endpoint --dc aci_deployment_config_staging.yml --ic inference_config.yml --overwrite

As it's described in the documentation:

--model -m
The ID of the model to be deployed. Multiple models can be specified with additional -m arguments. Models need to be registered first.
default value: []

Error Message

argument --model/-m: expected one argument

Environment summary azure-cli version: 2.45.0

yonzhan commented 1 year ago

route to CXP team

philiphaddad97 commented 1 year ago

I noticed later that the correct way to pass the models should be:

az ml model deploy -g rg_name -w cjttto_test_ws -m svm:29 -m xgboost:27 -m rf:27 -n endpoint5 --dc aci_deployment_config_staging.yml --ic inference_config.yml --overwrite

I still have an issue but maybe it's not related to the models.