SlideShare a Scribd company logo
VertexAI
PipelinesforyourMLOpsworkflows
Márton Kodok
Software Architect at REEA.net
July 3-5, Barcelona
1. What is Vertex AI?
2. Build, train and deploy ML solutions
3. What is MLOps?
4. Using Pipelines throughout your ML workflow
5. Adapting to changes of data
6. Conclusions
Agenda
Vertex AI: Pipelines for your MLOps workflows @martonkodok
● Among the Top 3 romanians on Stackoverflow 204k reputation
● Google Developer Expert on Cloud technologies (2016→)
● Champion of Google Cloud Innovators program (2021→)
● Crafting Cloud Architecture+ML backends at REEA.net
Articles: martonkodok.medium.com
Twitter: @martonkodok
Slideshare: martonkodok
StackOverflow: pentium10
GitHub: pentium10
Vertex AI: Pipelines for your MLOps workflows @martonkodok
About me
@martonkodok
What is
Vertex AI?
Part #1
“ VertexAI is a managed ML platform for developers
@martonkodok
1. Build generative AI apps quickly and responsibly by easily accessing a variety of foundation
models with Model Garden and Generative AI Studio
2. Accelerate ML with tooling for pre-trained and custom models
3. Implement MLOps practices to efficiently scale, manage and govern your ML workloads
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Vertex AI: One AI platform, every ML tool you need
What’s included in VertexAI?
@martonkodok
Data Labeling
AutoML models
DL Environment (DL VM + DL Container)
Prediction
Feature Store Training
Experiments
Data Readiness
Feature
Engineering
Training/
HP-Tuning
Model
Monitoring
Model serving
Understanding/
Tuning
Edge
Model
Management
Notebooks
Pipelines (Orchestration)
Explainable AI
Hybrid AI
Model
Monitoring
Metadata
Vision-Video-NLP-Translate
Models
Datasets
Custom Models
Containers
Python
Endpoints
BigQuery ML
BigQuery Models
Publisher
Pre-trained
models
Model Garden GenAI Studio
Foundation -> LLM Palm 2 API
Where does VertexAI fit in?
Application Servers
Vertex AI
Desktop client
Mobile client
End-to-end platform for
ML model development
and deployment
Backend
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Application Logic
VertexAI is a serverless MLOps platform
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Operational
Model
Programming
Model
No Infra Management Managed Security Pay only for usage
Model-as-a-service
oriented
Streamlined model
development
Open SDKs,
integrates with ML frameworks
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Model Garden
Open Source
Models
Task Specific
AutoML and APIs
Foundation
Models
Now in GA
Model Garden
The PaLM 2 is available only in the US. @martonkodok
Foundation Models
Embeddings API for
Text and Image
Extract semantic information
from unstructured data
PaLM for Text
Custom language tasks
PaLM for Chat
Multi-turn conversations with
session context
Codey for
Code Generation
Improve coding and debugging
Now in GA
Now in GA
Preview
Preview
The PaLM 2 is available only in the US. @martonkodok
Sample code for GenAI on Google Cloud
goo.gle/gen-ai-github
Vertex AI: Pipelines for your MLOps workflows @martonkodok
VertexAI:Managed unified ML platform
Fine-tuning *
“ VertexAI autoML use cases
Vertex AI: Pipelines for your MLOps workflows @martonkodok
What’s included in VertexAI?
@martonkodok
Data Labeling
AutoML models
DL Environment (DL VM + DL Container)
Prediction
Feature Store Training
Experiments
Data Readiness
Feature
Engineering
Training/
HP-Tuning
Model
Monitoring
Model serving
Understanding/
Tuning
Edge
Model
Management
Notebooks
Pipelines (Orchestration)
Explainable AI
Hybrid AI
Model
Monitoring
Metadata
Vision-Video-NLP-Translate
Models
Datasets
Custom Models
Containers
Python
Endpoints
BigQuery ML
BigQuery Models
Publisher
Pre-trained
models
Model Garden GenAI Studio
Foundation -> LLM Palm 2 API
- Regression/classification
- Forecasting
- Single-label classification
- Multi-label classification
- Text entity extraction
- Text sentiment analysis
- Video action recognition
- Video classifications
for entire video, shots, frames
- Video object tracking
AutoML: Managed datasets + objectives
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Image Tabular Text Video
- Single-label classification
- Multi-label classification
- Image object detection
- Image segmentation
Vertex AI: Managed dataset + objectives
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Image
Create an image classification prediction model
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Create an image classification prediction model
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Create an image object detection model
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Vertex AI: Managed dataset + objectives
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Tabular
Vertex AI: Managed dataset + objectives
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Text
Vertex AI: Managed dataset + objectives
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Video
Train models
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Build dataset Train model
Scalably
deploy
model
Evaluate,
monitor,
retrain
1. AutoML out-of-the box training integration
No-code solution. You must target one of the AutoML’s predefined objectives.
2. Custom Training - run your own training applications in the cloud
Train with one of the Google’s pre-builtcontainers or useyourown.
Training
@martonkodok
Pre-built containers for custom training
https://cloud.google.com/vertex-ai/docs/training/pre-built-containers @martonkodok
Tensorflow
ML Framework version 1.15-2.9
use with Cuda 11.x GPU
scikit-learn
ML Framework version 0.23
No GPUs
PyTorch
ML Framework version 1.4 - 1.11
use with Cuda 11.x GPU
XGBoost
ML Framework version 1.1
No GPUs
Deploying models
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Build dataset Train model
Scalably
deploy
model
Evaluate,
monitor,
retrain
“ You can deploy models on VertexAI
and get a HTTPs Endpointsto serve
predictions rapidly and reliably.
Vertex AI: Pipelines for your MLOps workflows @martonkodok
1. Deploy a model and get aREST endpointto serve predictions realtime or batched
2. You can use models whetherornotthemodelwastrained on Vertex AI.
3. Specify a prediction traffic split in your endpoint.
4. VPC Private Network option for custom-trained models/tabular models
Vertex AI: Endpoints
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Vertex AI Endpoints Backend Prediction
deploy REST
@martonkodok
What is
ML Ops?
Part #2
Elements for ML systems
Adapted from Hidden Technical Debt in Machine Learning Systems. @martonkodok
“ DevOpsprinciples to MLsystems
Vertex AI: Pipelines for your MLOps workflows @martonkodok
What is MLOps?
“Continuousdelivery and automationpipelines
for machinelearning systems.
Vertex AI: Pipelines for your MLOps workflows @martonkodok
What is MLOps?
MLOpslevels
@martonkodok
🖐
Level 0:
Manual process
Level 1:
ML pipeline automation
Level 2:
CI/CD pipeline automation
Levelsofautomation defines maturity of theMLprocess
Process
Release cycle
Development
principle
Trigger action
MLOps level 0:
Manual process
Build & deploy is
entirely manual
Infrequent release
iterations
No CI/ CD
None. Disconnection
between ML and
operations.
MLOps level 1:
ML pipeline automation
MLOps level 2:
CI/CD pipeline automation
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Continuous training by
automating the ML pipeline
Achieve continuous delivery
of model prediction
Automate the
build/train/deploy pipeline
New pipelines mostly based
on new data.
Iteratively try out new ML
algorithms, orchestrated
experiment steps
Continuous source code
packaging. Build source.
Build source, run test, output is
pipeline. Trigger pipeline.
New CI/CD pipeline based on
source code/orchestrated
experiments.
MLOps level 2: CI/CDpipelineautomation
@martonkodok
Levelsofautomation defines maturity of theMLprocess
Levelsofautomation defines maturity of theMLprocess
Levelsofautomation defines maturity of theMLprocess
Using Pipelines
throughout your
ML workflow
Part #3
What’s included in VertexAI?
* in Preview @martonkodok
Data Labeling
AutoML models
DL Environment (DL VM + DL Container)
Prediction
Feature Store Training
Experiments
Data Readiness
Feature
Engineering
Training/
HP-Tuning
Model
Monitoring
Model serving
Understanding/
Tuning
Edge
Model
Management
Notebooks
Pipelines (Orchestration)
Explainable AI
Hybrid AI
Model
Monitoring
Metadata
Vision-Video-NLP-Translate
Models
Datasets
Custom Models
Containers
Python
Endpoints
BigQuery ML
BigQuery Models
Publisher
Pre-trained
models
Model Garden GenAI Studio
Foundation -> LLM Palm 2 API
“ Why are MLpipelines useful?
Vertex AI: Pipelines for your MLOps workflows @martonkodok
1. Orchestrate ML workflow steps as a process.
We no longer handle all data gathering, model training, tuning, evaluation, deployment as a monolith.
2. Adopt MLOps for production models. We need a repeatable, verifiable, and automatic process for
making any change to a production model.
3. Develop steps independently -as you scale out, enables you to share your ML workflow with others on
your team, so they can run it, and contribute code. Enablesyoutotracktheinputandoutputfromeach
stepinareproducibleway.
Why are ML pipelines useful?
@martonkodok
Vertex AI: Pipelines
Vertex AI: Pipelines for your MLOps workflows
Source: Piero Esposito
https://github.com/piEsposito/vertex-ai-tutorials
Using Pipelines throughout your ML workflow
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Gather data Train model
Deploy
model
Pipeline Components
Vertex AI: Pipelines for your MLOps workflows
pipeline_components_automl_images.ipynb
github.com/GoogleCloudPlatform/vertex-ai-samples
Pipeline Components
Vertex AI: Pipelines for your MLOps workflows
Using Pipelines throughout your ML workflow
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Gather data Train model
Evaluate
model
Scalably
deploy
model
Pipeline SDK: Condition
Vertex AI: Pipelines for your MLOps workflows
automl_tabular_classification_beans.ipynb
github.com/GoogleCloudPlatform/vertex-ai-samples
1. Use of the Google Cloud Pipeline Components, which support easy access to Vertex AI services
2. Custom Components - function that compiles to a task ‘factory’ function that can be used by pipelines
3. No more Kubeflow Pipelines that must be deployed on a Kubernetes Cluster.
4. Sharing component specifications - the YAML format allows the component to be put under version
control and shared with others, or be used by other pipelines by calling the load_from_url function.
5. Leveraging Pipeline step caching to develop and debug
Developer friendly components
@martonkodok
What’s included in VertexAI?
* in Preview @martonkodok
Data Labeling
AutoML models
DL Environment (DL VM + DL Container)
Prediction
Feature Store Training
Experiments
Data Readiness
Feature
Engineering
Training/
HP-Tuning
Model
Monitoring
Model serving
Understanding/
Tuning
Edge
Model
Management
Notebooks
Pipelines (Orchestration)
Explainable AI
Hybrid AI
Model
Monitoring
Metadata
Vision-Video-NLP-Translate
Models
Datasets
Custom Models
Containers
Python
Endpoints
BigQuery ML
BigQuery Models
Publisher
Pre-trained
models
Model Garden GenAI Studio
Foundation -> LLM Palm 2 API
Part #4
Adapting to
changes of data
Automatic CI / CD Perspective with GCP Services
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Eventarc
• Detect changes on data
• React to events from Cloud services
• Handle events on Cloud Workflows,
Cloud Functions, Cloud Run
• Reuse pipeline spec.json from GCS
• Trigger Vertex AI pipeline
• Detect changes in codebase
• Build pipeline
• Pipeline spec.json to Cloud Storage
• Image to Cloud Registry
• Trigger Vertex AI pipeline
Cloud Build
Cloud Scheduler
• Poll for changes of any data
• Launch based on schedule
• In tandem with Cloud Workflows
• Trigger Vertex AI pipeline
Conclusion
Vertex AI: Pipelines for your MLOps workflows @martonkodok
1. Build with the groundbreaking ML tools that power Google
2. Approachable from the non-ML developer perspective (AutoML, managed models, training)
3. Ease the life of a data scientist/ML (has feature store, managed datasets, endpoints, notebooks)
4. End-to-end integration for data and AI with build pipelines that outperform and solve complex ML tasks
5. GitOps-style continuous delivery with Cloud Build
6. Explainable AI and TensorBoard to visualize and track ML experiments
Vertex AI: Enhanced developer experience
Vertex AI: Pipelines for your MLOps workflows @martonkodok
slideshare.net/martonkodok
Vertex AI: Pipelines for your MLOps workflows @martonkodok
Twitter: @martonkodok
Thank you. Q&A.
Reea.net - Integrated web solutions driven by creativity
to deliver projects.
Follow for articles:
martonkodok.medium.com
Slides available on:
slideshare.net/martonkodok

More Related Content

PDF
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
PPTX
MLOps - The Assembly Line of ML
PPTX
MLOps in action
PPTX
GCP Deployment- Vertex AI
PDF
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
PDF
Best Practice on using Azure OpenAI Service
PDF
The A-Z of Data: Introduction to MLOps
PDF
Vertex AI: Pipelines for your MLOps workflows
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
MLOps - The Assembly Line of ML
MLOps in action
GCP Deployment- Vertex AI
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Best Practice on using Azure OpenAI Service
The A-Z of Data: Introduction to MLOps
Vertex AI: Pipelines for your MLOps workflows

What's hot (20)

PDF
Making Testing Easy w GitHub Copilot.pdf
PDF
Introduction to MLflow
PDF
LLMs in Production: Tooling, Process, and Team Structure
PPTX
Supercharging your Data with Azure AI Search and Azure OpenAI
PDF
Large Language Models Bootcamp
PDF
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
PDF
What is MLOps
PPTX
Introduction to Azure monitor
PDF
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
PDF
Managing the Complete Machine Learning Lifecycle with MLflow
PPTX
Google Vertex AI
PDF
Introduction to GitHub Copilot
PDF
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
PDF
Apply MLOps at Scale by H&M
PDF
Ml ops intro session
PPTX
Azure purview
PPTX
Microsoft DevOps Solution - DevOps
PDF
Generative-AI-in-enterprise-20230615.pdf
PDF
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
PPTX
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Making Testing Easy w GitHub Copilot.pdf
Introduction to MLflow
LLMs in Production: Tooling, Process, and Team Structure
Supercharging your Data with Azure AI Search and Azure OpenAI
Large Language Models Bootcamp
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
What is MLOps
Introduction to Azure monitor
Gen AI Cognizant & AWS event presentation_12 Oct.pdf
Managing the Complete Machine Learning Lifecycle with MLflow
Google Vertex AI
Introduction to GitHub Copilot
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
Apply MLOps at Scale by H&M
Ml ops intro session
Azure purview
Microsoft DevOps Solution - DevOps
Generative-AI-in-enterprise-20230615.pdf
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Ad

Similar to DevBCN Vertex AI - Pipelines for your MLOps workflows (20)

PDF
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
PDF
Tech leaders guide to effective building of machine learning products
PPTX
MLOps Virtual Event | Building Machine Learning Platforms for the Full Lifecycle
PDF
MLFlow: Platform for Complete Machine Learning Lifecycle
PPTX
Build 2019 Recap
PPTX
databricks ml flow demonstration using automatic features engineering
PPTX
Serverless machine learning architectures at Helixa
PPTX
Introducing MlFlow: An Open Source Platform for the Machine Learning Lifecycl...
PDF
Deep AutoViML For Tensorflow Models and MLOps Workflows
PDF
"Managing the Complete Machine Learning Lifecycle with MLflow"
PDF
Mlflow with databricks
PDF
MLflow with Databricks
PDF
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
PPTX
.NET Fundamentals and Business Application Development
PDF
T-GCPMLE-A-m1-l1-en-bxbnzmmafile-1.en.pdf
PDF
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
DOCX
PPTX
From Data Science to MLOps
PDF
mlflow: Accelerating the End-to-End ML lifecycle
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
Tech leaders guide to effective building of machine learning products
MLOps Virtual Event | Building Machine Learning Platforms for the Full Lifecycle
MLFlow: Platform for Complete Machine Learning Lifecycle
Build 2019 Recap
databricks ml flow demonstration using automatic features engineering
Serverless machine learning architectures at Helixa
Introducing MlFlow: An Open Source Platform for the Machine Learning Lifecycl...
Deep AutoViML For Tensorflow Models and MLOps Workflows
"Managing the Complete Machine Learning Lifecycle with MLflow"
Mlflow with databricks
MLflow with Databricks
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
.NET Fundamentals and Business Application Development
T-GCPMLE-A-m1-l1-en-bxbnzmmafile-1.en.pdf
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
From Data Science to MLOps
mlflow: Accelerating the End-to-End ML lifecycle
Ad

More from Márton Kodok (20)

PDF
AI Agents with Gemini 2.0 - Beyond the Chatbot
PDF
Gemini 2.0 and Vertex AI for Innovation Workshop
PDF
Function Calling with the Vertex AI Gemini API
PDF
Vector search and multimodal embeddings in BigQuery
PDF
BigQuery Remote Functions for Dynamic Mapping of E-mobility Charging Networks
PDF
Build applications with generative AI on Google Cloud
PDF
Discover BigQuery ML, build your own CREATE MODEL statement
PDF
Cloud Run - the rise of serverless and containerization
PDF
BigQuery best practices and recommendations to reduce costs with BI Engine, S...
PDF
Cloud Workflows What's new in serverless orchestration and automation
PDF
Serverless orchestration and automation with Cloud Workflows
PDF
Serverless orchestration and automation with Cloud Workflows
PDF
Serverless orchestration and automation with Cloud Workflows
PDF
BigdataConference Europe - BigQuery ML
PDF
DevFest Romania 2020 Keynote: Bringing the Cloud to you.
PDF
BigQuery ML - Machine learning at scale using SQL
PDF
Applying BigQuery ML on e-commerce data analytics
PDF
Supercharge your data analytics with BigQuery
PDF
Vibe Koli 2019 - Utazás az egyetem padjaitól a Google Developer Expertig
PDF
BigQuery ML - Machine learning at scale using SQL
AI Agents with Gemini 2.0 - Beyond the Chatbot
Gemini 2.0 and Vertex AI for Innovation Workshop
Function Calling with the Vertex AI Gemini API
Vector search and multimodal embeddings in BigQuery
BigQuery Remote Functions for Dynamic Mapping of E-mobility Charging Networks
Build applications with generative AI on Google Cloud
Discover BigQuery ML, build your own CREATE MODEL statement
Cloud Run - the rise of serverless and containerization
BigQuery best practices and recommendations to reduce costs with BI Engine, S...
Cloud Workflows What's new in serverless orchestration and automation
Serverless orchestration and automation with Cloud Workflows
Serverless orchestration and automation with Cloud Workflows
Serverless orchestration and automation with Cloud Workflows
BigdataConference Europe - BigQuery ML
DevFest Romania 2020 Keynote: Bringing the Cloud to you.
BigQuery ML - Machine learning at scale using SQL
Applying BigQuery ML on e-commerce data analytics
Supercharge your data analytics with BigQuery
Vibe Koli 2019 - Utazás az egyetem padjaitól a Google Developer Expertig
BigQuery ML - Machine learning at scale using SQL

Recently uploaded (20)

PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
medical staffing services at VALiNTRY
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
AI in Product Development-omnex systems
PDF
How Creative Agencies Leverage Project Management Software.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Understanding Forklifts - TECH EHS Solution
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Navsoft: AI-Powered Business Solutions & Custom Software Development
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Digital Strategies for Manufacturing Companies
medical staffing services at VALiNTRY
Design an Analysis of Algorithms II-SECS-1021-03
L1 - Introduction to python Backend.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
AI in Product Development-omnex systems
How Creative Agencies Leverage Project Management Software.pdf

DevBCN Vertex AI - Pipelines for your MLOps workflows

  • 2. 1. What is Vertex AI? 2. Build, train and deploy ML solutions 3. What is MLOps? 4. Using Pipelines throughout your ML workflow 5. Adapting to changes of data 6. Conclusions Agenda Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 3. ● Among the Top 3 romanians on Stackoverflow 204k reputation ● Google Developer Expert on Cloud technologies (2016→) ● Champion of Google Cloud Innovators program (2021→) ● Crafting Cloud Architecture+ML backends at REEA.net Articles: martonkodok.medium.com Twitter: @martonkodok Slideshare: martonkodok StackOverflow: pentium10 GitHub: pentium10 Vertex AI: Pipelines for your MLOps workflows @martonkodok About me
  • 5. “ VertexAI is a managed ML platform for developers @martonkodok
  • 6. 1. Build generative AI apps quickly and responsibly by easily accessing a variety of foundation models with Model Garden and Generative AI Studio 2. Accelerate ML with tooling for pre-trained and custom models 3. Implement MLOps practices to efficiently scale, manage and govern your ML workloads Vertex AI: Pipelines for your MLOps workflows @martonkodok Vertex AI: One AI platform, every ML tool you need
  • 7. What’s included in VertexAI? @martonkodok Data Labeling AutoML models DL Environment (DL VM + DL Container) Prediction Feature Store Training Experiments Data Readiness Feature Engineering Training/ HP-Tuning Model Monitoring Model serving Understanding/ Tuning Edge Model Management Notebooks Pipelines (Orchestration) Explainable AI Hybrid AI Model Monitoring Metadata Vision-Video-NLP-Translate Models Datasets Custom Models Containers Python Endpoints BigQuery ML BigQuery Models Publisher Pre-trained models Model Garden GenAI Studio Foundation -> LLM Palm 2 API
  • 8. Where does VertexAI fit in? Application Servers Vertex AI Desktop client Mobile client End-to-end platform for ML model development and deployment Backend Vertex AI: Pipelines for your MLOps workflows @martonkodok Application Logic
  • 9. VertexAI is a serverless MLOps platform Vertex AI: Pipelines for your MLOps workflows @martonkodok Operational Model Programming Model No Infra Management Managed Security Pay only for usage Model-as-a-service oriented Streamlined model development Open SDKs, integrates with ML frameworks
  • 10. Vertex AI: Pipelines for your MLOps workflows @martonkodok Model Garden Open Source Models Task Specific AutoML and APIs Foundation Models Now in GA Model Garden
  • 11. The PaLM 2 is available only in the US. @martonkodok Foundation Models Embeddings API for Text and Image Extract semantic information from unstructured data PaLM for Text Custom language tasks PaLM for Chat Multi-turn conversations with session context Codey for Code Generation Improve coding and debugging Now in GA Now in GA Preview Preview
  • 12. The PaLM 2 is available only in the US. @martonkodok Sample code for GenAI on Google Cloud goo.gle/gen-ai-github
  • 13. Vertex AI: Pipelines for your MLOps workflows @martonkodok VertexAI:Managed unified ML platform Fine-tuning *
  • 14. “ VertexAI autoML use cases Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 15. What’s included in VertexAI? @martonkodok Data Labeling AutoML models DL Environment (DL VM + DL Container) Prediction Feature Store Training Experiments Data Readiness Feature Engineering Training/ HP-Tuning Model Monitoring Model serving Understanding/ Tuning Edge Model Management Notebooks Pipelines (Orchestration) Explainable AI Hybrid AI Model Monitoring Metadata Vision-Video-NLP-Translate Models Datasets Custom Models Containers Python Endpoints BigQuery ML BigQuery Models Publisher Pre-trained models Model Garden GenAI Studio Foundation -> LLM Palm 2 API
  • 16. - Regression/classification - Forecasting - Single-label classification - Multi-label classification - Text entity extraction - Text sentiment analysis - Video action recognition - Video classifications for entire video, shots, frames - Video object tracking AutoML: Managed datasets + objectives Vertex AI: Pipelines for your MLOps workflows @martonkodok Image Tabular Text Video - Single-label classification - Multi-label classification - Image object detection - Image segmentation
  • 17. Vertex AI: Managed dataset + objectives Vertex AI: Pipelines for your MLOps workflows @martonkodok Image
  • 18. Create an image classification prediction model Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 19. Create an image classification prediction model Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 20. Create an image object detection model Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 21. Vertex AI: Managed dataset + objectives Vertex AI: Pipelines for your MLOps workflows @martonkodok Tabular
  • 22. Vertex AI: Managed dataset + objectives Vertex AI: Pipelines for your MLOps workflows @martonkodok Text
  • 23. Vertex AI: Managed dataset + objectives Vertex AI: Pipelines for your MLOps workflows @martonkodok Video
  • 24. Train models Vertex AI: Pipelines for your MLOps workflows @martonkodok Build dataset Train model Scalably deploy model Evaluate, monitor, retrain
  • 25. 1. AutoML out-of-the box training integration No-code solution. You must target one of the AutoML’s predefined objectives. 2. Custom Training - run your own training applications in the cloud Train with one of the Google’s pre-builtcontainers or useyourown. Training @martonkodok
  • 26. Pre-built containers for custom training https://cloud.google.com/vertex-ai/docs/training/pre-built-containers @martonkodok Tensorflow ML Framework version 1.15-2.9 use with Cuda 11.x GPU scikit-learn ML Framework version 0.23 No GPUs PyTorch ML Framework version 1.4 - 1.11 use with Cuda 11.x GPU XGBoost ML Framework version 1.1 No GPUs
  • 27. Deploying models Vertex AI: Pipelines for your MLOps workflows @martonkodok Build dataset Train model Scalably deploy model Evaluate, monitor, retrain
  • 28. “ You can deploy models on VertexAI and get a HTTPs Endpointsto serve predictions rapidly and reliably. Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 29. 1. Deploy a model and get aREST endpointto serve predictions realtime or batched 2. You can use models whetherornotthemodelwastrained on Vertex AI. 3. Specify a prediction traffic split in your endpoint. 4. VPC Private Network option for custom-trained models/tabular models Vertex AI: Endpoints Vertex AI: Pipelines for your MLOps workflows @martonkodok Vertex AI Endpoints Backend Prediction deploy REST
  • 31. Elements for ML systems Adapted from Hidden Technical Debt in Machine Learning Systems. @martonkodok
  • 32. “ DevOpsprinciples to MLsystems Vertex AI: Pipelines for your MLOps workflows @martonkodok What is MLOps?
  • 33. “Continuousdelivery and automationpipelines for machinelearning systems. Vertex AI: Pipelines for your MLOps workflows @martonkodok What is MLOps?
  • 34. MLOpslevels @martonkodok 🖐 Level 0: Manual process Level 1: ML pipeline automation Level 2: CI/CD pipeline automation
  • 35. Levelsofautomation defines maturity of theMLprocess Process Release cycle Development principle Trigger action MLOps level 0: Manual process Build & deploy is entirely manual Infrequent release iterations No CI/ CD None. Disconnection between ML and operations. MLOps level 1: ML pipeline automation MLOps level 2: CI/CD pipeline automation Vertex AI: Pipelines for your MLOps workflows @martonkodok Continuous training by automating the ML pipeline Achieve continuous delivery of model prediction Automate the build/train/deploy pipeline New pipelines mostly based on new data. Iteratively try out new ML algorithms, orchestrated experiment steps Continuous source code packaging. Build source. Build source, run test, output is pipeline. Trigger pipeline. New CI/CD pipeline based on source code/orchestrated experiments.
  • 36. MLOps level 2: CI/CDpipelineautomation @martonkodok
  • 41. What’s included in VertexAI? * in Preview @martonkodok Data Labeling AutoML models DL Environment (DL VM + DL Container) Prediction Feature Store Training Experiments Data Readiness Feature Engineering Training/ HP-Tuning Model Monitoring Model serving Understanding/ Tuning Edge Model Management Notebooks Pipelines (Orchestration) Explainable AI Hybrid AI Model Monitoring Metadata Vision-Video-NLP-Translate Models Datasets Custom Models Containers Python Endpoints BigQuery ML BigQuery Models Publisher Pre-trained models Model Garden GenAI Studio Foundation -> LLM Palm 2 API
  • 42. “ Why are MLpipelines useful? Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 43. 1. Orchestrate ML workflow steps as a process. We no longer handle all data gathering, model training, tuning, evaluation, deployment as a monolith. 2. Adopt MLOps for production models. We need a repeatable, verifiable, and automatic process for making any change to a production model. 3. Develop steps independently -as you scale out, enables you to share your ML workflow with others on your team, so they can run it, and contribute code. Enablesyoutotracktheinputandoutputfromeach stepinareproducibleway. Why are ML pipelines useful? @martonkodok
  • 44. Vertex AI: Pipelines Vertex AI: Pipelines for your MLOps workflows Source: Piero Esposito https://github.com/piEsposito/vertex-ai-tutorials
  • 45. Using Pipelines throughout your ML workflow Vertex AI: Pipelines for your MLOps workflows @martonkodok Gather data Train model Deploy model
  • 46. Pipeline Components Vertex AI: Pipelines for your MLOps workflows pipeline_components_automl_images.ipynb github.com/GoogleCloudPlatform/vertex-ai-samples
  • 47. Pipeline Components Vertex AI: Pipelines for your MLOps workflows
  • 48. Using Pipelines throughout your ML workflow Vertex AI: Pipelines for your MLOps workflows @martonkodok Gather data Train model Evaluate model Scalably deploy model
  • 49. Pipeline SDK: Condition Vertex AI: Pipelines for your MLOps workflows automl_tabular_classification_beans.ipynb github.com/GoogleCloudPlatform/vertex-ai-samples
  • 50. 1. Use of the Google Cloud Pipeline Components, which support easy access to Vertex AI services 2. Custom Components - function that compiles to a task ‘factory’ function that can be used by pipelines 3. No more Kubeflow Pipelines that must be deployed on a Kubernetes Cluster. 4. Sharing component specifications - the YAML format allows the component to be put under version control and shared with others, or be used by other pipelines by calling the load_from_url function. 5. Leveraging Pipeline step caching to develop and debug Developer friendly components @martonkodok
  • 51. What’s included in VertexAI? * in Preview @martonkodok Data Labeling AutoML models DL Environment (DL VM + DL Container) Prediction Feature Store Training Experiments Data Readiness Feature Engineering Training/ HP-Tuning Model Monitoring Model serving Understanding/ Tuning Edge Model Management Notebooks Pipelines (Orchestration) Explainable AI Hybrid AI Model Monitoring Metadata Vision-Video-NLP-Translate Models Datasets Custom Models Containers Python Endpoints BigQuery ML BigQuery Models Publisher Pre-trained models Model Garden GenAI Studio Foundation -> LLM Palm 2 API
  • 53. Automatic CI / CD Perspective with GCP Services Vertex AI: Pipelines for your MLOps workflows @martonkodok Eventarc • Detect changes on data • React to events from Cloud services • Handle events on Cloud Workflows, Cloud Functions, Cloud Run • Reuse pipeline spec.json from GCS • Trigger Vertex AI pipeline • Detect changes in codebase • Build pipeline • Pipeline spec.json to Cloud Storage • Image to Cloud Registry • Trigger Vertex AI pipeline Cloud Build Cloud Scheduler • Poll for changes of any data • Launch based on schedule • In tandem with Cloud Workflows • Trigger Vertex AI pipeline
  • 54. Conclusion Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 55. 1. Build with the groundbreaking ML tools that power Google 2. Approachable from the non-ML developer perspective (AutoML, managed models, training) 3. Ease the life of a data scientist/ML (has feature store, managed datasets, endpoints, notebooks) 4. End-to-end integration for data and AI with build pipelines that outperform and solve complex ML tasks 5. GitOps-style continuous delivery with Cloud Build 6. Explainable AI and TensorBoard to visualize and track ML experiments Vertex AI: Enhanced developer experience Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 56. slideshare.net/martonkodok Vertex AI: Pipelines for your MLOps workflows @martonkodok
  • 57. Twitter: @martonkodok Thank you. Q&A. Reea.net - Integrated web solutions driven by creativity to deliver projects. Follow for articles: martonkodok.medium.com Slides available on: slideshare.net/martonkodok