Skip to content

Commit 271911f

Browse files
authored
Merge pull request #109210 from Blackmist/freshness
Freshness
2 parents f39f07a + 375321b commit 271911f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services: machine-learning
88
ms.service: machine-learning
99
ms.subservice: core
1010
ms.topic: conceptual
11-
ms.date: 01/08/2019
11+
ms.date: 03/26/2020
1212
---
1313

1414
# Tutorial: Train and deploy a model from the CLI
@@ -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.
@@ -198,10 +198,10 @@ The output of this command is similar to the following JSON:
198198
}
199199
```
200200

201-
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].
201+
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].
202202

203203
> [!IMPORTANT]
204-
> 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.
204+
> 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.
205205
206206
## Define the dataset
207207

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

300300
## Submit the training run
301301

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

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

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

374374
> [!NOTE]
@@ -448,10 +448,10 @@ This command returns a JSON document that contains the name of the deleted servi
448448

449449
### Delete the training compute
450450

451-
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:
451+
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:
452452

453453
```azurecli-interactive
454-
az ml computetarget delete -n cpu
454+
az ml computetarget delete -n cpu-cluster
455455
```
456456

457457
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)