This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
Jitghosh/parallelbatchscore #289
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5a6d787
Batch Scoring First Draft: Added pipeline creation and run scripts, s…
jitghosh f7207f8
Score copy step added
jitghosh 95a1553
Modified bootstrap.py, updated getting started doc
jitghosh 046c324
Addressed PR comments
jitghosh f22fea5
Addressed PR comments
jitghosh 799023d
Doc fix
jitghosh 28b031c
Doc fix
jitghosh fbd68c6
Merge branch 'master' into jitghosh/parallelbatchscore
jitghosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # Continuous Integration (CI) pipeline that orchestrates the training, evaluation, registration, deployment, and testing of the diabetes_regression model. | ||
|
jitghosh marked this conversation as resolved.
Resolved
|
||
|
|
||
| resources: | ||
| containers: | ||
| - container: mlops | ||
| image: mcr.microsoft.com/mlops/python:latest | ||
|
|
||
|
|
||
| pr: none | ||
| trigger: | ||
| branches: | ||
| include: | ||
| - master | ||
| paths: | ||
| include: | ||
| - diabetes_regression/scoring/parallel_batchscore.py | ||
| - ml_service/pipelines/diabetes_regression_build_parallel_batchscore_pipeline.py | ||
| - ml_service/pipelines/run_parallel_batchscore_pipeline.py | ||
|
|
||
| variables: | ||
| - template: diabetes_regression-variables-template.yml | ||
| - group: devopsforai-aml-vg | ||
|
|
||
| pool: | ||
| vmImage: ubuntu-latest | ||
|
|
||
| stages: | ||
| - stage: 'Batch_Scoring_Pipeline_CI' | ||
| displayName: 'Batch Scoring Pipeline CI' | ||
| jobs: | ||
| - job: "Build_Batch_Scoring_Pipeline" | ||
| displayName: "Build Batch Scoring Pipeline" | ||
| container: mlops | ||
| timeoutInMinutes: 0 | ||
| steps: | ||
| - template: code-quality-template.yml | ||
| - task: AzureCLI@1 | ||
| name: publish_batchscore | ||
| inputs: | ||
| azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' | ||
| scriptLocation: inlineScript | ||
| workingDirectory: $(Build.SourcesDirectory) | ||
| inlineScript: | | ||
| set -e # fail on error | ||
| export SUBSCRIPTION_ID=$(az account show --query id -o tsv) | ||
| # Invoke the Python building and publishing a training pipeline | ||
| python -m ml_service.pipelines.diabetes_regression_build_parallel_batchscore_pipeline | ||
|
|
||
| - job: "Run_Batch_Score_Pipeline" | ||
| displayName: "Run Batch Scoring Pipeline" | ||
| dependsOn: "Build_Batch_Scoring_Pipeline" | ||
| timeoutInMinutes: 240 | ||
| pool: server | ||
| variables: | ||
| pipeline_id: $[ dependencies.Build_Batch_Scoring_Pipeline.outputs['publish_batchscore.pipeline_id']] | ||
| steps: | ||
| - task: ms-air-aiagility.vss-services-azureml.azureml-restApi-task.MLPublishedPipelineRestAPITask@0 | ||
| displayName: 'Invoke Batch Scoring pipeline' | ||
| inputs: | ||
| azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' | ||
| PipelineId: '$(pipeline_id)' | ||
| ExperimentName: '$(EXPERIMENT_NAME)' | ||
| PipelineParameters: '"ParameterAssignments": {"model_name": "$(MODEL_NAME)"}' | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.