1 · Hardware
2 · Model
3 · Architecture (KV cache)
4 · Serving
Results
Throughput
Context-length impact (batch 1)
| Context | KV cache | Total VRAM | Fits? | Decode tok/s |
|---|
Methodology & caveats
Weights: params of the selected quantization chip × B/param (FP16/BF16 = 2, FP8 = 1, INT4 ≈ 0.65, GGUF Q4_K_M ≈ 0.58). Quantization directly reduces weight memory and thus affects the fit decision.
KV cache: 2 (K+V) × layers × KV-heads × head-dim × seq × batch × dtype-bytes.
Fit (multi-GPU / TP): available VRAM = vram × GPU count; weights + KV split evenly, so total = wBytes + kvBytes + 1.5 GB × GPUs.
Decode (bandwidth-bound): (bw × GPUs) ÷ (weight-bytes + one KV row) × eff × interconnect-eff × batch. Splitting weights reduces bytes-per-token per GPU, so TP helps decode.
Prefill (compute-bound): (FP16-TFLOPS × GPUs) ÷ (2 × active-params) × prefEff × interconnect-eff.
Interconnect: NVLink ≈ 0.95, InfiniBand ≈ 0.85 efficiency — approximate; InfiniBand has higher bandwidth but higher latency, so it costs decode more than prefill.
DGX Spark GX10 (GB10): 128 GB unified LPDDR5x (273 GB/s) shared CPU+GPU; usable CUDA pool is ~120 GB, so its "available VRAM" here is optimistic — subtract CPU/OS usage. FP16 tensor throughput ≈ 213 TFLOPS.
Hybrid-quantized models: e.g. DeepSeek V4 Flash 0731 stores MoE experts in FP4 while attention stays FP8 → real footprint ≈ 160 GB, not 284 GB. Set the FP8/INT8 params field accordingly (it fits 2× DGX Spark, per the official vLLM recipe).
All figures are estimates — verify with nvidia-smi and vllm serve logs.