Compare commits

..

1 Commits

Author SHA1 Message Date
amlrelsa-ms
84af0c482f update samples from Release-126 as a part of 1.39.0 SDK stable release 2022-02-28 16:51:54 +00:00
5 changed files with 25 additions and 17 deletions

View File

@@ -7,23 +7,26 @@ dependencies:
# The python interpreter version.
# Currently Azure ML only supports 3.6.0 and later.
- pip==20.2.4
- python>=3.6,<3.9
- python>=3.6,<3.8
- boto3==1.20.19
- botocore<=1.23.19
- matplotlib==3.3.4
- py-xgboost==1.3.3
- pytorch::pytorch=1.4.0
- numpy==1.18.5
- cython==0.29.14
- urllib3==1.26.7
- scipy>=1.4.1,<=1.5.2
- scikit-learn==0.22.1
- py-xgboost<=1.3.3
- holidays==0.10.3
- conda-forge::fbprophet==0.7.1
- pytorch::pytorch=1.4.0
- cudatoolkit=10.1.243
- tqdm==4.62.3
- notebook
- pywin32==225
- PySocks==1.7.1
- conda-forge::pyqt==5.12.3
- pip:
# Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.39.0
- pytorch-transformers==1.0.0
- spacy==2.2.4
- spacy==2.1.8
- pystan==2.19.1.1
- 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.39.0/validated_win32_requirements.txt [--no-deps]

View File

@@ -7,11 +7,11 @@ dependencies:
# The python interpreter version.
# Currently Azure ML only supports 3.6.0 and later.
- pip==20.2.4
- python>=3.6,<3.9
- python>=3.6,<3.8
- boto3==1.20.19
- botocore<=1.23.19
- matplotlib==3.3.4
- numpy==1.19.5
- numpy==1.18.5
- cython==0.29.14
- urllib3==1.26.7
- scipy>=1.4.1,<=1.5.2
@@ -26,7 +26,7 @@ dependencies:
# Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.39.0
- pytorch-transformers==1.0.0
- spacy==2.2.4
- spacy==2.1.8
- pystan==2.19.1.1
- 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.39.0/validated_linux_requirements.txt [--no-deps]

View File

@@ -8,11 +8,11 @@ dependencies:
# Currently Azure ML only supports 3.6.0 and later.
- pip==20.2.4
- nomkl
- python>=3.6,<3.9
- python>=3.6,<3.8
- boto3==1.20.19
- botocore<=1.23.19
- matplotlib==3.3.4
- numpy==1.19.5
- numpy==1.18.5
- cython==0.29.14
- urllib3==1.26.7
- scipy>=1.4.1,<=1.5.2
@@ -27,7 +27,7 @@ dependencies:
# Required packages for AzureML execution, history, and data preparation.
- azureml-widgets~=1.39.0
- pytorch-transformers==1.0.0
- spacy==2.2.4
- spacy==2.1.8
- pystan==2.19.1.1
- 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.39.0/validated_darwin_requirements.txt [--no-deps]

View File

@@ -105,8 +105,13 @@ def run_inference(
train_run.download_file(
"outputs/{}".format(model_base_name), "inference/{}".format(model_base_name)
)
train_run.download_file("outputs/conda_env_v_1_0_0.yml", "inference/condafile.yml")
inference_env = train_run.get_environment()
inference_env = Environment("myenv")
inference_env.docker.enabled = True
inference_env.python.conda_dependencies = CondaDependencies(
conda_dependencies_file_path="inference/condafile.yml"
)
est = Estimator(
source_directory=script_folder,

View File

@@ -26,6 +26,6 @@ RUN conda install -y conda=4.7.12 python=3.7 && conda clean -ay && \
ray[rllib,dashboard,tune]==0.8.3 \
psutil \
setproctitle \
gym[classic_control]==0.22.0 && \
gym[classic_control] && \
conda install -y -c conda-forge x264='1!152.20180717' ffmpeg=4.0.2 && \
conda install -c anaconda opencv