---
pagetitle: "Tutorial Slides"
title: "Tutorial Slides"
subtitle: "Beamer decks for the MLSys·im ISCA tutorial — analytical, first-principles ML systems modeling."
toc: true
---

The MLSys·im tutorial is delivered as two Beamer decks. Both PDFs are built
from source on every release (see [`mlsysim/tutorial/slides/`](https://github.com/harvard-edge/MLSysBook/tree/dev/mlsysim/tutorial/slides))
and published alongside this site so links never go stale.

## Part 1 — Morning Session (Parts 0–4)

Foundations: the iron law of ML systems, the roofline model, memory bandwidth
limits, and the two phases of LLM inference.

<!-- TODO: tutorial_part1.pdf is built from mlsysim/tutorial/slides/tutorial_part1.tex
     but the publish-live workflow does not yet emit it alongside the paper PDF.
     Restore the link below once mlsysim-build-pdfs.yml is wired to ship it.
     [Download Part 1 (PDF)](tutorial_part1.pdf){.im-btn .im-btn-primary target="_blank"}
-->
*PDF: build from source per the instructions below — bundled artifact pending.*

## Part 2 — Afternoon Session (Parts 5–9)

Scale and cost: distributed training, KV-cache pressure, geography as a systems
variable, and design-space exploration.

<!-- TODO: tutorial_part2.pdf — same situation as Part 1.
     [Download Part 2 (PDF)](tutorial_part2.pdf){.im-btn .im-btn-primary target="_blank"}
-->
*PDF: build from source per the instructions below — bundled artifact pending.*

## Source

Both decks live in the `mlsysim/tutorial/slides/` directory of the [MLSysBook
repository](https://github.com/harvard-edge/MLSysBook). To rebuild locally:

```bash
cd mlsysim/tutorial
make
```

This produces `_build/tutorial_part1.pdf` and `_build/tutorial_part2.pdf` using
xelatex and the shared `beamerthememlsys` theme. Prerequisites: `xelatex` (TeX
Live or MacTeX) plus either `inkscape` or `rsvg-convert` for SVG conversion.

## Looking for the textbook lecture slides?

The 35-deck textbook lecture series covering both volumes of *Machine Learning
Systems* lives at [mlsysbook.ai/slides](https://mlsysbook.ai/slides/). Those
decks are organized by chapter and are independent of the MLSys·im tutorial.
