Skip to content

Commit 0e17b33

Browse files
committed
update samples from Release-173 as a part of SDK release
1 parent 34d80ab commit 0e17b33

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

how-to-use-azureml/deployment/deploy-multi-model/multi-model-register-and-deploy.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
"\n",
240240
"env = Environment(\"deploytocloudenv\")\n",
241241
"env.python.conda_dependencies.add_pip_package(\"joblib\")\n",
242-
"env.python.conda_dependencies.add_pip_package(\"numpy\")\n",
242+
"env.python.conda_dependencies.add_pip_package(\"numpy==1.23\")\n",
243243
"env.python.conda_dependencies.add_pip_package(\"scikit-learn=={}\".format(sklearn.__version__))"
244244
]
245245
},

how-to-use-azureml/deployment/deploy-to-cloud/model-register-and-deploy.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
" 'azureml-defaults',\n",
286286
" 'inference-schema[numpy-support]',\n",
287287
" 'joblib',\n",
288-
" 'numpy',\n",
288+
" 'numpy==1.23',\n",
289289
" 'scikit-learn=={}'.format(sklearn.__version__)\n",
290290
"])"
291291
]
@@ -486,7 +486,7 @@
486486
" 'azureml-defaults',\n",
487487
" 'inference-schema[numpy-support]',\n",
488488
" 'joblib',\n",
489-
" 'numpy',\n",
489+
" 'numpy==1.23',\n",
490490
" 'scikit-learn=={}'.format(sklearn.__version__)\n",
491491
"])\n",
492492
"inference_config = InferenceConfig(entry_script='score.py', environment=environment)\n",

how-to-use-azureml/deployment/deploy-with-controlled-rollout/deploy-aks-with-controlled-rollout.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
" pip_packages=[\n",
111111
" 'azureml-defaults',\n",
112112
" 'inference-schema[numpy-support]',\n",
113-
" 'numpy',\n",
113+
" 'numpy==1.23',\n",
114114
" 'scikit-learn==0.22.1',\n",
115115
" 'scipy'\n",
116116
"])"

how-to-use-azureml/work-with-data/datasets-tutorial/pipeline-with-datasets/pipeline-for-image-classification.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
" - azureml-dataset-runtime\n",
278278
" - keras==2.6\n",
279279
" - tensorflow-gpu==2.6\n",
280-
" - numpy\n",
280+
" - numpy==1.23\n",
281281
" - scikit-learn\n",
282282
" - pandas\n",
283283
" - matplotlib\n",

tutorials/image-classification-mnist-data/img-classification-part1-training.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
"\n",
432432
"# to install required packages\n",
433433
"env = Environment('tutorial-env')\n",
434-
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults'], conda_packages = ['scikit-learn==0.22.1'])\n",
434+
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults'], conda_packages = ['scikit-learn==0.22.1', 'numpy==1.23'])\n",
435435
"\n",
436436
"env.python.conda_dependencies = cd\n",
437437
"\n",

tutorials/image-classification-mnist-data/img-classification-part3-deploy-encrypted.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"\n",
8383
"# to install required packages\n",
8484
"env = Environment('tutorial-encryption-env')\n",
85-
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults', 'azure-storage-blob', 'encrypted-inference==0.9'], conda_packages = ['scikit-learn==0.22.1'])\n",
85+
"cd = CondaDependencies.create(pip_packages=['azureml-dataset-runtime[pandas,fuse]', 'azureml-defaults', 'azure-storage-blob', 'encrypted-inference==0.9'], conda_packages = ['scikit-learn==0.22.1', 'numpy==1.23'])\n",
8686
"\n",
8787
"env.python.conda_dependencies = cd\n",
8888
"\n",

0 commit comments

Comments
 (0)