Skip to content

Commit

Permalink
Updated curated environment to sklearn-1.5 (#3292)
Browse files Browse the repository at this point in the history
* Updated curated environment to sklearn-1.5
  • Loading branch information
jeff-shepherd authored Jul 18, 2024
1 parent 68f6976 commit ae0a751
Show file tree
Hide file tree
Showing 26 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-data-uri-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ inputs:
type: uri_folder
path: azureml:local-folder-example@latest
mode: ro_mount
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ inputs:
type: uri_folder
path: azureml:sampledata@latest
mode: ro_mount
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-interactive.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandJob.schema.json
command: python hello-interactive.py && sleep 600
code: src
environment: azureml:AzureML-tensorflow-2.12-cuda11@latest
environment: azureml:AzureML-tensorflow-2.16-cuda11@latest

services:
my_vscode:
Expand Down
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-iris-datastore-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ inputs:
iris_csv:
type: uri_file
path: azureml://datastores/workspaceblobstore/paths/example-data/iris.csv
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-iris-datastore-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ inputs:
data_dir:
type: uri_folder
path: azureml://datastores/workspaceblobstore/paths/example-data/
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-iris-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ inputs:
iris_csv:
type: uri_file
path: https://azuremlexamples.blob.core.windows.net/datasets/iris.csv
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-iris-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ inputs:
data_dir:
type: uri_folder
path: wasbs://[email protected]/
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-iris-literal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ code: src
inputs:
type: uri_file
iris_csv: https://azuremlexamples.blob.core.windows.net/datasets/iris.csv
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-mlflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandJob.schema.json
command: python hello-mlflow.py
code: src
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-model-as-input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ inputs:
my_model:
type: mlflow_model # List of all model types here: https://learn.microsoft.com/azure/machine-learning/reference-yaml-model#yaml-syntax
path: ../../assets/model/mlflow-model
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-model-as-output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ inputs:
outputs:
output_folder:
type: custom_model # mlflow_model,custom_model, triton_model
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
6 changes: 3 additions & 3 deletions cli/jobs/basics/hello-pipeline-abc-serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ inputs:
jobs:
a:
command: echo hello ${{inputs.hello_string}}
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
hello_string: ${{parent.inputs.hello_string_top_level_input}}
b:
command: echo "world" >> ${{outputs.world_output}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
world_output:
c:
command: echo ${{inputs.world_input}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
world_input: ${{parent.jobs.b.outputs.world_output}}

6 changes: 3 additions & 3 deletions cli/jobs/basics/hello-pipeline-abc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ inputs:
jobs:
a:
command: echo hello ${{inputs.hello_string}}
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
hello_string: ${{parent.inputs.hello_string_top_level_input}}
b:
command: echo "world" >> ${{outputs.world_output}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
world_output:
c:
command: echo ${{inputs.world_input}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
world_input: ${{parent.jobs.b.outputs.world_output}}

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ outputs:
jobs:
hello_world:
command: echo "hello" && echo "world" > ${{outputs.output}}
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
output: ${{parent.outputs.output}}
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-pipeline-customize-output-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ outputs:
jobs:
hello_world:
command: echo "hello" && echo "world" > ${{outputs.output}}
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
outputs:
output: ${{parent.outputs.output}}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ settings:
jobs:
hello_world:
command: echo "hello" && echo "world" > ${{outputs.output}}/hello_world-folder.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
output:
type: uri_folder
Expand Down
2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-pipeline-customize-output-folder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ settings:
jobs:
hello_world:
command: echo "hello" && echo "world" > ${{outputs.output}}/hello_world-folder.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
outputs:
output:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ settings:
jobs:
hello_job:
command: echo "hello" && echo "world" > ./outputs/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
artifacts:
world_job:
command: cat ${{inputs.world_input}}/outputs/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
world_input: ${{parent.jobs.hello_job.outputs.artifacts}}

4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-default-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ display_name: hello_pipeline_default_artifacts
jobs:
hello_job:
command: echo "hello" && echo "world" > ./outputs/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
outputs:
artifacts:
world_job:
command: cat ${{inputs.world_input}}/outputs/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
inputs:
world_input: ${{parent.jobs.hello_job.outputs.artifacts}}
4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-io-serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ settings:
jobs:
hello_job:
command: echo "hello" && echo "world" > ${{outputs.world_output}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
outputs:
world_output:
world_job:
command: cat ${{inputs.world_input}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
inputs:
world_input: ${{parent.jobs.hello_job.outputs.world_output}}

4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ display_name: hello_pipeline_io
jobs:
hello_job:
command: echo "hello" && echo "world" > ${{outputs.world_output}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
outputs:
world_output:
world_job:
command: cat ${{inputs.world_input}}/world.txt
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
inputs:
world_input: ${{parent.jobs.hello_job.outputs.world_output}}
Expand Down
4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ settings:
jobs:
hello_job:
command: echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
world_job:
command: echo "world"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest

4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-settings-serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ settings:
jobs:
hello_job:
command: echo 202204190 & echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
world_job:
command: echo 202204190 & echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ settings:
jobs:
hello_job:
command: echo 202204190 & echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
world_job:
command: echo 202204190 & echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
4 changes: 2 additions & 2 deletions cli/jobs/basics/hello-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ display_name: hello_pipeline
jobs:
hello_job:
command: echo "hello"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster
world_job:
command: echo "world"
environment: azureml://registries/azureml/environments/sklearn-1.0/labels/latest
environment: azureml://registries/azureml/environments/sklearn-1.5/labels/latest
compute: azureml:cpu-cluster

2 changes: 1 addition & 1 deletion cli/jobs/basics/hello-sweep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trial:
--B ${{search_space.B}}
--C ${{search_space.C}}
code: src
environment: azureml:AzureML-sklearn-1.1@latest
environment: azureml:AzureML-sklearn-1.5@latest
inputs:
A: 0.5
sampling_algorithm: random
Expand Down

0 comments on commit ae0a751

Please sign in to comment.