AIAny
Icon for item

Machine Learning Systems

A free, open textbook on engineering ML systems — building efficient, reliable AI from a single GPU up to warehouse-scale clusters. Goes beyond model design and MLOps tooling to the underlying science: scheduling, quantization, data pipelines, serving.

Introduction

Most ML curricula stop at the model: architectures, loss functions, a training loop that fits in a notebook. The harder problem — making that model run efficiently and reliably on real hardware, from a single GPU to a datacenter — is exactly where this textbook lives, treating ML systems as an engineering discipline with its own underlying science.

What Sets It Apart
  • It teaches principles, not a tool stack. Where MLOps guides chain together vendors and deep-learning texts dwell on architectures, this explains why systems behave as they do, so the reasoning transfers to any infrastructure.
  • Two volumes mirror how scale actually breaks things: Volume I covers single-machine fundamentals (optimization, INT8 quantization, KV-cache memory limits, model-to-silicon mapping); Volume II covers distributed production systems (GPU scheduling, fault tolerance, governance).
  • It ships a full learning ecosystem, not just prose: interactive Marimo labs, TinyTorch (a build-your-own ML framework), hardware kits for Arduino/Raspberry Pi, and lecture slides.
  • It is genuinely free and open (CC-BY-NC-SA), with 100+ contributors and 25,000+ GitHub stars; a print edition with MIT Press is planned for 2026.
Who It's For

A strong fit if you can already train a model but freeze when asked how to serve it under latency and memory budgets, or if you're an educator assembling an ML systems course from scratch. Look elsewhere if you want a deep-learning theory text or a copy-paste MLOps recipe book — this trades quick wins for durable understanding, and rewards readers willing to think about hardware.

Information

  • Websitegithub.com
  • OrganizationsHarvard University
  • AuthorsVijay Janapa Reddi, Harvard EDGE community
  • Published date2023/10/18

More Items

GitHub
AI Infra2026

Quantitatively analyzes LLM inference and training systems from workload and hardware constraints. Covers accelerators, operators, networks, distributed systems, and edge-to-cloud deployment, with companion calculation tools and experiments.

GitHub

Study core machine-learning methods through compact NumPy implementations, from regression and clustering to neural networks, generative models, and deep Q-learning. The code favors clarity over production performance.

GitHub
AI Agent2025

Open-source companion to a technical book that teaches how to design, evaluate and ship LLM-based AI agents — includes the full Chinese manuscript, community translations, chapter-aligned runnable example projects, and reproducible evaluation harnesses.