Skip to content

components register_model

github-actions[bot] edited this page Jun 17, 2025 · 24 revisions

Register model

register_model

Overview

Register a model to a workspace or a registry. The component works on compute with MSI attached.

Version: 0.0.21

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/components/register_model/version/0.0.21

Inputs

Name Description Type Default Optional Enum
model_name Model name to use in the registration. If name already exists, the version will be auto incremented. Model name must be alphanumeric and can contain dashes/hyphens string True
model_version Model version in workspace/registry. If the same model name and version exists, the version will be auto incremented. Model version must be a numeric string string True
model_type Model type string mlflow_model True ['custom_model', 'mlflow_model']
model_description Description of the model that will be shown in AzureML registry or workspace string True
registry_name Name of the AzureML asset registry where the model will be registered. Model will be registered in a workspace if this is unspecified string True
model_path Path to the model directory uri_folder False
model_download_metadata A JSON file which contains information related to model download. uri_file True
model_metadata JSON/YAML file that contains model metadata confirming to Model V2 contract uri_file True

Outputs

Name Description Type
registration_details_folder Folder containing model registration details in a JSON file named model_registration_details.json uri_folder

Environment

azureml://registries/azureml/environments/python-sdk-v2/versions/31

Clone this wiki locally