Skip to content

Commit 908f912

Browse files
Merge pull request #4100 from santiagxf/santiagxf-patch-1
Update cli.md
2 parents 1bd6c8a + 5ad20b1 commit 908f912

File tree

1 file changed

+4
-6
lines changed
  • articles/ai-foundry/model-inference/includes/create-model-deployments

1 file changed

+4
-6
lines changed

articles/ai-foundry/model-inference/includes/create-model-deployments/cli.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ To add a model, you first need to identify the model that you want to deploy. Yo
4848
```azurecli
4949
accountName="<ai-services-resource-name>"
5050
resourceGroupName="<resource-group>"
51+
location="eastus2"
5152
```
5253
5354
3. If you don't have an Azure AI Services account create yet, you can create one as follows:
5455
5556
```azurecli
56-
az cognitiveservices account create -n $accountName -g $resourceGroupName --custom-domain $accountName
57+
az cognitiveservices account create -n $accountName -g $resourceGroupName --custom-domain $accountName --location $location --kind AIServices --sku S0
5758
```
5859
59-
4. Let's see first which models are available to you and under which SKU. The following command list all the model definitions available:
60+
4. Let's see first which models are available to you and under which SKU. SKUs, also known as [deployment types](../../concepts/deployment-types.md), define how Azure infrastructure is used to process requests. Models may offer different deployment types. The following command list all the model definitions available:
6061
6162
```azurecli
6263
az cognitiveservices account list-models \
@@ -77,10 +78,7 @@ To add a model, you first need to identify the model that you want to deploy. Yo
7778
}
7879
```
7980
80-
6. Identify the model you want to deploy. You need the properties `name`, `format`, `version`, and `sku`. Capacity might also be needed depending on the type of deployment.
81-
82-
> [!TIP]
83-
> Notice that not all the models are available in all the SKUs.
81+
6. Identify the model you want to deploy. You need the properties `name`, `format`, `version`, and `sku`. The property `format` indicates the provider offering the model. Capacity might also be needed depending on the type of deployment.
8482
8583
7. Add the model deployment to the resource. The following example adds `Phi-3.5-vision-instruct`:
8684

0 commit comments

Comments
 (0)