Skip to content

Commit 39317a1

Browse files
Resolve live publish PR issue
1 parent dac6297 commit 39317a1

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

articles/machine-learning/how-to-batch-scoring-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Any library that your scoring script requires to run needs to be indicated in th
9393

9494
__mnist/environment/conda.yml__
9595

96-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist/environment/conda.yml":::
96+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/environment/conda.yml":::
9797

9898
Refer to [Create a batch deployment](how-to-use-batch-endpoint.md#create-a-batch-deployment) for more details about how to indicate the environment for your model.
9999

articles/machine-learning/how-to-use-batch-endpoint.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ A batch endpoint is an HTTPS endpoint that clients can call to trigger a batch s
195195
196196
__mnist-endpoint.yml__
197197
198-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-endpoint.yml":::
198+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/endpoint.yml":::
199199
200200
The following table describes the key properties of the endpoint. For the full batch endpoint YAML schema, see [CLI (v2) batch endpoint YAML schema](./reference-yaml-endpoint-batch.md).
201201
@@ -263,13 +263,13 @@ A deployment is a set of resources required for hosting the model that does the
263263
264264
__mnist/code/batch_driver.py__
265265
266-
:::code language="python" source="~/azureml-examples-main/sdk/python/endpoints/batch/mnist/code/batch_driver.py" :::
266+
:::code language="python" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/code/batch_driver.py" :::
267267
268268
1. Create an environment where your batch deployment will run. Such environment needs to include the packages `azureml-core` and `azureml-dataset-runtime[fuse]`, which are required by batch endpoints, plus any dependency your code requires for running. In this case, the dependencies have been captured in a `conda.yml`:
269269
270270
__mnist/environment/conda.yml__
271271
272-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist/environment/conda.yml":::
272+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/environment/conda.yml":::
273273
274274
> [!IMPORTANT]
275275
> The packages `azureml-core` and `azureml-dataset-runtime[fuse]` are required by batch deployments and should be included in the environment dependencies.
@@ -280,7 +280,7 @@ A deployment is a set of resources required for hosting the model that does the
280280
281281
The environment definition will be included in the deployment definition itself as an anonymous environment. You'll see in the following lines in the deployment:
282282
283-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-torch-deployment.yml" range="10-12":::
283+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/deployment.yml" range="10-12":::
284284
285285
# [Python](#tab/python)
286286
@@ -317,7 +317,7 @@ A deployment is a set of resources required for hosting the model that does the
317317
318318
__mnist-torch-deployment.yml__
319319
320-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-torch-deployment.yml":::
320+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/deployment.yml":::
321321
322322
For the full batch deployment YAML schema, see [CLI (v2) batch deployment YAML schema](./reference-yaml-deployment-batch.md).
323323
@@ -736,21 +736,21 @@ In this example, you'll learn how to add a second deployment __that solves the s
736736

737737
__mnist-keras/environment/conda.yml__
738738

739-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-keras/environment/conda.yml":::
739+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-keras/environment/conda.yml":::
740740

741741
1. Create a scoring script for the model:
742742

743743
__mnist-keras/code/batch_driver.py__
744744

745-
:::code language="python" source="~/azureml-examples-main/sdk/python/endpoints/batch/mnist-keras/code/batch_driver.py" :::
745+
:::code language="python" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-keras/code/batch_driver.py" :::
746746

747747
3. Create a deployment definition
748748

749749
# [Azure CLI](#tab/azure-cli)
750750

751751
__mnist-keras-deployment.yml__
752752

753-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-keras-deployment.yml":::
753+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-keras/deployment.yml":::
754754

755755
# [Python](#tab/python)
756756

articles/machine-learning/reference-yaml-deployment-batch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ Examples are available in the [examples GitHub repository](https://github.com/Az
6060

6161
## YAML: basic (MLflow)
6262

63-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/nyc-taxi-mlflow-deployment.yml":::
63+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/heart-classifier-mlflow/deployment-simple/deployment.yml":::
6464

6565
## YAML: custom model and scoring code
6666

67-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-torch-deployment.yml":::
67+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/deployment-torch/deployment.yml":::
6868

6969
## Next steps
7070

articles/machine-learning/reference-yaml-endpoint-batch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Examples are available in the [examples GitHub repository](https://github.com/Az
4545

4646
## YAML: basic
4747

48-
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/mnist-endpoint.yml":::
48+
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/mnist-classifier/endpoint.yml":::
4949

5050
## Next steps
5151

0 commit comments

Comments
 (0)