Skip to content

Commit e5e2119

Browse files
committed
Update notebooks for custom-output-batch and mnist-batch
1 parent e44927a commit e5e2119

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet/custom-output-batch.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"* `lightgbm==1.5.2`\n",
3030
"* `numpy`\n",
3131
"* `pandas`\n",
32-
"* `pyarrow`"
32+
"* `pyarrow`\n",
33+
"* `azure`"
3334
]
3435
},
3536
{
@@ -477,7 +478,7 @@
477478
"environment = Environment(\n",
478479
" name=\"batch-mlflow-xgboost\",\n",
479480
" conda_file=\"environment/conda.yaml\",\n",
480-
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest\",\n",
481+
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:latest\",\n",
481482
")"
482483
]
483484
},

sdk/python/endpoints/batch/deploy-models/mnist-classifier/mnist-batch.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
"env = Environment(\n",
407407
" name=\"batch-torch-py38\",\n",
408408
" conda_file=\"deployment-torch/environment/conda.yaml\",\n",
409-
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:latest\",\n",
409+
" image=\"mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:latest\",\n",
410410
")"
411411
]
412412
},
@@ -576,7 +576,7 @@
576576
" endpoint_name=endpoint_name,\n",
577577
" deployment_name=deployment.name,\n",
578578
" input=Input(\n",
579-
" path=\"https://azuremlexampledata.blob.core.windows.net/data/mnist/sample/\",\n",
579+
" path=\"https://azuremldata2.blob.core.windows.net/data/mnist/sample/\",\n",
580580
" type=AssetTypes.URI_FOLDER,\n",
581581
" ),\n",
582582
")"
@@ -770,7 +770,7 @@
770770
"job = ml_client.batch_endpoints.invoke(\n",
771771
" endpoint_name=endpoint_name,\n",
772772
" input=Input(\n",
773-
" path=\"https://azuremlexampledata.blob.core.windows.net/data/mnist/sample/\",\n",
773+
" path=\"https://azuremldata2.blob.core.windows.net/data/mnist/sample/\",\n",
774774
" type=AssetTypes.URI_FOLDER,\n",
775775
" ),\n",
776776
" params_override=[\n",
@@ -802,7 +802,7 @@
802802
"job = ml_client.batch_endpoints.invoke(\n",
803803
" endpoint_name=endpoint_name,\n",
804804
" input=Input(\n",
805-
" path=\"https://azuremlexampledata.blob.core.windows.net/data/mnist/sample/\"\n",
805+
" path=\"https://azuremldata2.blob.core.windows.net/data/mnist/sample/\"\n",
806806
" ),\n",
807807
" params_override=[{\"mini_batch_size\": \"20\"}, {\"compute.instance_count\": \"5\"}],\n",
808808
")"

0 commit comments

Comments
 (0)