Skip to content

Commit

Permalink
Upgrade a lot of environments for image components (#3655)
Browse files Browse the repository at this point in the history
* Update environment for common validation component.

* Upgrade model prediction and metric computation components.

* Upgrade image framework selector.

* Upgrade image output selector.
  • Loading branch information
rdondera-microsoft authored Dec 7, 2024
1 parent 8bf23d3 commit 8df7cfa
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
type: command

version: 0.0.6
version: 0.0.7
name: finetune_common_validation
display_name: Common Validation Component
description: Component to validate the finetune job against Validation Service

is_deterministic: True

environment: azureml://registries/azureml/environments/acpt-pytorch-2.2-cuda12.1/versions/18
environment: azureml://registries/azureml/environments/acpt-pytorch-2.2-cuda12.1/versions/23

code: ../../src/validation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
$schema: https://azuremlschemas.azureedge.net/development/commandComponent.schema.json
type: command

version: 0.0.18
version: 0.0.19
name: image_framework_selector
display_name: Framework Selector for Image Tasks
description: Framework selector control flow component for image tasks

is_deterministic: true

environment: azureml://registries/azureml/environments/acpt-automl-image-framework-selector-gpu/versions/43
environment: azureml://registries/azureml/environments/acpt-automl-image-framework-selector-gpu/versions/44

code: ../../src/framework_selector

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
type: command

version: 0.0.17
version: 0.0.18
name: image_model_output_selector
display_name: Model output selector for image components
description: Model output selector control flow component for image tasks

is_deterministic: true

environment: azureml://registries/azureml/environments/acpt-automl-image-framework-selector-gpu/versions/43
environment: azureml://registries/azureml/environments/acpt-automl-image-framework-selector-gpu/versions/44

code: ../../src/model_output_selector

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
type: pipeline

version: 0.0.21
version: 0.0.22
name: image_classification_pipeline
display_name: Image Classification Pipeline
description: Pipeline component for image classification.
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:

finetune_common_validation:
type: command
component: azureml:finetune_common_validation:0.0.6
component: azureml:finetune_common_validation:0.0.7
compute: ${{parent.inputs.compute_model_import}}
inputs:
train_mltable_path: ${{parent.inputs.training_data}}
Expand All @@ -269,7 +269,7 @@ jobs:

framework_selector:
type: command
component: azureml:image_framework_selector:0.0.18
component: azureml:image_framework_selector:0.0.19
compute: ${{parent.inputs.compute_model_import}}
inputs:
task_type: 'image-classification'
Expand Down Expand Up @@ -372,7 +372,7 @@ jobs:

output_selector:
type: command
component: azureml:image_model_output_selector:0.0.17
component: azureml:image_model_output_selector:0.0.18
compute: ${{parent.inputs.compute_model_import}}
inputs:
mlflow_model_t: ${{parent.jobs.image_classification_runtime_component.outputs.mlflow_model_folder}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
type: pipeline

version: 0.0.21
version: 0.0.22
name: transformers_image_classification_pipeline
display_name: Image Classification HuggingFace Transformers Pipeline
description: Pipeline component for image classification using HuggingFace transformers models.
Expand Down Expand Up @@ -393,7 +393,7 @@ outputs:
jobs:
finetune_common_validation:
type: command
component: azureml:finetune_common_validation:0.0.6
component: azureml:finetune_common_validation:0.0.7
compute: ${{parent.inputs.compute_model_import}}
inputs:
mlflow_model_path: ${{parent.inputs.mlflow_model}}
Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:

model_prediction:
type: command
component: azureml:model_prediction:0.0.34
component: azureml:model_prediction:0.0.35
compute: '${{parent.inputs.compute_model_evaluation}}'
inputs:
task: '${{parent.inputs.task_name}}'
Expand All @@ -498,7 +498,7 @@ jobs:

compute_metrics:
type: command
component: azureml:compute_metrics:0.0.33
component: azureml:compute_metrics:0.0.35
compute: '${{parent.inputs.compute_model_evaluation}}'
inputs:
task: '${{parent.inputs.task_name}}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
type: pipeline

version: 0.0.23
version: 0.0.24
name: image_instance_segmentation_pipeline
display_name: Image Instance Segmentation Pipeline
description: Pipeline component for image instance segmentation.
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:

finetune_common_validation:
type: command
component: azureml:finetune_common_validation:0.0.6
component: azureml:finetune_common_validation:0.0.7
compute: ${{parent.inputs.compute_model_import}}
inputs:
train_mltable_path: ${{parent.inputs.training_data}}
Expand All @@ -314,7 +314,7 @@ jobs:

framework_selector:
type: command
component: azureml:image_framework_selector:0.0.18
component: azureml:image_framework_selector:0.0.19
compute: ${{parent.inputs.compute_model_import}}
inputs:
task_type: ${{parent.inputs.task_type}}
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:

output_selector:
type: command
component: azureml:image_model_output_selector:0.0.17
component: azureml:image_model_output_selector:0.0.18
compute: ${{parent.inputs.compute_model_import}}
inputs:
mlflow_model_t: ${{parent.jobs.image_instance_segmentation_runtime_component.outputs.mlflow_model_folder}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
type: pipeline

version: 0.0.23
version: 0.0.24
name: mmdetection_image_objectdetection_instancesegmentation_pipeline
display_name: Image Object Detection and Instance Segmentation MMDetection Pipeline
description: Pipeline component for image object detection and instance segmentation using MMDetection models.
Expand Down Expand Up @@ -391,7 +391,7 @@ outputs:
jobs:
finetune_common_validation:
type: command
component: azureml:finetune_common_validation:0.0.6
component: azureml:finetune_common_validation:0.0.7
compute: ${{parent.inputs.compute_model_import}}
inputs:
mlflow_model_path: ${{parent.inputs.mlflow_model}}
Expand Down Expand Up @@ -482,7 +482,7 @@ jobs:

model_prediction:
type: command
component: azureml:model_prediction:0.0.34
component: azureml:model_prediction:0.0.35
compute: '${{parent.inputs.compute_model_evaluation}}'
inputs:
task: '${{parent.inputs.task_name}}'
Expand All @@ -497,7 +497,7 @@ jobs:

compute_metrics:
type: command
component: azureml:compute_metrics:0.0.33
component: azureml:compute_metrics:0.0.35
compute: '${{parent.inputs.compute_model_evaluation}}'
inputs:
task: '${{parent.inputs.task_name}}'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
type: pipeline

version: 0.0.23
version: 0.0.24
name: image_object_detection_pipeline
display_name: Image Object Detection Pipeline
description: Pipeline component for image object detection.
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:

finetune_common_validation:
type: command
component: azureml:finetune_common_validation:0.0.6
component: azureml:finetune_common_validation:0.0.7
compute: ${{parent.inputs.compute_model_import}}
inputs:
train_mltable_path: ${{parent.inputs.training_data}}
Expand All @@ -339,7 +339,7 @@ jobs:

framework_selector:
type: command
component: azureml:image_framework_selector:0.0.18
component: azureml:image_framework_selector:0.0.19
compute: ${{parent.inputs.compute_model_import}}
inputs:
task_type: ${{parent.inputs.task_type}}
Expand Down Expand Up @@ -451,7 +451,7 @@ jobs:

output_selector:
type: command
component: azureml:image_model_output_selector:0.0.17
component: azureml:image_model_output_selector:0.0.18
compute: ${{parent.inputs.compute_model_import}}
inputs:
mlflow_model_t: ${{parent.jobs.image_object_detection_runtime_component.outputs.mlflow_model_folder}}
Expand Down

0 comments on commit 8df7cfa

Please sign in to comment.