Skip to content

Commit

Permalink
Update import model component to make use of updated env (#3458)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekMS2024 authored Oct 14, 2024
1 parent d8de410 commit eff4680
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json

name: mlflow_model_local_validation
version: 0.0.15
version: 0.0.16
type: command

is_deterministic: True

display_name: MLFlow model local validation
description: Validates if a MLFLow model can be loaded on a compute and is usable for inferencing.

environment: azureml://registries/azureml/environments/python-sdk-v2/versions/22
environment: azureml://registries/azureml/environments/python-sdk-v2/versions/23

code: ../../src/
command: >-
Expand Down
4 changes: 2 additions & 2 deletions assets/common/components/register_model/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
name: register_model
version: 0.0.18
version: 0.0.19
type: command

is_deterministic: True
Expand All @@ -9,7 +9,7 @@ display_name: Register model
description:
Register a model to a workspace or a registry. The component works on compute with [MSI](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-manage-compute-instance?tabs=python) attached.

environment: azureml://registries/azureml/environments/python-sdk-v2/versions/22
environment: azureml://registries/azureml/environments/python-sdk-v2/versions/23

code: ../../src
command: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: pipeline
name: import_model
display_name: Import model
description: Import a model into a workspace or a registry
version: 0.0.37
version: 0.0.38

# Pipeline inputs
inputs:
Expand Down Expand Up @@ -207,7 +207,7 @@ outputs:

jobs:
validation_trigger_import:
component: azureml:validation_trigger_import:0.0.12
component: azureml:validation_trigger_import:0.0.13
compute: ${{parent.inputs.compute}}
resources:
instance_type: '${{parent.inputs.instance_type}}'
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
type: mlflow_model

mlflow_model_local_validation:
component: azureml:mlflow_model_local_validation:0.0.15
component: azureml:mlflow_model_local_validation:0.0.16
compute: ${{parent.inputs.compute}}
resources:
instance_type: '${{parent.inputs.instance_type}}'
Expand All @@ -300,7 +300,7 @@ jobs:
mlflow_model_folder: ${{parent.outputs.mlflow_model_folder}}

register_model:
component: azureml:register_model:0.0.18
component: azureml:register_model:0.0.19
compute: ${{parent.inputs.compute}}
resources:
instance_type: '${{parent.inputs.instance_type}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type: command
name: validation_trigger_import
display_name: Validation Trigger Import model
description: Component for enabling validation of import pipeline.
version: 0.0.12
version: 0.0.13

# Pipeline inputs
inputs:
Expand Down Expand Up @@ -180,7 +180,7 @@ outputs:

is_deterministic: True

environment: azureml://registries/azureml/environments/python-sdk-v2/versions/22
environment: azureml://registries/azureml/environments/python-sdk-v2/versions/23
code: ../../src
command: python run_model_validate.py --validation-info ${{outputs.validation_info}}

Expand Down

0 comments on commit eff4680

Please sign in to comment.