Added support for model_framework for import_model component (#3566)
This commit is contained in:
Родитель
a47fb18726
Коммит
c7e3e6820d
|
@ -1,7 +1,7 @@
|
|||
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
|
||||
|
||||
name: convert_model_to_mlflow
|
||||
version: 0.0.32
|
||||
version: 0.0.33
|
||||
type: command
|
||||
|
||||
is_deterministic: True
|
||||
|
|
|
@ -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.38
|
||||
version: 0.0.39
|
||||
|
||||
# Pipeline inputs
|
||||
inputs:
|
||||
|
@ -47,6 +47,17 @@ inputs:
|
|||
optional: false
|
||||
description: Flavor of MLFlow to which model the model is converted to.
|
||||
|
||||
model_framework:
|
||||
type: string
|
||||
enum:
|
||||
- Huggingface
|
||||
- MMLab
|
||||
- llava
|
||||
- AutoML
|
||||
default: Huggingface
|
||||
optional: false
|
||||
description: Framework from which model is imported from.
|
||||
|
||||
vllm_enabled:
|
||||
type: boolean
|
||||
description: Enable vllm in the converted model
|
||||
|
@ -260,7 +271,7 @@ jobs:
|
|||
type: uri_folder
|
||||
|
||||
convert_model_to_mlflow:
|
||||
component: azureml:convert_model_to_mlflow:0.0.32
|
||||
component: azureml:convert_model_to_mlflow:0.0.33
|
||||
compute: ${{parent.inputs.compute}}
|
||||
resources:
|
||||
instance_type: '${{parent.inputs.instance_type}}'
|
||||
|
@ -271,6 +282,7 @@ jobs:
|
|||
model_flavor: ${{parent.inputs.model_flavor}}
|
||||
vllm_enabled: ${{parent.inputs.vllm_enabled}}
|
||||
license_file_path: ${{parent.inputs.license_file_path}}
|
||||
model_framework: ${{parent.inputs.model_framework}}
|
||||
model_download_metadata: ${{parent.jobs.download_model.outputs.model_download_metadata}}
|
||||
model_path: ${{parent.jobs.download_model.outputs.model_output}}
|
||||
hf_config_args: ${{parent.inputs.hf_config_args}}
|
||||
|
|
Загрузка…
Ссылка в новой задаче