update samples from Release-143 as a part of SDK release

This commit is contained in:
amlrelsa-ms
2022-06-01 17:26:59 +00:00
parent 2e45d9800d
commit cf1d1dbf01
8 changed files with 14 additions and 7 deletions

View File

@@ -519,6 +519,10 @@
"\n", "\n",
"conda_run_config.environment.python.conda_dependencies.add_pip_package(\n", "conda_run_config.environment.python.conda_dependencies.add_pip_package(\n",
" \"dotnetcore2==2.1.23\"\n", " \"dotnetcore2==2.1.23\"\n",
")\n",
"\n",
"conda_run_config.environment.python.conda_dependencies.add_pip_package(\n",
" \"protobuf==3.20.1\"\n",
")" ")"
] ]
}, },
@@ -662,7 +666,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"conda_dep = automl_run.get_environment().python.conda_dependencies\n", "conda_dep = conda_run_config.environment.python.conda_dependencies\n",
"\n", "\n",
"with open(\"myenv.yml\", \"w\") as f:\n", "with open(\"myenv.yml\", \"w\") as f:\n",
" f.write(conda_dep.serialize_to_string())\n", " f.write(conda_dep.serialize_to_string())\n",

View File

@@ -37,8 +37,7 @@ RUN pip install gym[atari]==0.19.0
RUN pip install gym[accept-rom-license]==0.19.0 RUN pip install gym[accept-rom-license]==0.19.0
# Install pip dependencies # Install pip dependencies
RUN HOROVOD_WITH_TENSORFLOW=1 \ RUN pip install 'matplotlib>=3.3,<3.4' \
pip install 'matplotlib>=3.3,<3.4' \
'psutil>=5.8,<5.9' \ 'psutil>=5.8,<5.9' \
'tqdm>=4.59,<4.60' \ 'tqdm>=4.59,<4.60' \
'pandas>=1.1,<1.2' \ 'pandas>=1.1,<1.2' \

View File

@@ -97,7 +97,7 @@
"import azureml.core\n", "import azureml.core\n",
"\n", "\n",
"# Check core SDK version number\n", "# Check core SDK version number\n",
"print(\"Azure Machine Learning SDK version: \", azureml.core.VERSION)" "print(\"Azure Machine Learning SDK Version: \", azureml.core.VERSION)"
] ]
}, },
{ {

View File

@@ -90,7 +90,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"import azureml.core\n", "import azureml.core\n",
"print(\"Azure Machine Learning SDK version:\", azureml.core.VERSION)" "print(\"Azure Machine Learning SDK Version:\", azureml.core.VERSION)"
] ]
}, },
{ {

View File

@@ -91,7 +91,7 @@
"source": [ "source": [
"import azureml.core\n", "import azureml.core\n",
"\n", "\n",
"print(\"Azure Machine Learning SDK version:\", azureml.core.VERSION)" "print(\"Azure Machine Learning SDK Version:\", azureml.core.VERSION)"
] ]
}, },
{ {

View File

@@ -30,5 +30,7 @@ RUN pip install ray-on-aml==0.1.6 & \
conda install -y -c conda-forge x264='1!152.20180717' ffmpeg=4.0.2 && \ conda install -y -c conda-forge x264='1!152.20180717' ffmpeg=4.0.2 && \
conda install -c anaconda opencv conda install -c anaconda opencv
RUN pip install protobuf==3.20.0
RUN pip install --upgrade ray==0.8.3 \ RUN pip install --upgrade ray==0.8.3 \
ray[rllib,dashboard,tune]==0.8.3 ray[rllib,dashboard,tune]==0.8.3

View File

@@ -28,6 +28,8 @@ RUN cd multiagent-particle-envs && \
RUN pip3 install ray-on-aml==0.1.6 RUN pip3 install ray-on-aml==0.1.6
RUN pip install protobuf==3.20.0
RUN pip3 install --upgrade \ RUN pip3 install --upgrade \
ray==0.8.7 \ ray==0.8.7 \
ray[rllib]==0.8.7 \ ray[rllib]==0.8.7 \

View File

@@ -85,7 +85,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"import azureml.core\n", "import azureml.core\n",
"print('Azure Machine Learning SDK version: ', azureml.core.VERSION)" "print('Azure Machine Learning SDK Version: ', azureml.core.VERSION)"
] ]
}, },
{ {