UC Berkeley / EE290-194已收录

Scalable AI: Bridging Theory, Understanding, and Practice

沿着大模型的架构、预训练、后训练与推理,理解性能、资源与工程选择的相互影响。

关于这组笔记

个人自学讲义,以 Fall 2026 为主线并整合 Spring 2026 主题;未公开的讲次参考相关论文与报告编写,并配套笔记本规模的实验与模拟。

查看原课程资料

适合的起点

建议熟悉 Python、线性代数、基础概率、神经网络与梯度下降。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 33 篇

课程讲义

  1. Lecture 01Lecture 1 · Course Overview and the Modern AI Stack: Large-Scale AI as an End-to-End Engineering Discipline
  2. Lecture 02Lecture 2 · All About Performance I: Hardware Ceilings, Arithmetic Intensity and the Roofline
  3. Lecture 03Lecture 3 · All About Performance II ("Performance Strikes Back"): Kernels, Profiling, MFU and Token Economics
  4. Lecture 04Lecture 4 · Architectures to Break Bottlenecks: Mixture of Experts, Latent KV, and Sparse or Hybrid Long Context
  5. Lecture 05Lecture 5 · Parallelism I: Data, Expert and Sharded-State Parallelism
  6. Lecture 06Lecture 6 · Parallelism II: Tensor, Sequence, Pipeline and N-D Parallelism
  7. Lecture 07Lecture 7 · Attention and MoE Kernels: FlashAttention, Context Parallelism, SonicMoE
  8. Lecture 08Lecture 8 · A Training Framework End to End: NeMo AutoModel
  9. Lecture 09Lecture 9 · Introduction to Pre-Training
  10. Lecture 10Lecture 10 · Data for Pre-Training
  11. Lecture 11Lecture 11 · Synthetic Data for Pre-Training
  12. Lecture 12Lecture 12 · Optimizer Fundamentals
  13. Lecture 13Lecture 13 · Modern Optimizers and Architectures
  14. Lecture 14Lecture 14 · Running an AI/HPC Fleet
  15. Lecture 15Lecture 15 · Case Study: Pre-Training Nemotron 3 Nano
  16. Lecture 16Lecture 16 · Introduction to Post-Training: Formats, SFT, Preferences, RL, Evaluation
  17. Lecture 17Lecture 17 · Data for Post-Training: SFT Data Engineering, RL Environments, NeMo Data Designer
  18. Lecture 18Lecture 18 · Reasoning Models: RL Algorithms for Post-Training
  19. Lecture 19Lecture 19 · RL at Scale Is an Inference Problem: NeMo RL and NeMo Gym
  20. Lecture 20Lecture 20 · Case Study: Post-Training Nemotron 3 Nano
  21. Lecture 21Lecture 21 · Deployment Preparation: Speculative Decoding, Quantization, Pruning and Distillation, Architecture Search
  22. Lecture 22Lecture 22 · Fundamentals of High-Performance Inference
  23. Lecture 23Lecture 23 · Inference Engines in Practice: vLLM, SGLang, TensorRT-LLM, Dynamo
  24. Lecture 24Lecture 24 · Decode-Specialized Hardware: Groq 3 LPX
  25. Lecture 25Lecture 25 · Fundamentals of Context Engineering
  26. Lecture 26Lecture 26 · Agentic Applications and Harness Design
  27. Lecture 27Lecture 27 · Safety and Security: Deployment Guardrails and Open-Weight Safety
  28. Lecture 28Lecture 28 · Diffusion Language Models
  29. Lecture 29Lecture 29 · Research Greenfields and Course Review

补充与延伸

  1. 配套练习 A1Assignment 1 Companion · Performance Engineering: Kernels, Benchmarks and the MFU Investigation
  2. 配套练习 A2Assignment 2 Companion · Pre-Training a Base Model Under a Fixed Budget
  3. 配套练习 A3Assignment 3 Companion · Post-Training with SFT and RLVR, and the Three-Checkpoint Table
  4. 配套练习 A4Assignment 4 Companion · Building, Serving and Measuring an AI Application

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 EE290-194 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程