Exchange
The memory-first card
1 file2 KB
A look inside
The first lines of gpu-and-memory.md. The whole file is in your library once you get it.
# The memory-first card A free card from MenFem's Inference 101, lesson 11: What a GPU does, and why memory matters most. The lesson, with the picture and the examples: https://menfem.com/courses/inference-101/gpu-and-memory This is what you keep: how a GPU spends its time on one card, and the line to read first on any chip's spec. 1. A GPU is tiny calculators (the sums) plus the memory that holds the model. 2. Bandwidth is how fast the memory can feed the sums. It is far slower than the sums themselves. 3. Writing an answer uses each fetched number for only a couple of sums, so the chip mostly waits on memory. 4. Reading a prompt reuses each fetched number many times, so that part keeps the sums busy. 5. HBM is memory stacked beside the chip to widen the road. It helps, but it does not close the gap. 6. A model bigger than one chip's memory is split across several, and the chips then spend time talking. **The rule:** Memory size decides what fits. Memory speed decides how fast it writes. Read those before the sums. ## Used once From the lesson, on a made-up shop: "Your chat helper writes each reply one word at a time, and the chip's own report shows its sums are mostly idle." Answer: Memory speed. Writing a reply means fetching the whole model for every token. The sums finish quickly and then wait for the next fetch. ## Your turn …and 10 more lines.
What is inside
- gpu-and-memory.md2 KB
How to use it
Open it beside the job and go down the 6 lines in order, then check your answer against the rule at the bottom. It is the card from Inference 101, lesson 11 (What a GPU does, and why memory matters most), with one worked example from the lesson and a space for your own case.
Run before it was listed
Tested 2026-11-29: Generated from the lesson's own keep card and checked line by line against it; used once on the lesson's made-up example, which is printed in the file.