Skip to content

Commit

Permalink
[Pipeline] Update deprecated image (#2980)
Browse files Browse the repository at this point in the history
* Fix deprecated images

Signed-off-by: Brynn Yin <[email protected]>
  • Loading branch information
brynn-code authored Feb 4, 2024
1 parent 7b222c7 commit 42418cd
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions cli/jobs/pipelines/cifar-10/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
model_dir:
type: uri_folder
mode: upload
environment: azureml:acpt-pytorch-1.13-cuda11.7:27
environment: azureml:AzureML-pytorch-1.9-ubuntu18.04-py37-cuda11-gpu@latest
compute: azureml:gpu-cluster
distribution:
type: pytorch
Expand All @@ -47,7 +47,7 @@ jobs:
--data-dir ${{inputs.cifar}}
--model-dir ${{inputs.model_dir}}/model
code: src/eval-model
environment: azureml:acpt-pytorch-1.13-cuda11.7:27
environment: azureml:AzureML-pytorch-1.9-ubuntu18.04-py37-cuda11-gpu@latest
compute: azureml:gpu-cluster
distribution:
type: pytorch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM rocker/tidyverse:4.0.0-ubuntu18.04

# Install python
RUN apt-get update -qq && \
apt-get install -y python3-pip tcl tk libz-dev libpng-dev
apt-get install -y python3-pip tcl tk libz-dev libpng-dev curl

RUN ln -f /usr/bin/python3 /usr/bin/python
RUN ln -f /usr/bin/pip3 /usr/bin/pip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"download_url = \"https://azuremlexamples.blob.core.windows.net/datasets/iris.csv\"\n",
"file_name = \"data.csv\"\n",
"custom_path = \"azureml://datastores/workspaceblobstore/paths/custom_path/${{name}}/\"\n",
"environment = \"azureml:azureml-sklearn-1.0@latest\"\n",
"environment = Environment(build=BuildContext(path=\"docker_context\"))\n",
"# 1. Create a command component to download a input data\n",
"download_data = command(\n",
" name=\"download-input\",\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.jso
type: command

name: score_data
version: 0.0.2
version: 0.0.3
display_name: Score Data
description: A dummy scoring component

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
" code=\"./src\",\n",
" entry_script=\"file_batch_inference.py\",\n",
" program_arguments=\"--job_output_path ${{outputs.job_output_path}}\",\n",
" environment=\"azureml:azureml-sklearn-1.0@latest\",\n",
" environment=\"azureml:azureml-sklearn-1.0:23\",\n",
" ),\n",
")"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: command

name: prepare_file_tabular_data
display_name: Prepare File Tabular Data
version: 1
version: 2

inputs:
input_data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"show_output_component = command(\n",
" inputs=dict(spark_output=Input(type=AssetTypes.URI_FOLDER)),\n",
" command=\"ls ${{inputs.spark_output}}\",\n",
" environment=\"azureml:azureml-sklearn-1.0@latest\",\n",
" environment=\"azureml:azureml-sklearn-1.0:23\",\n",
")"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ distribution:
process_count_per_instance: 1
resources:
instance_count: 2
environment: azureml:acpt-pytorch-1.13-cuda11.7:27
environment: azureml:AzureML-pytorch-1.9-ubuntu18.04-py37-cuda11-gpu@latest
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ distribution:
process_count_per_instance: 1
resources:
instance_count: 2
environment: azureml:acpt-pytorch-1.13-cuda11.7:27
environment: azureml:AzureML-pytorch-1.9-ubuntu18.04-py37-cuda11-gpu@latest

0 comments on commit 42418cd

Please sign in to comment.