Skip to content

Commit f16831c

Browse files
vs-liraghutilluRaghu Ramaswamy
authored
updating python version (Azure#2196) (Azure#2197)
* updating python version (Azure#2196) Co-authored-by: Raghu Ramaswamy <[email protected]> * Added endpoint paths to trigger create deployment workflows to test Python ver change * Removed unrelated workflows that are failing * Removed unrelated workflows * Ignore kubernetes green deployment * Fixed typo in pip and joblib versions --------- Co-authored-by: Raghu Ramaswamy <[email protected]> Co-authored-by: Raghu Ramaswamy <[email protected]>
1 parent b18aac5 commit f16831c

File tree

26 files changed

+65
-54
lines changed

26 files changed

+65
-54
lines changed

Diff for: .github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/batch/deploy-models/custom-outputs-parquet/**
16+
- cli/endpoints/batch/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-batch-deploy-models-custom-outputs-parquet-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/batch/deploy-models/heart-classifier-mlflow/**
16+
- cli/endpoints/batch/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-batch-deploy-models-heart-classifier-mlflow-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/batch/deploy-models/huggingface-text-summarization/**
16+
- cli/endpoints/batch/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-batch-deploy-models-huggingface-text-summarization-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/batch/deploy-models/imagenet-classifier/**
16+
- cli/endpoints/batch/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-batch-deploy-models-imagenet-classifier-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/batch/deploy-models/mnist-classifier/**
16+
- cli/endpoints/batch/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-batch-deploy-models-mnist-classifier-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/minimal/multimodel/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-minimal-multimodel-minimal-multimodel-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-minimal-single-model-conda-in-dockerfile-minimal-single-model-conda-in-dockerfile-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/minimal/single-model/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-minimal-single-model-minimal-single-model-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/mlflow/multideployment-scikit/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-mlflow-multideployment-scikit-mlflow-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/r/multimodel-plumber/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-r-multimodel-plumber-r-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/torchserve/densenet/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-torchserve-densenet-torchserve-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/custom-container/triton/single-model/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-custom-container-triton-single-model-triton-cc-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/kubernetes/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-kubernetes-kubernetes-endpoint.yml
1819
- cli/setup.sh
@@ -62,13 +63,6 @@ jobs:
6263
cat endpoints/online/kubernetes/kubernetes-blue-deployment.yml
6364
az ml online-deployment create -e ekuberneteskubernetesendpoint -f endpoints/online/kubernetes/kubernetes-blue-deployment.yml
6465
working-directory: cli
65-
- name: create deployment
66-
run: |
67-
source "${{ github.workspace }}/infra/sdk_helpers.sh";
68-
source "${{ github.workspace }}/infra/init_environment.sh";
69-
cat endpoints/online/kubernetes/kubernetes-green-deployment.yml
70-
az ml online-deployment create -e ekuberneteskubernetesendpoint -f endpoints/online/kubernetes/kubernetes-green-deployment.yml
71-
working-directory: cli
7266
- name: cleanup endpoint
7367
run: |
7468
source "${{ github.workspace }}/infra/sdk_helpers.sh";

Diff for: .github/workflows/cli-endpoints-online-managed-sample-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/managed/sample/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-managed-sample-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/managed/vnet/mlflow/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-managed-vnet-mlflow-endpoint.yml
1819
- cli/setup.sh

Diff for: .github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
- main
1414
paths:
1515
- cli/endpoints/online/managed/vnet/sample/**
16+
- cli/endpoints/online/**
1617
- infra/**
1718
- .github/workflows/cli-endpoints-online-managed-vnet-sample-endpoint.yml
1819
- cli/setup.sh

Diff for: cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ az extension add --name ml --yes
3131
```
3232

3333
## Examples
34-
34+
3535
**Scripts**
3636

3737
path|status|

Diff for: cli/endpoints/online/managed/minimal/single-model-registered/env.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: model-env
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
6-
- numpy=1.21.2
7-
- pip=21.2.4
8-
- scikit-learn=0.24.2
9-
- scipy=1.7.1
5+
- python=3.9
6+
- numpy=1.23.5
7+
- pip=23.0.1
8+
- scikit-learn=1.2.2
9+
- scipy=1.10.1
1010
- pip:
11-
- azureml-defaults==1.38.0
11+
- azureml-defaults==1.49.0
1212
- joblib==1.0.1
1313
- azureml-inference-server-http

Diff for: cli/endpoints/online/managed/vnet/mlflow/environment/conda.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: mlflow-env
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7.12
5+
- python=3.9
66
- pip
77
- pip:
88
- mlflow
9-
- cloudpickle==2.0.0
10-
- scikit-learn==1.0.2
9+
- cloudpickle==2.2.1
10+
- scikit-learn==1.2.2

Diff for: cli/endpoints/online/managed/vnet/sample/environment/conda.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: model-env
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
6-
- numpy=1.21.2
7-
- pip=21.2.4
8-
- scikit-learn=0.24.2
9-
- scipy=1.7.1
5+
- python=3.9
6+
- numpy=1.23.5
7+
- pip=23.0.1
8+
- scikit-learn=1.2.2
9+
- scipy=1.10.1
1010
- pip:
11-
- joblib==1.0.1
12-
- azureml-defaults==1.38.0
11+
- joblib==1.2.0
12+
- azureml-defaults==1.49.0

Diff for: cli/endpoints/online/model-1/environment/conda.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: model-env
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
6-
- numpy=1.21.2
7-
- pip=21.2.4
8-
- scikit-learn=0.24.2
9-
- scipy=1.7.1
5+
- python=3.9
6+
- numpy=1.23.5
7+
- pip=23.0.1
8+
- scikit-learn=1.2.2
9+
- scipy=1.10.1
1010
- pip:
11-
- azureml-defaults==1.47.0
12-
- inference-schema[numpy-support]==1.5
13-
- joblib==1.0.1
11+
- azureml-defaults==1.49.0
12+
- inference-schema[numpy-support]==1.5.1
13+
- joblib==1.2.0

Diff for: cli/endpoints/online/model-2/environment/conda.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: model-env
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
6-
- numpy=1.21.2
7-
- pip=21.2.4
8-
- scikit-learn=0.24.2
9-
- scipy=1.7.1
5+
- python=3.9
6+
- numpy=1.23.5
7+
- pip=23.0.1
8+
- scikit-learn=1.2.2
9+
- scipy=1.10.1
1010
- pip:
11-
- azureml-defaults==1.47.0
12-
- inference-schema[numpy-support]==1.5
13-
- joblib==1.0.1
11+
- azureml-defaults==1.49.0
12+
- inference-schema[numpy-support]==1.5.1
13+
- joblib==1.2.0
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.7.11
4+
- python=3.9
55
- pip
66
- pip:
77
- mlflow
8-
- lightgbm==3.3.2
9-
- pandas==1.3.1
10-
- psutil==5.8.0
11-
- typing-extensions==3.10.0.0
8+
- lightgbm==3.3.5
9+
- pandas==2.0.0
10+
- psutil==5.9.4
11+
- typing-extensions==4.5.0
1212
name: mlflow-env
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.7.11
4+
- python=3.9
55
- pip
66
- pip:
77
- mlflow
8-
- scikit-learn==0.24.1
9-
- cloudpickle==2.0.0
10-
- psutil==5.8.0
11-
- pandas==1.3.5
8+
- scikit-learn==1.2.2
9+
- cloudpickle==2.2.1
10+
- psutil==5.9.4
11+
- pandas==2.0.0
1212
- azureml-inference-server-http
1313
name: mlflow-env
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.7.11
4+
- python=3.9
55
- pip
66
- pip:
77
- mlflow
8-
- scikit-learn==0.24.1
9-
- cloudpickle==2.0.0
10-
- psutil==5.8.0
8+
- scikit-learn==1.2.2
9+
- cloudpickle==2.2.1
10+
- psutil==5.9.4
1111
name: mlflow-env

Diff for: cli/readme.py

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"torchserve-deployment",
2525
"triton-cc-deployment",
2626
"2-sai-deployment",
27+
"kubernetes-green-deployment",
2728
]
2829
EXCLUDED_RESOURCES = [
2930
"workspace",
@@ -593,6 +594,7 @@ def write_endpoint_workflow(endpoint):
593594
- main
594595
paths:
595596
- cli/{project_dir}/**
597+
- cli/endpoints/{endpoint_type}/**
596598
- infra/**
597599
- .github/workflows/cli-{hyphenated}.yml
598600
- cli/setup.sh

0 commit comments

Comments
 (0)