A 70B FP8 service on two 80 GB GPUs
An inference team plans to serve eight 16K contexts using FP8 weights and FP8 KV. Each GPU has 80 GB nominal memory and the plan budgets 90% usable.
Jump to resultsInputs
Results
Runs in your browser- Required memory
- 98.793GB
- Minimum GPU count
- 2GPUs Aggregate memory lower bound
- Decode bandwidth ceiling
- 585.953tok/s Ideal aggregate across the batch
Compare measured decode speed with this bandwidth ceiling. Verify the model fits each rank individually.
| Model weights | 70 GB |
|---|---|
| Active KV cache | 21.475 GB |
| Activation and scratch reserve | 7.318 GB |
| Usable memory per GPU | 72 GB |
| Usable memory across GPUs | 144 GB |
| KV per cached token | 163.84 kB |
| Ceiling per sequence | 73.244 tok/s |
What to try
The aggregate memory crosses a one-device limit before considering scheduling overhead. Verify the chosen tensor parallelism and per-rank KV allocation on the two-card host.
How the estimate works
KV bytes = 2 × layers × hidden width × KV-head ratio × bytes × tokens × sequences
The model assumes dense decoder-only attention. FP16 uses two bytes per parameter, FP8 and INT8 use one, and Q4_K_M uses a rough 0.60 bytes to include mixed precision and quantization metadata. Use the actual model file size to check this assumption.
Keys and values grow with the live context and batch. GQA reduces the cached width by the ratio of KV heads to query heads. Workspace is an adjustable percentage of weights plus KV, with a separate allowance for unavailable GPU memory.
The GPU count is a memory lower bound. The decode ceiling assumes perfect sharding and one sweep of weights and active KV per batch step at full bandwidth. Kernel overhead, compute, prefill, cache sharing, allocator fragmentation, and interconnect can lower measured output.
Frequently asked questions
Why does a 70B FP8 model require two nominal 80 GB cards in this plan?
The nominal weights alone are about 70 GB. The usable per-card budget is 72 GB and the configured live cache and workspace add far more than the remaining 2 GB.
Can FP8 weight precision require a different KV precision?
Yes. Runtime and hardware support determine available KV formats independently from weight quantization.