Tutorials.

Notebooks, repositories, and demos, organized by lecture.

All lessons on Ed

22 lectures

Lecture 1: Virtual Environments and Virtual Machines

Ed lesson

Create Simple Translate App - No Docker, No UV

Create Simple Translate App with UV (GCP) / Pipenv (AWS), No Docker

Lecture 2: Containers I

Ed lesson

Create Simple Translate App with Docker, Push Image to Docker Hub

Run App in VM using Docker

Lecture 3: Containers II

Ed lesson

Mega Pipeline App

Lecture 4: Containers II-b

Ed lesson

Docker

Mega Pipeline App with Flexible Workflow

Docker Compose: Port Toy App

  • Description: Container networks and ports. Two containers, one published port, one message.
  • GCP GitHub URL: Port Toy App

Lecture 5: LLM: RAGs

Ed lesson

LLM-RAG

  • Description: Building a RAG System with Vector DB and LLM
  • GCP GitHub URL: LLM-1

Lecture 6: LLM: Agents I

Ed lesson

LLM Agents

  • Description: LLM Agents notebooks and the agents section of the LLM-RAG repository
    • LLM Agents - The Cheesy way - Cheese Quiz: Colab
    • LLM-RAG with Agents: GitHub
    • Travel Planner: Colab
    • Cheese Newsletter: Colab

Lecture 7: LLM: Agents II (+Agents Practical Use)

Ed lesson

Agent Harness

Lecture 8: LLM: Finetuning

Ed lesson

LLM-Fine Tuning

Lecture 9: Automating Software Development: CI, unit testing

Ed lesson

Taught as a guest lecture by Rahul Dave ("Software Development for Machine Learning").

Testing with Pytest

  • Description: Unit, integration, system and acceptance tests with pytest
  • GCP GitHub URL: Testing with Pytest

Automating with Pre-commit Hooks

  • Description: Local git hooks that run linters, formatters and tests before each commit
  • GCP GitHub URL: Pre-commit Hooks

Lecture 10: Connecting to the Cloud: Networking, Authentication & Storage

Ed lesson

LLM-Fine Tuning

Lecture 11: Data Management and Versioning

Ed lesson

Label Studio

Data Versioning

  • Description: Learn about versioning practices in development. Particularly, how to use DVC for data versioning.
  • GCP GitHub URL: DVC

Lecture 12: App Design

Ed lesson

Steps to build a Solution Architecture

Lecture 13: Advanced Training Workflows: experiment tracking (W&B), multi-GPU, serverless training (Vertex AI)

Ed lesson

Experiment Tracking

Advanced Workflow: Serverless Model Training with Vertex AI

Lecture 14: Serverless Deployment: Functions, Services, Identity, and Jobs

Ed lesson

Serverless Deployment

Lecture 15: ML Workflows with Vertex AI

Ed lesson

Model Deployment using Vertex AI

ML Workflow

  • Description: Vertex AI ML Workflow for pipeline. Data Processing, data collection, model training, model deployment.
  • GCP GitHub URL: ML Workflow
  • AWS GitHub URL: ML Workflow - AWS

Lecture 16: System Tradeoffs: Performance, Cost, and Design Choices

Ed lesson

Lecture 17: Evaluating and Monitoring ML Systems in Production

Ed lesson

Production Monitoring

  • Description: Investigate a failing cheese model in production from its prediction logs, then build the monitoring that would have caught it.
  • GCP GitHub URL: Production Monitoring

Lecture 18: APIs + Frontend

Ed lesson

APIs & Frontend Demo

API & Frontend

Backend and FastAPI

Frontend React

Lecture 19: Scaling: Kubernetes (local)

Ed lesson

Cheese Shop Demo App

Cheese App v3: Vector DB, API & Frontend

Lecture 20: Deployment: Pulumi

Ed lesson

Deploy to a VM by hand

Deploy to a VM with Pulumi

Deploy to Kubernetes with Pulumi (GKE)

  • Description: Reuse the images in Artifact Registry, create a GKE cluster with Pulumi, and deploy the same app.
  • GCP GitHub URL: Cheese App v3: GKE deployment

Lecture 21: A recipe on all CI/CD all together

The CI/CD recipe link is coming soon.

GitHub Actions reference

Lecture 22: Final Deployment and Review

Formaggio live deployment

  • Description: Review Formaggio, propose a feature, push the change, and check the deployed result.