Skip to content

Commit d44c850

Browse files
author
Larry Franks
committed
writing
1 parent 48cd012 commit d44c850

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/machine-learning/tutorial-train-deploy-model-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The `examples/cli-train-deploy` directory from the project contains the followin
6363
The repository contains the following files, which are used to deploy the trained model as a web service:
6464

6565
* `aciDeploymentConfig.yml`: A __deployment configuration__ file. This file defines the hosting environment needed for the model.
66-
* `inferenceConfig.yml`: An __inference configuration__ file. This file defines the software environment used by the service to score data with the model.
66+
* `inferenceConfig.json`: An __inference configuration__ file. This file defines the software environment used by the service to score data with the model.
6767
* `score.py`: A python script that accepts incoming data, scores it using the model, and then returns a response.
6868
* `scoring-env.yml`: The conda dependencies needed to run the model and `score.py` script.
6969
* `testdata.json`: A data file that can be used to test the deployed web service.
@@ -196,10 +196,10 @@ The output of this command is similar to the following JSON:
196196
}
197197
```
198198

199-
This command creates a new compute target named `cpu`, with a maximum of four nodes. The VM size selected provides a VM with a GPU resource. For information on the VM size, see [VM types and sizes].
199+
This command creates a new compute target named `cpu-cluster`, with a maximum of four nodes. The VM size selected provides a VM with a GPU resource. For information on the VM size, see [VM types and sizes].
200200

201201
> [!IMPORTANT]
202-
> The name of the compute target (`cpu` in this case), is important; it is referenced by the `.azureml/mnist.runconfig` file used in the next section.
202+
> The name of the compute target (`cpu-cluster` in this case), is important; it is referenced by the `.azureml/mnist.runconfig` file used in the next section.
203203
204204
## Define the dataset
205205

@@ -297,7 +297,7 @@ For more information on run configuration files, see [Set up and use compute tar
297297

298298
## Submit the training run
299299

300-
To start a training run on the `cpu-compute` compute target, use the following command:
300+
To start a training run on the `cpu-cluster` compute target, use the following command:
301301

302302
```azurecli-interactive
303303
az ml run submit-script -c mnist -e myexperiment --source-directory scripts -t runoutput.json
@@ -366,7 +366,7 @@ The first command downloads the registered model to the current directory. The f
366366
To deploy a model, use the following command:
367367

368368
```azurecli-interactive
369-
az ml model deploy -n myservice -m "mymodel:1" --ic inferenceConfig.yml --dc aciDeploymentConfig.yml
369+
az ml model deploy -n myservice -m "mymodel:1" --ic inferenceConfig.json --dc aciDeploymentConfig.yml
370370
```
371371

372372
> [!NOTE]
@@ -446,10 +446,10 @@ This command returns a JSON document that contains the name of the deleted servi
446446

447447
### Delete the training compute
448448

449-
If you plan on continuing to use the Azure Machine Learning workspace, but want to get rid of the `cpu-compute` compute target created for training, use the following command:
449+
If you plan on continuing to use the Azure Machine Learning workspace, but want to get rid of the `cpu-cluster` compute target created for training, use the following command:
450450

451451
```azurecli-interactive
452-
az ml computetarget delete -n cpu
452+
az ml computetarget delete -n cpu-cluster
453453
```
454454

455455
This command returns a JSON document that contains the ID of the deleted compute target. It may take several minutes before the compute target has been deleted.

0 commit comments

Comments
 (0)