Roughly how much GPU memory do the weights of a 70-billion-parameter model need at FP16, before the KV cache?
- Exam domain
- Sizing and Configuration10% of the exam
- Difficulty
- Hard
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
Sizing and Configuration (10% of the exam)
Objective in the exam guide: Compute sizing for AI workloads: GPU memory, replicas, horizontal versus vertical scaling, concurrent users, throughput, and latency SLAs.
Compute sizing starts with memory.
Why C is the answer
About 140 GB
FP16 uses 2 bytes per parameter, so 70 billion parameters need about 140 GB for weights alone. The KV cache and activations add more.
Remember: 70B at FP16 is about 140 GB of weights.
How it works
Compute sizing covers GPU memory, replicas, scaling direction, concurrent users and latency SLAs.
In detail
- Weights = parameters × bytes per parameter.
- Add room for KV cache.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. About 35 GBWrongMost tempting
35 GB would be 4-bit.
Why it tempts: Half precision suggests halving the parameter count.
B. About 1.4 TBWrong
1.4 TB is ten times too high.
C. About 140 GBRight
70B at FP16 is about 140 GB of weights.
D. About 7 GB, since each parameter needs only a tenth of a byte when stored in half precisionWrong
FP16 is 2 bytes, not 0.1.
Use case
An illustrative scenario, not a real incident.
Illustrative: 140 GB of weights plus cache needs two 80 GB GPUs with tensor parallelism.
See it in different ways
flowchart LR S0["Parameters"] --> S1["Times bytes per parameter"] --> S2["Add KV cache"] --> S3["Add headroom"] --> S4["Pick GPUs"]
How to read this chart
- Read it in order: Parameters, then Times bytes per parameter, then Add KV cache, then Add headroom, then Pick GPUs.
flowchart TD
Q{"Weights plus cache under GPU memory?"}
Q -->|"Yes"| A0["One GPU"]
Q -->|"No"| A1["Quantize or shard across GPUs"]How to read this chart
- At "Weights plus cache under GPU memory?": if "Yes", go to "One GPU"; if "No", go to "Quantize or shard across GPUs".