diff --git a/pipelines/azurepipeline/code/deploy/deploy.sh b/pipelines/azurepipeline/code/deploy/deploy.sh index 9c6daf5d..6c482ba0 100644 --- a/pipelines/azurepipeline/code/deploy/deploy.sh +++ b/pipelines/azurepipeline/code/deploy/deploy.sh @@ -17,4 +17,4 @@ while getopts "m:n:i:d:s:p:u:r:w:t:b:" option; esac done az login --service-principal --username ${SERVICE_PRINCIPAL_ID} --password ${SERVICE_PRINCIPAL_PASSWORD} -t $TENANT_ID -az ml model deploy -n $MODEL_NAME -m ${MODEL}:26 --ic $INFERENCE_CONFIG --pi ${BASE_PATH}/myprofileresult.json --dc $DEPLOYMENTCONFIG -w $WORKSPACE -g $RESOURCE_GROUP --overwrite -v \ No newline at end of file +az ml model deploy -n $MODEL_NAME -m ${MODEL}:1 --ic $INFERENCE_CONFIG --pi ${BASE_PATH}/myprofileresult.json --dc $DEPLOYMENTCONFIG -w $WORKSPACE -g $RESOURCE_GROUP --overwrite -v \ No newline at end of file diff --git a/pipelines/azurepipeline/code/profile/profile.sh b/pipelines/azurepipeline/code/profile/profile.sh index af8e3f71..15fc4e61 100644 --- a/pipelines/azurepipeline/code/profile/profile.sh +++ b/pipelines/azurepipeline/code/profile/profile.sh @@ -16,6 +16,6 @@ while getopts "m:n:i:d:s:p:u:r:w:t:b:" option; esac done az login --service-principal --username ${SERVICE_PRINCIPAL_ID} --password ${SERVICE_PRINCIPAL_PASSWORD} -t $TENANT_ID -az ml model profile -n $PROFILE_NAME -m ${MODEL}:26 --ic $INFERENCE_CONFIG -d $DATA -t myprofileresult.json -w $WORKSPACE -g $RESOURCE_GROUP +az ml model profile -n $PROFILE_NAME -m ${MODEL}:1 --ic $INFERENCE_CONFIG -d $DATA -t myprofileresult.json -w $WORKSPACE -g $RESOURCE_GROUP mv myprofileresult.json ${BASE_PATH}/myprofileresult.json echo ${BASE_PATH} \ No newline at end of file