Continuous-Adaptation-with-VertexAI-AutoML-Pipeline icon indicating copy to clipboard operation
Continuous-Adaptation-with-VertexAI-AutoML-Pipeline copied to clipboard

Advantage of pipeline over cloud function

Open doender opened this issue 3 years ago • 1 comments

Thank you for this great example!

I was wondering what the advantages are of triggering a Kubeflow pipeline over calling Vertex AI endpoints from the cloud function directly? Or is the latter not possible?

doender avatar Jul 12 '22 11:07 doender

@doender

Vertex AI pipeline can be triggered in any ways, and you can benefit many things by triggering it in Cloud Function. For example:

  • Cloud Function can be triggered from events from GCP's other services.
  • When it is set to be triggered by GCS bucket, whenever there are changes in a bucket, you can decide to trigger the pipeline by putting some conditional logics in the Cloud Function.
  • When it is set to be triggered by Cloud Scheduler, you can periodically check if the performance of the currently deployed model degraded, and you can trigger the pipeline based on the threshold you set
  • ....

deep-diver avatar Jul 17 '22 14:07 deep-diver