Skip to content

Releases

StaffML v0.1.5 β€” Mixture-of-experts questions, KV-cache and INT8 exercises, and reliability fixes

Choose a tag to compare

@github-actions github-actions released this 25 Nov 10:44

StaffML 0.1.5 is a patch release with new practice questions and reliability fixes.

New

  • Three mixture-of-experts questions on the mobile track.
  • Prototype exercises on KV-cache decode and per-channel INT8 quantization.

Fixed

  • Streaks and the daily question follow the reader's local calendar day, and importing saved progress rejects malformed files.
  • Question-vault requests retry each attempt that times out.
  • Five more questions use the A17 Pro's 51.2 GB/s memory bandwidth.
  • Navigation and filters stay accessible on small screens.

Contributors

Thank you to the contributors to this release:

  • Nishitha Rajesh (@Nishitha-Rajesh) wrote the mixture-of-experts questions (#2190) and the KV-cache and INT8 exercises (#2191), and corrected five more A17 Pro questions (#2187).
  • Shashank Tripathi (@Shashank-Tripathi-07) fixed the local-day streaks and progress import (#2203) and the vault request timeouts (#2204).

Site: https://mlsysbook.ai/staffml/

MLSysΒ·im 0.3.2

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:34

MLSysΒ·im 0.3.2 is a patch release. It adds measured-energy and time-shifting models contributed by the community, corrects hardware specifications, and replaces the remaining heuristics with first-principles models.

New

  • Carbon-aware time shifting. TemporalShiftModel estimates the emissions saved by moving a job to a lower-carbon window.
  • Measured GPU energy. A calibrated power model with waiting costs, fitted to measured GPU energy across boards, workloads, and the H200.
  • Measured accuracy curves for CompressionModel (opt-in), so compression trade-offs can use measured accuracy instead of an assumed curve.
  • labeled_capacity, so shares divide by a device's printed capacity label where the book does.

Corrected

  • The T4 carries its FP32 and INT4 rates.
  • The remaining heuristic estimates are replaced with first-principles models, with a first-principles regression suite; physics, solvers, unit formatters, and registries are audited, and GB200 rack peaks and grid provenance are aligned with their sources.
  • Book data that ended in 2024 is refreshed with verified 2025–26 values.

Numerical compatibility: calculated values can change where a heuristic was replaced or a specification corrected. Review downstream numbers before updating prose, figures, or tables.

Contributors

Thank you to the contributors to this release:

  • Prawal Pokharel (@prawalpokharel) added the carbon-aware time-shifting model (#2193), the measured GPU energy and calibrated power model (#2198), and measured accuracy curves for CompressionModel (#2207), and wrote the paper's measured-energy evaluation and its data (#2216).
  • Sankur Kundu (@Shakhtar-Sankur) gave the T4 its FP32 and INT4 rates in #2192.
  • Nishitha Rajesh (@Nishitha-Rajesh) added a TTFT-excluded decode inter-token latency for the paper's Benchmark 2 in #2186.

Install: pip install --upgrade mlsysim==0.3.2 (Python 3.10–3.13)

Documentation: https://mlsysbook.ai/mlsysim/

vol1-v0.8.3+vol2-v0.3.3: Audio overview on the Volume II homepage

Choose a tag to compare

Volume II 0.3.3 is a patch release that adds an author-reviewed audio overview to the Volume II homepage. Volume I 0.8.3 carries no text changes.

Since this release: the study sheets have their own page, mlsysbook.ai/studysheets, organized by volume and part with a combined PDF for each volume. The interactive Labs site is retired and its addresses lead to the study sheets; the site navigation and announcement bars link the Study Sheets page in its place.

PDF and EPUB editions of Volumes I and II are attached.

vol1-v0.8.2+vol2-v0.3.2: Study sheets, a Volume I audio overview, and minor revisions

Choose a tag to compare

Volume I 0.8.2 and Volume II 0.3.2 are patch releases. They add a study sheet for every chapter, an audio overview of Volume I, and six new interactive diagrams, and they correct wording, data, and figures across both books. The changes are mostly minor nitpicks and language flow; nothing changes what the chapters teach, so a course already using 0.8.x or 0.3.x can switch mid-term.

New

  • Study sheets. Each chapter has a two-page study sheet: key ideas, formulas, and numbers on the front, practice questions on the back with the answers printed upside down at the foot. Each sheet is linked under its chapter title, and all of them are collected at mlsysbook.ai/studysheets. A QR code on each sheet leads back to its chapter.
  • Six new interactive diagrams. Explore companions step through a figure one stage at a time:
    • Volume I: query-key-value attention (Network Architectures), the DLRM pipeline (Network Architectures), and shared preprocessing state (Data Engineering).
    • Volume II: the two fabrics inside an eight-GPU node (Compute Infrastructure), attestation before recovery admission (Security & Privacy), and per-request competence routing (Robust AI).
  • Audio overview. The Volume I homepage has an author-reviewed audio overview, replacing the earlier NotebookLM recording.
  • Each volume's sidebar links to the lecture slides, which now include a Slides + notes PDF for every lecture.

Corrected

  • Trend plots are redrawn from sourced data, with values that ended in 2024 updated to verified 2025–26 figures; label collisions on the refreshed figures are cleared.
  • Wording, sentence flow, and section transitions are smoothed across both volumes, and number and wording defects found while auditing the study sheets are fixed.
  • PDF layout fixes keep figures and margin notes on their pages.

Elsewhere in the project

  • Hardware Kits 0.1.2 adds the Arduino UNO Q platform with a Setup lab and five labs, and updates the Raspberry Pi labs, all by Marcelo Rovai (@Mjrovai). See the Kits 0.1.2 release.
  • Lecture Slides 0.1.2 add learner-first speaker notes and a Slides + notes PDF for every Volume I and II lecture.

PDF and EPUB editions of Volumes I and II are attached.

TinyTorch v0.2.3 - CUDA SGEMM extension and a CUDA path in Milestone 07

Choose a tag to compare

@github-actions github-actions released this 25 Nov 00:15

TinyTorch 0.2.3 is a patch release that adds a CUDA extension. Existing modules are unchanged, so a course using 0.2.x can switch mid-term.

New

  • Extension 8: CUDA SGEMM. Write a matrix-multiply kernel three ways (naive, coalesced, and tiled) and measure the difference, with tests.
  • A CUDA path in Milestone 07, for students with an NVIDIA GPU.

Fixed

  • The community star count stays readable on phones.

Contributors

Thank you to Satnam Singh (@SatnamCodes), who wrote Extension 8 and the Milestone 07 CUDA path in #2173.

Site: https://mlsysbook.ai/tinytorch/

Study Sheets (Latest)

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:36

Chapter Study Sheets

One two-page, double-sided sheet per chapter of the Machine Learning Systems textbook: the front is what to learn, the back is practice, with the answers upside down at the foot. Every number on a sheet is computed from the book's simulator, MLSysΒ·im.

Whole volumes

  • MLSysBook-StudySheets-Vol1.pdf: every chapter of Volume I, in book order
  • MLSysBook-StudySheets-Vol2.pdf: every chapter of Volume II, in book order

Each chapter's sheet is also attached on its own (volN__studysheet.pdf) and linked under the chapter title in the online book. Browse them all by volume and part at https://mlsysbook.ai/studysheets/

Chapter study sheets for Volumes I and II Β· built from 55e5c4d

Slides v0.1.2: Learner-first speaker notes and Slides + notes PDFs for every lecture

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:48

Slides 0.1.2 adds learner-first speaker notes and a Slides + notes PDF for every Volume I and II lecture, and corrects slide text and figures.

  • Speaker notes in every deck are rewritten for the student: the notes for each slide set up its question, walk through the reasoning, and name what to carry forward. Each lecture row offers Slides, Slides + notes, and PowerPoint.
  • Slide text and figure edits are mostly minor: wording, flow, and small number corrections, with a few figures regenerated from the book's data. Nothing changes what the lectures teach.
  • Decks follow the refreshed book data and current MLSysIM scenarios, and each lecture links to its chapter's study sheet.
  • The lecture list and announcement bar fit on phone screens.

The live portal and MLSysBook slide archives include Volumes I and II only. Volume III and Volume IV decks remain outside this live release. PowerPoint slides are images of PDF pages, with speaker notes in the notes pane; slide text is not editable.

Portal: https://mlsysbook.ai/slides/
PDF and PowerPoint downloads: https://github.com/harvard-edge/cs249r_book/releases/tag/slides-latest

Labs v0.1.2 β€” Labs updated to the refreshed book data

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:48

Retired (2026-11-24). The interactive Labs site is retired. Its addresses now lead to the chapter Study Sheets, which take its place for reviewing each chapter. This release remains for reference.

Labs 0.1.2 keeps the Volume I and II labs in step with the book.

  • The labs run on MLSysIM with the refreshed 2025–26 hardware and model data, so lab numbers match the current chapters.
  • The Volume II scaling-efficiency sweep uses NDR InfiniBand, as the chapter does.
  • Other edits are minor wording and flow fixes; the labs teach the same material.

Volume III and IV labs remain outside the live site.

Kits v0.1.2 β€” Arduino UNO Q platform with Setup and five labs

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:48

Hardware Kits 0.1.2 is a patch release that adds the Arduino UNO Q platform and brings the Raspberry Pi labs up to date. Existing labs keep their structure, so a course using 0.1.x can switch mid-term.

New: Arduino UNO Q

  • A platform page and Setup lab, followed by labs on Small Language Models, Vision-Language Models, Image Classification, Object Detection, and Agentic AI.

Updated

  • Raspberry Pi: the Setup lab targets Raspberry Pi OS Trixie; Image Classification moves to LiteRT; Object Detection uses LiteRT with YOLO11 and YOLO26; the Small Language Models lab covers Gemma 3, MoonDream, and native tool calling.
  • XIAOML Kit: the SenseCraft AI audio sections are restored, with links to the course slides and videos.
  • Outdated external links in the Raspberry Pi and UNO Q labs are corrected, and the platform cards on the kits homepage sit in a centered grid.

Contributors

Thank you to Marcelo Rovai (@Mjrovai), who wrote every lab change in this release:

Site: https://mlsysbook.ai/kits/

Instructors v0.1.2 β€” One syllabus per course with semester and quarter schedules

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:48

Instructor Hub 0.1.2 reorganizes the hub around courses.

  • Each course has one syllabus, with semester and quarter schedules for each volume and lecture split points where a chapter runs over two sessions.
  • Lecture rows link to Slides, Slides + notes, and PowerPoint, and the hub points to the ML Systems Taxonomy.
  • The live hub covers Volumes I and II. Dark mode and phone layouts are fixed, and broken links to labs and chapters are corrected.

Site: https://mlsysbook.ai/instructors/