← All talks

Talks & courses

How Large Language Models Run on GPUs

From a question to an answer: how LLM inference works, and how to make it more efficient.

Date
Location
Zhejiang Gongshang University
Course overviewOpen course ↗

Explore the course outline, play each step, or open the course separately for a larger view.

Overview

Follow the lifecycle of a single answer: from model parameters and text encoding, through attention and context, to loading weights into GPU memory, matrix computation, and next-token generation. The talk then explains inference bottlenecks and optimizations such as KV caching, batching, and quantization, showing how they improve response speed, reduce GPU memory usage, and support more concurrent users. The interactive course is in Chinese.