GPU NVIDIA RTX 4090

AD102 128 SMs · 16,384 CUDA cores

PCIe 4.0 ×16 ⇄ CPU Front end · GigaThread engine
0 of 128 SMs working L2 cache · 72 MB
Video memory · 24 GB GDDR6X · 384-bit model: 248.9 MB

Inside one SM idle for now

Scheduler ≤ 12 warps Registers 64 KB
Tensor Core Load / store ×4
Scheduler ≤ 12 warps Registers 64 KB
Tensor Core Load / store ×4
Scheduler ≤ 12 warps Registers 64 KB
Tensor Core Load / store ×4
Scheduler ≤ 12 warps Registers 64 KB
Tensor Core Load / store ×4
L1 data / shared memory · 128 KB

1Before the first token, the model is copied over PCIe (248.9 MB)

multiply-adds here
—
weights read
248.9 MB
done this pass
0.0% of 379M

Unit counts, shapes and values are real. The mapping onto the chip (FP16, one kernel per step, which units fire when) is a simplified illustration, slowed down enormously.

Tokenizer The text becomes token IDs.