Skip to content

Commit

Permalink
Add --log-output to SDK workflows (#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
mastloui-msft authored Sep 19, 2023
1 parent 7771f39 commit b2c1bfb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "custom-output-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python custom-output-batch.ipynb custom-output-batch.output.ipynb
papermill -k python custom-output-batch.ipynb custom-output-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "mlflow-for-batch-tabular.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python mlflow-for-batch-tabular.ipynb mlflow-for-batch-tabular.output.ipynb
papermill -k python mlflow-for-batch-tabular.ipynb mlflow-for-batch-tabular.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "text-summarization-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python text-summarization-batch.ipynb text-summarization-batch.output.ipynb
papermill -k python text-summarization-batch.ipynb text-summarization-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "imagenet-classifier-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python imagenet-classifier-batch.ipynb imagenet-classifier-batch.output.ipynb
papermill -k python imagenet-classifier-batch.ipynb imagenet-classifier-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "imagenet-classifier-mlflow.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python imagenet-classifier-mlflow.ipynb imagenet-classifier-mlflow.output.ipynb
papermill -k python imagenet-classifier-mlflow.ipynb imagenet-classifier-mlflow.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "mnist-batch.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python mnist-batch.ipynb mnist-batch.output.ipynb
papermill -k python mnist-batch.ipynb mnist-batch.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-models/mnist-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/hello-batch
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" generate_workspace_config "../../.azureml/config.json";
bash "${{ github.workspace }}/infra/bootstrapping/sdk_helpers.sh" replace_template_values "sdk-deploy-and-test.ipynb";
[ -f "../../.azureml/config" ] && cat "../../.azureml/config";
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb
papermill -k python sdk-deploy-and-test.ipynb sdk-deploy-and-test.output.ipynb --log-output
working-directory: sdk/python/endpoints/batch/deploy-pipelines/training-with-components
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
Expand Down

0 comments on commit b2c1bfb

Please sign in to comment.