简体   繁体   English

Vertex AI 自动再训练

[英]Vertex AI automatic retraining

I'm trying to create a Vertex AI endpoint with Monitoring enabled that can trigger a Vertex AI pipeline execution when one of the deployed models drops its performance.我正在尝试创建一个启用了监控的 Vertex AI 端点,它可以在其中一个已部署模型的性能下降时触发 Vertex AI 管道执行。 However, Vertex AI does not provide any built-in feature to do it.但是,Vertex AI 不提供任何内置功能来执行此操作。 Is there a method to capture the alert thrown by Vertex AI Monitoring and trigger the Pipeline?有没有一种方法可以捕获 Vertex AI Monitoring 抛出的警报并触发管道?

  1. The Vertex AI Model Monitoring jobs are logged as part of Cloud Logging 1 . Vertex AI Model 监控作业被记录为 Cloud Logging 1的一部分。
  2. You can react to those loggings using log-based alerts2 .您可以使用基于日志的警报2对这些日志记录做出反应。 For that, you need to configure a notification channel to PubSub 3为此,您需要为 PubSub 3配置一个通知通道
  3. Based on those PubSub message you can trigger a Cloud Function 4基于这些 PubSub 消息,您可以触发 Cloud Function 4
  4. The Cloud Function can initiate the Vertex AI Pipeline run to re-train the model 5 Cloud Function 可以启动 Vertex AI Pipeline 运行以重新训练 model 5

https://cloud.google.com/vertex-ai/docs/model-monitoring/using-model-monitoring#cloud-logging-info https://cloud.google.com/vertex-ai/docs/model-monitoring/using-model-monitoring#cloud-logging-info

https://cloud.google.com/logging/docs/alerting/log-based-alerts https://cloud.google.com/logging/docs/alerting/log-based-alerts

https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels#NotificationChannel https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels#NotificationChannel

https://cloud.google.com/functions/docs/calling/pubsub https://cloud.google.com/functions/docs/calling/pubsub

https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.pipelineJobs/create https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.pipelineJobs/create

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM