Skip to content

Commit

Permalink
Changed training V1 notebooks to ubuntu 20.04 (#2100)
Browse files Browse the repository at this point in the history
* Changed training V1 notebooks to ubuntu 20.04

* Updated requirements.txt to speed up install

* Updated creds, workspace and resource group

* Added pin for mlflow-skinny
  • Loading branch information
jeff-shepherd committed Mar 17, 2023
1 parent 87317c8 commit c6ffc8b
Show file tree
Hide file tree
Showing 27 changed files with 81 additions and 78 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-deploy-pytorch-mnist-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/deploy/pytorch/mnist/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/deploy/scikit-learn/diabetes/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-deepspeed-cifar-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/deepspeed/cifar/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/deepspeed/transformers/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-fastai-mnist-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/fastai/mnist/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/fastai/mnist-mlproject/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-fastai-pets-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/fastai/pets/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-lightgbm-iris-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/lightgbm/iris/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/pytorch/cifar-distributed/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-pytorch-mnist-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/pytorch/mnist/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/pytorch/mnist-mlproject/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/scikit-learn/diabetes/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/scikit-learn/diabetes-mlproject/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/tensorflow/mnist-distributed-horovod/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/tensorflow/mnist-distributed/job.py
6 changes: 3 additions & 3 deletions .github/workflows/python-sdk-train-tensorflow-mnist-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v1/python-sdk/requirements.txt
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{vars.V1_UBUNTU_RUNNER}}
steps:
- name: check out repo
uses: actions/checkout@v2
Expand All @@ -29,13 +29,13 @@ jobs:
- name: azure login
uses: azure/login@v1
with:
creds: ${{secrets.AZ_AE_CREDS}}
creds: ${{secrets.AZ_CREDS}}
- name: Run update-azure-extensions
run: |
chmod +x ./v1/scripts/update-azure-extensions.sh
./v1/scripts/update-azure-extensions.sh
shell: bash
- name: attach to workspace
run: az ml folder attach -w main-python-sdk -g azureml-examples-rg
run: az ml folder attach -w main -g azureml-examples
- name: run workflow
run: python v1/python-sdk/workflows/train/tensorflow/mnist/job.py
Loading

0 comments on commit c6ffc8b

Please sign in to comment.