Skip to content

Commit

Permalink
Ran sdk/python/readme.py (Azure#2040)
Browse files Browse the repository at this point in the history
This fixed the kernel for some notebooks and cleaned some whitespace in workflow files.
  • Loading branch information
jeff-shepherd committed Jan 26, 2023
1 parent 4a0a320 commit 83829cd
Show file tree
Hide file tree
Showing 104 changed files with 273 additions and 270 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-data-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-endpoints-batch-mnist-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
- name: pip install mlflow reqs
run: pip install -r sdk/python/mlflow-requirements.txt
- name: azure login
uses: azure/login@v1
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
source "${{ github.workspace }}/infra/init_environment.sh";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" replace_template_values "automl-image-classification-multiclass-task-fridge-items.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python -p compute_name automl-gpu-cluster automl-image-classification-multiclass-task-fridge-items.ipynb automl-image-classification-multiclass-task-fridge-items.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multiclass-task-fridge-items
- name: upload notebook's working folder as an artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
source "${{ github.workspace }}/infra/init_environment.sh";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" replace_template_values "automl-image-classification-multilabel-task-fridge-items.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python -p compute_name automl-gpu-cluster automl-image-classification-multilabel-task-fridge-items.ipynb automl-image-classification-multilabel-task-fridge-items.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-image-classification-multilabel-task-fridge-items
- name: upload notebook's working folder as an artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
source "${{ github.workspace }}/infra/init_environment.sh";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" replace_template_values "automl-image-instance-segmentation-task-fridge-items.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python -p compute_name automl-gpu-cluster automl-image-instance-segmentation-task-fridge-items.ipynb automl-image-instance-segmentation-task-fridge-items.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-image-instance-segmentation-task-fridge-items
- name: upload notebook's working folder as an artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
source "${{ github.workspace }}/infra/init_environment.sh";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" replace_template_values "automl-image-object-detection-task-fridge-items.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python -p compute_name automl-gpu-cluster automl-image-object-detection-task-fridge-items.ipynb automl-image-object-detection-task-fridge-items.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items
- name: upload notebook's working folder as an artifact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
with:
python-version: "3.8"
- name: pip install notebook reqs
run: pip install -r sdk/python/dev-requirements.txt
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
source "${{ github.workspace }}/infra/init_environment.sh";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/sdk_helpers.sh" replace_template_values "image-object-detection-batch-scoring-non-mlflow-model.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python -p compute_name automl-gpu-cluster image-object-detection-batch-scoring-non-mlflow-model.ipynb image-object-detection-batch-scoring-non-mlflow-model.output.ipynb
working-directory: sdk/python/jobs/automl-standalone-jobs/automl-image-object-detection-task-fridge-items-batch-scoring
- name: upload notebook's working folder as an artifact
Expand Down
Loading

0 comments on commit 83829cd

Please sign in to comment.