Lectures: 1310 Digital Computer Laboratory, MW: 9:30 AM – 10:45 AM
| Member (NetID) | Role | Office Hours |
|---|---|---|
| Fan Lai (fanlai) | Instructor | 3128 Siebel Center. M 2:00 PM – 3:00 PM |
| banruol2 and tonyhong | TAs | Zoom. F 2:00 PM - 3:00 PM |
Canvas: ALL communication regarding this course must be via Canvas. This includes questions, discussions, announcements, assignments, as well as private messages.
Learning Objectives: This course will introduce the basic concepts and cutting-edge practices in the design and implementation of efficient software systems for supporting machine learning (ML) models, with a particular focus on Generative AI (GenAI). By the end of the course, students will be able to:
Structure: The course will combine lectures, guest lectures from practioners, lab assignments, reading summaries, and a semester-long project. We will explore key ML topics from a systems perspective, addressing the relevant challenges across the ML lifecycle. Topics include, but are not limited to:
Note that this course is NOT focused on AI methods. Instead, we will focus on how one can build software systems so that existing AI methods can be used in practice and new AI methods can emerge.
Prerequisites: Students are expected to have good programming skills and must have taken at least one systems-related course (from operating systems, databases, distributed systems, or networking). Having an ML/AI background is helpful but not required.
This is an evolving list and subject to changes due to the breakneck pace of AI
| Date | Topic | Lecturer | Slides | Assignment/Summary |
|---|---|---|---|---|
| Aug 24 | Course Introduction and Logistics | Fan Lai | Slides | |
| Aug 26 | No Class (Project Kickoff & Team Formation) | Fan Lai | ||
| Aug 31 | Transformers | Fan Lai | Slides | |
| Sept 2 | Transformers Deep Dive | Fan Lai | Slides | |
| Sept 7 | No Class (Labor Day) | |||
| Sept 9 | Distributed Training Overview | Fan Lai | Slides | BLASST |
| Sept 14 | Data Parallelism | Fan Lai | Slides | DeepSeek-V3 Report (Sec 1-3) |
| Sept 16 | Tensor Parallelism | Fan Lai | Slides | |
| Sept 21 | Pipeline Parallelism | Fan Lai | Slides | LlamaRL, Assignment 1 Released |
| Sept 23 | No Class (Meet to refine project ideas) | Fan Lai | ||
| Sept 28 | Multi-Dimensional Parallelism | Fan Lai | Slides | Alpa |
| Sept 30 | Mixed Precision Training | Fan Lai | Slides | Project Proposal Due |
| Oct 5 | Project Proposal Feedback I | Fan Lai | ||
| Oct 7 | Project Proposal Feedback II | Fan Lai | ||
| Oct 12 | Memory Optimization | Fan Lai | Slides | ZeRO-style Data Parallelism |
| Oct 14 | Finetuning Techniques | Fan Lai | Assignment 1 Due | |
| Oct 19 | Inference Overview | Fan Lai | Speculative Decoding, Assignment 2 Release | |
| Oct 21 | Batch Serving Techniques | Fan Lai | DistServe | |
| Oct 26 | Paged Attention | Fan Lai | SGLang | |
| Oct 28 | Adaptive KV | Fan Lai | ||
| Nov 2 | Quantization | Fan Lai | ||
| Nov 4 | MoE Efficiency | Fan Lai | Mid-semester Report Due | |
| Nov 9 | Project Check-in & Feedback | Fan Lai | Assignment 2 Due, Assignment 3 Released (for 4-credit students) | |
| Nov 11 | Project Check-in & Feedback | Fan Lai | ||
| Nov 16 | Advanced Topics: RAG Systems | Fan Lai | MoonCake | |
| Nov 18 | Advanced Topics: Agentic AI | Murakkab | ||
| Nov 21-29 | Fall Break — No Class | |||
| Nov 30 | Guest Lecture | Chen Wang (IBM) | ||
| Dec 2 | Final Presentations | Assignment 3 Due | ||
| Dec 7 | Final Presentations | |||
| Dec 9 | Final Presentations | |||
| Dec 18 | Final Report Due |
Groups: Panel discussion and research project will be performed in groups of 4-5 students. Form a group and declare your group's membership and paper preferences by Sept 5. After this date, we will form groups from the remaining students.
| Weight | |
|---|---|
| Attendance | 15% |
| Panel Discussion | 8% (4% + 4%) |
| Lab assignments | 16% (2-3 lab assignments) |
| Reading summary | 16% (opt-in 8 out of 10 readings, 2% each) |
| Final project presentation | 15% |
| Project report | 30% (5% + 10% + 15%) |
Academic integrity: The University's Honor Code applies to all activities related to this course. All material you submit in this course (reading summary, project reports, and presentation materials) must be your own. If you use someone else’s material, you must cite them properly.
AI Tool Policy: AI tools may be used for grammar checking and refining initial brainstorms, but the final reviews and codes must be authored by the student. Students are responsible for the entire content and must adhere to the Academic Integrity Policy.
Before Each Lecture: Some lectures may include a required reading. You must submit a summary of the paper by 11:59 PM on the due date.
During Lectures: Active participation is crucial for both your own understanding and to improve the overall quality of the course. You are expected to attend all lectures (up to 2 absences allowed for legitimate reasons), and more importantly, participate in class discussions. Not everyone must have add something every day, but it is expected that everyone has something to share over the semester.
You need to select and write paper summaries from 8 papers out of 10 listed papers. The summary should be done independently and include the following contents (five paragraphs):
You do not need to write super long paragraphs, as long as you have the key points listed out in each paragraph. You can discuss the paper with other students, but all of your writing work should be your own. DO NOT use AI tools to draft it!
In terms of grading criteria, each summary has 10 points in total. For each review item above, you get:
Due to selecting the 8/10 paper summaries, late submissions won't be accepted and will receive 0 points.
To foster a deeper understanding of the papers and encourage critical thinking, lectures with paper summary will be followed by a panel discussion. This discussion will involve three distinct roles played by different student groups, simulating an interactive and dynamic scholarly exchange.
The lecturer will also pose challenging questions to both the companion and reviewer groups, so please come well-prepared!
You will have to complete substantive work an instructor-approved problem and have original contribution. Surveys are not permitted as projects; instead, each project must contain a survey of background and related work.
You must meet the following milestones (unless otherwise specified in future announcements) to ensure a high-quality project at the end of the semester:
This course alternates with Prof. Minjia Zhang's CS 498. Big thanks to Prof. Minjia Zhang!
34 followers · starred Aug 2025
Lectures: 1310 Digital Computer Laboratory, MW: 9:30 AM – 10:45 AM
| Member (NetID) | Role | Office Hours |
|---|---|---|
| Fan Lai (fanlai) | Instructor | 3128 Siebel Center. M 2:00 PM – 3:00 PM |
| banruol2 and tonyhong | TAs | Zoom. F 2:00 PM - 3:00 PM |
Canvas: ALL communication regarding this course must be via Canvas. This includes questions, discussions, announcements, assignments, as well as private messages.
Learning Objectives: This course will introduce the basic concepts and cutting-edge practices in the design and implementation of efficient software systems for supporting machine learning (ML) models, with a particular focus on Generative AI (GenAI). By the end of the course, students will be able to:
Structure: The course will combine lectures, guest lectures from practioners, lab assignments, reading summaries, and a semester-long project. We will explore key ML topics from a systems perspective, addressing the relevant challenges across the ML lifecycle. Topics include, but are not limited to:
Note that this course is NOT focused on AI methods. Instead, we will focus on how one can build software systems so that existing AI methods can be used in practice and new AI methods can emerge.
Prerequisites: Students are expected to have good programming skills and must have taken at least one systems-related course (from operating systems, databases, distributed systems, or networking). Having an ML/AI background is helpful but not required.
This is an evolving list and subject to changes due to the breakneck pace of AI
| Date | Topic | Lecturer | Slides | Assignment/Summary |
|---|---|---|---|---|
| Aug 24 | Course Introduction and Logistics | Fan Lai | Slides | |
| Aug 26 | No Class (Project Kickoff & Team Formation) | Fan Lai | ||
| Aug 31 | Transformers | Fan Lai | Slides | |
| Sept 2 | Transformers Deep Dive | Fan Lai | Slides | |
| Sept 7 | No Class (Labor Day) | |||
| Sept 9 | Distributed Training Overview | Fan Lai | Slides | BLASST |
| Sept 14 | Data Parallelism | Fan Lai | Slides | DeepSeek-V3 Report (Sec 1-3) |
| Sept 16 | Tensor Parallelism | Fan Lai | Slides | |
| Sept 21 | Pipeline Parallelism | Fan Lai | Slides | LlamaRL, Assignment 1 Released |
| Sept 23 | No Class (Meet to refine project ideas) | Fan Lai | ||
| Sept 28 | Multi-Dimensional Parallelism | Fan Lai | Slides | Alpa |
| Sept 30 | Mixed Precision Training | Fan Lai | Slides | Project Proposal Due |
| Oct 5 | Project Proposal Feedback I | Fan Lai | ||
| Oct 7 | Project Proposal Feedback II | Fan Lai | ||
| Oct 12 | Memory Optimization | Fan Lai | Slides | ZeRO-style Data Parallelism |
| Oct 14 | Finetuning Techniques | Fan Lai | Assignment 1 Due | |
| Oct 19 | Inference Overview | Fan Lai | Speculative Decoding, Assignment 2 Release | |
| Oct 21 | Batch Serving Techniques | Fan Lai | DistServe | |
| Oct 26 | Paged Attention | Fan Lai | SGLang | |
| Oct 28 | Adaptive KV | Fan Lai | ||
| Nov 2 | Quantization | Fan Lai | ||
| Nov 4 | MoE Efficiency | Fan Lai | Mid-semester Report Due | |
| Nov 9 | Project Check-in & Feedback | Fan Lai | Assignment 2 Due, Assignment 3 Released (for 4-credit students) | |
| Nov 11 | Project Check-in & Feedback | Fan Lai | ||
| Nov 16 | Advanced Topics: RAG Systems | Fan Lai | MoonCake | |
| Nov 18 | Advanced Topics: Agentic AI | Murakkab | ||
| Nov 21-29 | Fall Break — No Class | |||
| Nov 30 | Guest Lecture | Chen Wang (IBM) | ||
| Dec 2 | Final Presentations | Assignment 3 Due | ||
| Dec 7 | Final Presentations | |||
| Dec 9 | Final Presentations | |||
| Dec 18 | Final Report Due |
Groups: Panel discussion and research project will be performed in groups of 4-5 students. Form a group and declare your group's membership and paper preferences by Sept 5. After this date, we will form groups from the remaining students.
| Weight | |
|---|---|
| Attendance | 15% |
| Panel Discussion | 8% (4% + 4%) |
| Lab assignments | 16% (2-3 lab assignments) |
| Reading summary | 16% (opt-in 8 out of 10 readings, 2% each) |
| Final project presentation | 15% |
| Project report | 30% (5% + 10% + 15%) |
Academic integrity: The University's Honor Code applies to all activities related to this course. All material you submit in this course (reading summary, project reports, and presentation materials) must be your own. If you use someone else’s material, you must cite them properly.
AI Tool Policy: AI tools may be used for grammar checking and refining initial brainstorms, but the final reviews and codes must be authored by the student. Students are responsible for the entire content and must adhere to the Academic Integrity Policy.
Before Each Lecture: Some lectures may include a required reading. You must submit a summary of the paper by 11:59 PM on the due date.
During Lectures: Active participation is crucial for both your own understanding and to improve the overall quality of the course. You are expected to attend all lectures (up to 2 absences allowed for legitimate reasons), and more importantly, participate in class discussions. Not everyone must have add something every day, but it is expected that everyone has something to share over the semester.
You need to select and write paper summaries from 8 papers out of 10 listed papers. The summary should be done independently and include the following contents (five paragraphs):
You do not need to write super long paragraphs, as long as you have the key points listed out in each paragraph. You can discuss the paper with other students, but all of your writing work should be your own. DO NOT use AI tools to draft it!
In terms of grading criteria, each summary has 10 points in total. For each review item above, you get:
Due to selecting the 8/10 paper summaries, late submissions won't be accepted and will receive 0 points.
To foster a deeper understanding of the papers and encourage critical thinking, lectures with paper summary will be followed by a panel discussion. This discussion will involve three distinct roles played by different student groups, simulating an interactive and dynamic scholarly exchange.
The lecturer will also pose challenging questions to both the companion and reviewer groups, so please come well-prepared!
You will have to complete substantive work an instructor-approved problem and have original contribution. Surveys are not permitted as projects; instead, each project must contain a survey of background and related work.
You must meet the following milestones (unless otherwise specified in future announcements) to ensure a high-quality project at the end of the semester:
This course alternates with Prof. Minjia Zhang's CS 498. Big thanks to Prof. Minjia Zhang!
34 followers · starred Aug 2025