Compare commits

...

4 Commits

Author SHA1 Message Date
amlrelsa-ms
7f7f0040fd update samples from Release-157 as a part of SDK release 2022-09-06 23:16:24 +00:00
Harneet Virk
9ca567cd9c Merge pull request #1802 from Azure/release_update/Release-156
update samples from Release-156 as a part of  SDK release
2022-08-18 17:23:55 -07:00
amlrelsa-ms
ae7b234ba0 update samples from Release-156 as a part of SDK release 2022-08-18 23:57:09 +00:00
Harneet Virk
9788d1965f Merge pull request #1799 from Azure/release_update/Release-155
update samples from Release-155 as a part of  SDK release
2022-08-12 14:18:11 -07:00
27 changed files with 48 additions and 32 deletions

View File

@@ -103,7 +103,7 @@
"source": [ "source": [
"import azureml.core\n", "import azureml.core\n",
"\n", "\n",
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -6,7 +6,7 @@ dependencies:
- fairlearn>=0.6.2 - fairlearn>=0.6.2
- joblib - joblib
- liac-arff - liac-arff
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0
- protobuf==3.20.0 - protobuf==3.20.0

View File

@@ -6,7 +6,7 @@ dependencies:
- fairlearn>=0.6.2 - fairlearn>=0.6.2
- joblib - joblib
- liac-arff - liac-arff
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0
- protobuf==3.20.0 - protobuf==3.20.0

View File

@@ -18,15 +18,18 @@ dependencies:
- pywin32==227 - pywin32==227
- PySocks==1.7.1 - PySocks==1.7.1
- conda-forge::pyqt==5.12.3 - conda-forge::pyqt==5.12.3
- jsonschema==4.9.1 - jinja2<=2.11.2
- markupsafe<2.1.0
- tqdm==4.64.0
- pip: - pip:
# Required packages for AzureML execution, history, and data preparation. # Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.44.0 - azureml-widgets~=1.45.0
- azureml-defaults~=1.45.0
- pytorch-transformers==1.0.0 - pytorch-transformers==1.0.0
- spacy==2.2.4 - spacy==2.2.4
- pystan==2.19.1.1 - pystan==2.19.1.1
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.44.0/validated_win32_requirements.txt [--no-deps] - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_win32_requirements.txt [--no-deps]
- arch==4.14 - arch==4.14
- wasabi==0.9.1 - wasabi==0.9.1

View File

@@ -21,13 +21,16 @@ dependencies:
- conda-forge::fbprophet==0.7.1 - conda-forge::fbprophet==0.7.1
- pytorch::pytorch=1.4.0 - pytorch::pytorch=1.4.0
- cudatoolkit=10.1.243 - cudatoolkit=10.1.243
- jinja2<=2.11.2
- markupsafe<2.1.0
- pip: - pip:
# Required packages for AzureML execution, history, and data preparation. # Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.44.0 - azureml-widgets~=1.45.0
- azureml-defaults~=1.45.0
- pytorch-transformers==1.0.0 - pytorch-transformers==1.0.0
- spacy==2.2.4 - spacy==2.2.4
- pystan==2.19.1.1 - pystan==2.19.1.1
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.44.0/validated_linux_requirements.txt [--no-deps] - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_linux_requirements.txt [--no-deps]
- arch==4.14 - arch==4.14

View File

@@ -22,13 +22,16 @@ dependencies:
- conda-forge::fbprophet==0.7.1 - conda-forge::fbprophet==0.7.1
- pytorch::pytorch=1.4.0 - pytorch::pytorch=1.4.0
- cudatoolkit=9.0 - cudatoolkit=9.0
- jinja2<=2.11.2
- markupsafe<2.1.0
- pip: - pip:
# Required packages for AzureML execution, history, and data preparation. # Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.44.0 - azureml-widgets~=1.45.0
- azureml-defaults~=1.45.0
- pytorch-transformers==1.0.0 - pytorch-transformers==1.0.0
- spacy==2.2.4 - spacy==2.2.4
- pystan==2.19.1.1 - pystan==2.19.1.1
- https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz - https://aka.ms/automl-resources/packages/en_core_web_sm-2.1.0.tar.gz
- -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.44.0/validated_darwin_requirements.txt [--no-deps] - -r https://automlsdkdataresources.blob.core.windows.net/validated-requirements/1.45.0/validated_darwin_requirements.txt [--no-deps]
- arch==4.14 - arch==4.14

View File

@@ -97,7 +97,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -97,7 +97,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -3,7 +3,7 @@ dependencies:
# The python interpreter version. # The python interpreter version.
# Currently Azure ML only supports 3.6.0 and later. # Currently Azure ML only supports 3.6.0 and later.
- pip<=20.2.4 - pip<=20.2.4
- python>=3.6.0,<3.9 - python>=3.6.0,<3.10
- cython==0.29.14 - cython==0.29.14
- urllib3==1.26.7 - urllib3==1.26.7
- PyJWT < 2.0.0 - PyJWT < 2.0.0
@@ -18,4 +18,6 @@ dependencies:
- azureml-defaults - azureml-defaults
- azureml-sdk - azureml-sdk
- azureml-widgets - azureml-widgets
- azureml-mlflow
- pandas - pandas
- mlflow

View File

@@ -7,7 +7,7 @@ dependencies:
# Currently Azure ML only supports 3.6.0 and later. # Currently Azure ML only supports 3.6.0 and later.
- pip<=20.2.4 - pip<=20.2.4
- nomkl - nomkl
- python>=3.6.0,<3.9 - python>=3.6.0,<3.10
- urllib3==1.26.7 - urllib3==1.26.7
- PyJWT < 2.0.0 - PyJWT < 2.0.0
- numpy>=1.21.6,<=1.22.3 - numpy>=1.21.6,<=1.22.3
@@ -20,4 +20,6 @@ dependencies:
- azureml-defaults - azureml-defaults
- azureml-sdk - azureml-sdk
- azureml-widgets - azureml-widgets
- azureml-mlflow
- pandas - pandas
- mlflow

View File

@@ -92,7 +92,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -91,7 +91,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -106,7 +106,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },
@@ -237,12 +237,16 @@
"import pkg_resources\n", "import pkg_resources\n",
"available_packages = pkg_resources.working_set\n", "available_packages = pkg_resources.working_set\n",
"pandas_ver = None\n", "pandas_ver = None\n",
"numpy_ver = None\n",
"for dist in list(available_packages):\n", "for dist in list(available_packages):\n",
" if dist.key == 'pandas':\n", " if dist.key == 'pandas':\n",
" pandas_ver = dist.version\n", " pandas_ver = dist.version\n",
"pandas_dep = 'pandas'\n", "pandas_dep = 'pandas'\n",
"numpy_dep = 'numpy'\n",
"if pandas_ver:\n", "if pandas_ver:\n",
" pandas_dep = 'pandas=={}'.format(pandas_ver)\n", " pandas_dep = 'pandas=={}'.format(pandas_ver)\n",
"if numpy_ver:\n",
" numpy_dep = 'numpy=={}'.format(numpy_ver)\n",
"\n", "\n",
"# Note: we build shap at commit 690245 for Tesla K80 GPUs\n", "# Note: we build shap at commit 690245 for Tesla K80 GPUs\n",
"env.docker.base_dockerfile = f\"\"\"\n", "env.docker.base_dockerfile = f\"\"\"\n",
@@ -282,7 +286,7 @@
"pip uninstall -y xgboost && \\\n", "pip uninstall -y xgboost && \\\n",
"conda install py-xgboost==1.3.3 && \\\n", "conda install py-xgboost==1.3.3 && \\\n",
"pip uninstall -y numpy && \\\n", "pip uninstall -y numpy && \\\n",
"conda install numpy==1.20.3 \\\n", "conda install {numpy_dep} \\\n",
"\"\"\"\n", "\"\"\"\n",
"\n", "\n",
"env.python.user_managed_dependencies = True\n", "env.python.user_managed_dependencies = True\n",

View File

@@ -11,7 +11,7 @@ dependencies:
- ipython - ipython
- matplotlib - matplotlib
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0
- scipy>=1.5.3 - scipy>=1.5.3

View File

@@ -11,7 +11,7 @@ dependencies:
- matplotlib - matplotlib
- azureml-dataset-runtime - azureml-dataset-runtime
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0
- scipy>=1.5.3 - scipy>=1.5.3

View File

@@ -10,7 +10,7 @@ dependencies:
- ipython - ipython
- matplotlib - matplotlib
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- packaging>=20.9 - packaging>=20.9
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0

View File

@@ -10,7 +10,7 @@ dependencies:
- ipython - ipython
- matplotlib - matplotlib
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- packaging>=20.9 - packaging>=20.9
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0

View File

@@ -12,7 +12,7 @@ dependencies:
- azureml-dataset-runtime - azureml-dataset-runtime
- azureml-core - azureml-core
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- itsdangerous==2.0.1 - itsdangerous==2.0.1
- markupsafe<2.1.0 - markupsafe<2.1.0
- scipy>=1.5.3 - scipy>=1.5.3

View File

@@ -4,7 +4,7 @@ import os
import numpy as np import numpy as np
from utils import download_mnist from datautils import download_mnist
import chainer import chainer
from chainer import backend from chainer import backend

View File

@@ -2,7 +2,7 @@ import numpy as np
import os import os
import json import json
from utils import download_mnist from datautils import download_mnist
from chainer import serializers, using_config, Variable, datasets from chainer import serializers, using_config, Variable, datasets
import chainer.functions as F import chainer.functions as F

View File

@@ -210,7 +210,7 @@
"\n", "\n",
"shutil.copy('chainer_mnist.py', project_folder)\n", "shutil.copy('chainer_mnist.py', project_folder)\n",
"shutil.copy('chainer_score.py', project_folder)\n", "shutil.copy('chainer_score.py', project_folder)\n",
"shutil.copy('utils.py', project_folder)" "shutil.copy('datautils.py', project_folder)"
] ]
}, },
{ {

View File

@@ -283,7 +283,7 @@
"\n", "\n",
"# Specify a GPU base image\n", "# Specify a GPU base image\n",
"pytorch_env.docker.enabled = True\n", "pytorch_env.docker.enabled = True\n",
"pytorch_env.docker.base_image = 'mcr.microsoft.com/azureml/openmpi3.1.2-cuda10.1-cudnn7-ubuntu18.04'" "pytorch_env.docker.base_image = 'mcr.microsoft.com/azureml/openmpi4.1.0-cuda11.1-cudnn8-ubuntu18.04'"
] ]
}, },
{ {

View File

@@ -8,7 +8,7 @@ dependencies:
- matplotlib - matplotlib
- azureml-dataset-runtime - azureml-dataset-runtime
- ipywidgets - ipywidgets
- raiwidgets~=0.19.0 - raiwidgets~=0.21.0
- liac-arff - liac-arff
- packaging>=20.9 - packaging>=20.9
- itsdangerous==2.0.1 - itsdangerous==2.0.1

View File

@@ -101,7 +101,7 @@
"\n", "\n",
"# Check core SDK version number\n", "# Check core SDK version number\n",
"\n", "\n",
"print(\"This notebook was created using SDK version 1.44.0, you are currently running version\", azureml.core.VERSION)" "print(\"This notebook was created using SDK version 1.45.0, you are currently running version\", azureml.core.VERSION)"
] ]
}, },
{ {

View File

@@ -102,7 +102,7 @@
"source": [ "source": [
"import azureml.core\n", "import azureml.core\n",
"\n", "\n",
"print(\"This notebook was created using version 1.44.0 of the Azure ML SDK\")\n", "print(\"This notebook was created using version 1.45.0 of the Azure ML SDK\")\n",
"print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")" "print(\"You are currently using version\", azureml.core.VERSION, \"of the Azure ML SDK\")"
] ]
}, },

View File

@@ -151,8 +151,7 @@
"# use a curated environment that has already been built for you\n", "# use a curated environment that has already been built for you\n",
"\n", "\n",
"env = Environment.get(workspace=ws, \n", "env = Environment.get(workspace=ws, \n",
" name=\"AzureML-Scikit-learn0.24-Cuda11-OpenMpi4.1.0-py36\", \n", " name=\"AzureML-sklearn-0.24-ubuntu18.04-py37-cpu\")"
" version=1)"
] ]
}, },
{ {