GPUs for engineers
The spec sheet says your GPU does nearly a thousand trillion operations a second. Your 8B model produces about 150 tokens a second for one user, which is a few trillion operations. The GPU isn't lazy. It's waiting for memory, and once you see why, most of this unit's tricks make sense.
In this lesson you'll learn to
- Describe the parts of a GPU that matter for inference, from compute and memory to bandwidth and interconnect.
- Explain arithmetic intensity, and why generating one token at a time is memory-bound.
- Estimate a model's top decode speed from its size and the GPU's memory bandwidth.
- Read a GPU spec sheet and pick the numbers that matter for a given workload.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.