How to make a registered pipeline can be executed when a model update on AzureML is triggered.

Tú Nguyễn 0 Reputation points
2024-05-30T01:57:06+00:00

Hello,

I am currently exploring how to update a model and how this update can trigger a registered pipeline to execute as a result of this model update. But I don't know how to implement, any idea for doing this?

Azure Open Datasets
Azure Open Datasets
An Azure service that provides curated open data for machine learning workflows.
25 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,666 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,836 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 47,686 Reputation points
    2024-05-31T17:16:13.3766667+00:00

    Thanks for reaching out to us, you may want to consider Azure Event Grid to see if that can help your model version control, a general idea to do so as below for your reference -

    1. Register your pipeline as first step: First, you need to create and register your pipeline in Azure Machine Learning. This involves defining the steps of your pipeline and registering it with AzureML.
    2. Set up model monitoring or versioning: You need a way to detect when a model is updated or a new version is deployed. This can be done through model monitoring or versioning mechanisms provided by AzureML.
    3. Create an event trigger: Set up an event trigger that listens for changes to the model or its deployment. Azure Event Grid can be used for this purpose. When a model update event is detected, it will trigger an event.
    4. Subscribe to the event: Subscribe to the event triggered by the model update. You can do this programmatically using Azure Event Grid SDK or through the Azure portal.
    5. Trigger the pipeline: Once the event is received, you can trigger the registered pipeline using AzureML SDK or REST API. Pass any necessary parameters to the pipeline if required.

    Please let us know if this way can help.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments