AI Hardware & Software Stack
A model with about 14 GB of FP16 weights decodes at batch size 1 on a GPU with 2 TB/s memory bandwidth. What is closest to the lower bound on time per generated token?
- AAbout 7 µs
- BAbout 7 s
- CAbout 7 ms
Show answer and explanation
Answer: C. About 7 ms
Decode must read all weights for every token, so each token takes at least model size ÷ memory bandwidth: 14 GB ÷ 2 TB/s = 0.007 s = 7 ms, a maximum of about 140 tokens per second. Quantizing weights to 4 bits, about 3.5 GB, lowers this bound to about 1.75 ms. This is why weight quantization is especially effective for decode.
- A. That is off by a factor of 1000.
- B. That is off by a factor of 1000.
- C. Correct. 14 GB ÷ 2 TB/s = 7 ms.