cs249r_book

Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai

What is cs249r_book?

Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai

Overview of cs249r_book

What it is

An open textbook series on machine learning systems, covering foundations, scaling, agentic AI, and physical AI. It comprises four volumes: Volume I (released, forthcoming in print from MIT Press), Volume II (preview, in active revision), Volume III (draft), and Volume IV (draft). The repository also includes companion tools: TinyTorch (build an ML framework from scratch in 20 modules), MLSys·im (simulator for memory, compute, network, and energy limits), Hardware Kits (deploy models to Arduino, Seeed, Grove, Raspberry Pi), Labs (interactive Marimo notebooks paired with chapters), and StaffML (over 9,000 systems design questions). The curriculum originated from Harvard CS249r and is designed to teach AI engineering from first principles.

Key features

  • Four volumes progressing from single-machine execution to distributed clusters, agentic loops, and physical AI.
  • TinyTorch: build an ML framework from scratch in 20 progressive modules, from tensors to a transformer.
  • MLSys·im: model memory, compute, network, and energy limits at scales no student can rent.
  • Hardware Kits: deploy models to real devices with memory limits, power budgets, and latency.
  • Labs: interactive Marimo notebooks that pair with textbook chapters.
  • StaffML: more than 9,000 systems design questions across cloud, edge, mobile, and TinyML.
  • All components are open source and available on GitHub.

Use cases

  • Students and self-learners: read Volume I, build TinyTorch, model systems with MLSys·im, try the labs, and practice with StaffML.
  • Instructors: use the Instructor Hub to access syllabi, slides, kits, and labs for a course.
  • Contributors: pick the component they use most and contribute.

Getting started

See the repository README for instructions on accessing the textbook, tools, and labs.

License and pricing

The license is not stated (NOASSERTION). The project is open source and free.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/harvard-edgecs249r-book.svg)](https://yunodb.com/tools/harvard-edgecs249r-book?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/harvard-edgecs249r-book?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/harvard-edgecs249r-book.svg" alt="Featured on YunoDB" height="20"></a>