Berkeley Scalable AI: A Practical Study Guide for AI Infrastructure
Use Berkeley's Fall 2026 Scalable AI course with a focused learning path, original exercises, performance diagrams and a project plan that respects your compute budget.
BY OWEN HARTLEY · AIINFRAINTERVIEWS EDITORIAL · UPDATED DECEMBER 2, 2026 · 4 MIN READ
PRACTICE THIS:Start with the free CPU training project ·Explore the course pathways ·Practice optimization payback (Premium) ·Build a fixed-budget experiment memo (Premium)
Berkeley's Scalable AI course is a useful route into AI infrastructure because it connects model decisions to the machines that execute them. This independent study companion helps you choose readings, produce evidence at each stage and turn one performance idea into a bounded experiment. It is not affiliated with UC Berkeley.
Start with the part you can investigate. If you already train models, begin with profiling and the project exercise below. If training loops are unfamiliar, first complete the free CPU language-model project: save a checkpoint, resume it, and explain what was restored. Readers new to accelerator terminology can use our free beginner route.
What is available on the course website
As checked on December 2, 2026, the site identifies the course as EE 290 / 194, taught by Anant Sahai and Jiantao Jiao. It links a syllabus, lecture slides, two assignment ZIPs and project guidance. Later schedule entries do not all have linked materials. Use the live course page for additions; a listed lecture is not proof that a recording or notebook is public.
The syllabus describes an eight- node per enrolled group. That allocation and the student discussion forum are not public self-study benefits. Our route below uses public reading and separately labeled exercises. It does not require you to rent the course's hardware before understanding the problem.
Build an artifact at each stage
The published sequence moves from architecture through pre-training, post-training and inference to applications and research. Use that sequence to connect decisions: a longer context changes retained state, which changes feasible batches, which changes the measurements a serving plan needs. Our suggested outputs below are original self-study exercises, not Berkeley assignment solutions.
Step 1 of 5: Describe the work
- Describe the work
Choose a model configuration and input shapes. Estimate memory and the operations that must execute.
- Make one update reproducible
Bind the data, tokenizer, optimizer and checkpoint so the next update can be repeated.
- Define the training signal
Identify which tokens receive loss or reward. Preserve the evaluation cases used to judge the change.
- Qualify the service
Replay the intended request lengths and arrivals. Count timeouts and rejected work alongside completed responses.
- Choose the next experiment
Use the observed bottleneck and remaining budget to decide what to change and when to stop.
Performance: explain one slow interval
Study the course's performance and parallelism materials alongside How To Scale Your Model's roofline chapter. A roofline gives a bound from arithmetic work and transferred bytes. A trace then helps explain the distance between that bound and an observed execution.
Use our roofline calculator with a deliberately small example. Write down the counted memory boundary, then predict which change could help. Finish by explaining why a bandwidth ceiling does not identify every stall. The training-step profiling question supplies a deeper investigation sequence and is Premium.
Pre-training: connect data to a recoverable update
The course's second assignment archive combines data work with training under a fixed allocation. Its handout asks for retained artifacts and evaluation evidence. For self-study, begin with a smaller experiment: preserve a training split, tokenizer and checkpoint, then show that changing the data order is a different experiment from changing the execution kernel.
Read Training Compute-Optimal Large Language Models for the model-size versus token-budget question. Its empirical scaling result does not select a universally optimal plan for your dataset, architecture or serving target. Our Training at Scale course supplies the systems progression; access is labeled per lesson.
Post-training: audit what receives feedback
Before optimizing a supervised or reinforcement-learning job, trace one example from the serialized conversation to its targets. A tool observation can be visible context without being a target the model should imitate. An unavailable environment can produce a failed rollout without establishing that the policy chose a bad action.
Use the Agent Post-Training Systems course to choose the corresponding exercise. Keep the original example, transformed tensors and evaluation result together. That record helps distinguish a faster implementation from a changed learning objective.
Serving and applications: measure the caller's outcome
Choose a request-length distribution before tuning a serving engine. Save offered requests, first-token times, completion times and failure outcomes. A throughput improvement can be unacceptable if requests wait beyond their deadlines. The Inference Engineering course connects those measurements to scheduling and memory decisions.
For an application exercise, add one retrieved document or tool response and repeat the same request cases. Explain the extra tokens and waiting time. Keep the application change distinct from an engine optimization so you can attribute the result.
Use the assignments to practice diagnosis
The first assignment archive includes Triton kernel work and a training-performance investigation. Its report emphasizes evidence connecting the observed slowdown to the attempted fix. That is a useful standard even when you cannot run the supplied hardware setup.
For an original paper exercise, assume a training step contains 30 ms of exposed input waiting and 170 ms of remaining work. Even completely removing that wait changes the step from 200 to 170 ms: 200/170 ≈ 1.176× throughput. A proposal promising 2× from that wait alone contradicts the assumed timeline. These are synthetic durations, not measured course results.
| Observation | Next check | What it can establish |
|---|---|---|
| 30 ms exposed wait | Inspect readiness of the next batch | A candidate cause, not a guaranteed fix |
| 200 ms complete step | Remove only that wait in the model | 170 ms floor; at most 1.176× throughput |
| A faster short trial | Repeat complete updates with matched inputs | Whether the gain survives realistic work |
| A useful intervention | Include development time and final evaluation | Whether it improves the deadline outcome |
For actual CUDA timing, account for asynchronous execution: a host timer can stop before device work completes. PyTorch's CUDA notes explain synchronization and event timing. A valid timing method still needs representative shapes and repeated samples.
Make one project small enough to finish
Berkeley's hypothesis guidance asks for an initial experiment with a baseline, a change and a measurement. Its proposal guidance adds related work, feasibility and ablations. An ablation removes or isolates a change so its contribution can be examined.
Write a short project note before touching code. Specify the model and workload, the interval expected to shrink, the evidence that would reject your explanation and the maximum allocation you will spend finding out. Reserve time for final evaluation and packaging the reproduction steps. Save unsuccessful attempts too.
Then apply the optimization-payback exercise and the fixed-budget experiment lesson, both Premium. They test a practical stopping decision: a faster final configuration may arrive too late to repay its development cost.
Your finished artifact should let another engineer reproduce the comparison, inspect its limits and choose the next measurement. Keep any unrun GPU procedure labeled as a plan. A well-explained negative result can still identify which optimization is not worth the next allocation.
Turn it into offers. Work the real questions and concepts this maps to:
FAQ
Scalable AI is UC Berkeley's Fall 2026 EE 290 / 194 course, taught by Anant Sahai and Jiantao Jiao. Its published plan connects model architecture, training, post-training, inference and applications through systems constraints.
The reviewed website publicly links a syllabus, slides, two assignment archives and project guidance. Public reading access does not include student compute, the course forum, grading or a credential. Follow the original website for material availability.
No. You can begin with the source readings, planning exercises and our free CPU training project. Reproducing the course's GPU assignments requires suitable hardware and a budget; the CPU project does not reproduce their performance results.
This article, our beginner route, calculators and linked CPU training project are readable without an account. Our deeper question and fixed-budget lesson are Premium. Other linked site resources show their own access tier.
Discussion (3)
A small shape is useful for correctness, but it can select a different kernel than the training shape. Keep both in the record so a successful unit check does not become an unsupported performance claim.
Changing the tokenizer also changes the unit behind tokens per second. Compare the same text and document the token counts before using that rate to rank training plans.
An idle reserved node can still consume the allocation. Keep reservation time beside active training time in the project budget.
