From 8a581949b57482fa4ad001143fff65fcf3b4e8b0 Mon Sep 17 00:00:00 2001 From: SeokJin Han <4353157+dem108@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:31:42 -0700 Subject: [PATCH 1/2] update deployment creation parameters --- cli/deploy-rest.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/deploy-rest.sh b/cli/deploy-rest.sh index 9d8f1ceaa52..b9d3d7a7d9f 100755 --- a/cli/deploy-rest.sh +++ b/cli/deploy-rest.sh @@ -135,13 +135,11 @@ response=$(curl --location --request PUT "https://management.azure.com/subscript \"location\": \"$LOCATION\", \"sku\": { \"capacity\": 1, - \"name\": \"Standard_DS2_v2\" + \"name\": \"default\" }, \"properties\": { \"endpointComputeType\": \"Managed\", - \"scaleSettings\": { - \"scaleType\": \"Default\" - }, + \"instanceType\": \"Standard_DS3_v2\" \"model\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/models/sklearn/versions/1\", \"codeConfiguration\": { \"codeId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/codes/score-sklearn/versions/1\", From d9432287d630396ddf451482730a446783344497 Mon Sep 17 00:00:00 2001 From: SeokJin Han <4353157+dem108@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:39:25 -0700 Subject: [PATCH 2/2] fix typo --- cli/deploy-rest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/deploy-rest.sh b/cli/deploy-rest.sh index b9d3d7a7d9f..6303f71e5cb 100755 --- a/cli/deploy-rest.sh +++ b/cli/deploy-rest.sh @@ -139,7 +139,7 @@ response=$(curl --location --request PUT "https://management.azure.com/subscript }, \"properties\": { \"endpointComputeType\": \"Managed\", - \"instanceType\": \"Standard_DS3_v2\" + \"instanceType\": \"Standard_DS3_v2\", \"model\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/models/sklearn/versions/1\", \"codeConfiguration\": { \"codeId\": \"/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RESOURCE_GROUP/providers/Microsoft.MachineLearningServices/workspaces/$WORKSPACE/codes/score-sklearn/versions/1\",