MLOps Design Considerations

Agenda

  1. Introduction and Overview of MLOps
  2. Introduction to AWS and Cloud Computing
  3. Top Products Demo in AWS

Introduction to MLOps

MLOps Mind Map

MLOps Mind Map

Why Not Run Notebooks in Production?

Meme: "That's the neat part—you don't"

  1. Version Control:
  2. Execution Order:
  3. Modular Code:
  4. Testing and Code Reviews:
  5. Deployment Complexity:
  6. Environment Consistency:
  7. Orchestration and Logging:
  8. Security Concerns:

Importance of MLOps


Netflix Movie Recommender Example

Problem Statement

Scenario 1: Rule-Based System

Architecture Diagram

alt text

Characteristics

DevOps Perspective

Scenario 2: ML-Based System

Architecture Diagram

alt text

Characteristics

MLOps Perspective

Comparing DevOps and MLOps

DevOps

MLOps

Key Differences

Key Takeaways


Deploying Models Without APIs


MLOps System Design

Deployment Strategies

Deploying Models Without APIs

Continuous Improvement in MLOps

Building and Deploying Models

Responsibilities in MLOps

System Design in MLOps

High-Level Overview

alt text

MLOps Tools and Technologies

ETL and Feature Engineering

Standardization in MLOps


MLOps Lifecycle

Phases and Activities

  1. ML Development:
  2. Training Operationalization:
  3. Continuous Training:
  4. Model Deployment:
  5. Prediction Serving:
  6. Continuous Monitoring:

Data and Model Management

Differences Between ML Models

Classic ML vs. Deep Learning vs. RAG

Monitoring Model Performance

Variety of MLOps Tools

DevOps and MLOps Integration

DevOps Loop

CI/CD in DevOps

CI/CD/CT in MLOps

Case Study: Uber’s Michelangelo Platform

Amazon SageMaker