Hardware Accelerators for Machine Learning
从能耗、计算单元、内存与数据流出发,理解机器学习加速器的设计。
关于这组笔记
个人英文自学讲义,依据 Winter 2026 公开课表、阅读论文与客座讲者资料编写;原课 slides、lab 仓库与录像未公开,配套实验为自编 Python 硬件模型。
查看原课程资料适合的起点
建议熟悉并行计算或计算机体系结构、矩阵乘法、神经网络与 Python。
本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。
沿着目录阅读
当前 17 篇课程讲义
- Lecture 01Lecture 1 · Introduction: The Energy Problem, the Roofline, and What ML Asks of Hardware
- Lecture 02Lecture 2 · High-Level Synthesis: From C++ to Hardware
- Lecture 03Lecture 3 · Data Parallelism and Efficiency Metrics
- Lecture 04Lecture 4 · Quantization: Number Formats, Block Scaling, and What Bits Cost
- Lecture 05Lecture 5 · Systolic Arrays: Pumping Data Through a Grid of MACs
- Lecture 06Lecture 6 · Vector and Scalar Units: Everything the Matrix Unit Cannot Do
- Lecture 07Lecture 7 · Memory Systems: Feeding the Arithmetic
- Lecture 08Lecture 8 · Interconnects and Networks-on-Chip: Moving Data Between the Blocks
- Lecture 09Lecture 9 · Compilers and Software Stack (Part 1): Dataflows and Mapping
- Lecture 10Lecture 10 · Compilers and Software Stack (Part 2): Fusion, Attention Kernels and Memory Management
- Lecture 11Lecture 11 · GPU Architectures
- Lecture 12Lecture 12 · Reconfigurable Dataflow Architectures
- Lecture 13Lecture 13 · SambaNova's Reconfigurable Dataflow Architecture (guest lecture)
- Lecture 14Lecture 14 · Memory-Centric Computing (Part 1): Processing Near and Using Memory
- Lecture 15Lecture 15 · Memory-Centric Computing (Part 2): Computing in Memory Arrays
- Lecture 16Lecture 16 · AWS Inferentia and Trainium AI Accelerators (guest lecture)
- Lecture 17Lecture 17 · NVIDIA GPU Architecture for AI (guest lecture), and Course Review
从讲义到代码
按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。
下载 CS217 代码请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。