Does DeepSeek-V2-Lite-Chat fit in 32GB of VRAM?
Yes. The best fit is Q8_0 at 131,072 context with f16 KV — 20.16 GiB of 29.76 GiB usable, leaving 9.60 GiB headroom.
Every quantization at every context
| Quant | Weights● | 4K◐ | 8K◐ | 16K◐ | 32K◐ | 64K◐ | 128K◐ |
|---|---|---|---|---|---|---|---|
| BF16 | 29.27 GiB | 30.2 | 30.3 | 30.6 | 31.0 | 32.0 | 33.9 |
| F16 | 29.27 GiB | 30.2 | 30.3 | 30.6 | 31.0 | 32.0 | 33.9 |
| Q8_0 | 15.56 GiB | 16.5 | 16.6 | 16.8 | 17.3 | 18.3 | 20.2 |
| Q6_K | 13.10 GiB | 14.0 | 14.1 | 14.4 | 14.9 | 15.8 | 17.7 |
| Q5_K_M | 11.04 GiB | 12.0 | 12.1 | 12.3 | 12.8 | 13.7 | 15.6 |
| Q5_K | 11.04 GiB | 12.0 | 12.1 | 12.3 | 12.8 | 13.7 | 15.6 |
| Q5_K_S | 10.38 GiB | 11.3 | 11.4 | 11.7 | 12.1 | 13.1 | 15.0 |
| Q5_0 | 10.10 GiB | 11.0 | 11.1 | 11.4 | 11.9 | 12.8 | 14.7 |
| Q4_K_M | 9.66 GiB | 10.6 | 10.7 | 10.9 | 11.4 | 12.4 | 14.3 |
| Q4_K | 9.65 GiB | 10.6 | 10.7 | 10.9 | 11.4 | 12.4 | 14.3 |
| Q4_K_S | 8.88 GiB | 9.8 | 9.9 | 10.2 | 10.6 | 11.6 | 13.5 |
| IQ4_NL | 8.29 GiB | 9.2 | 9.3 | 9.6 | 10.1 | 11.0 | 12.9 |
| Q4_0 | 8.29 GiB | 9.2 | 9.3 | 9.6 | 10.1 | 11.0 | 12.9 |
| IQ4_XS | 7.98 GiB | 8.9 | 9.0 | 9.3 | 9.7 | 10.7 | 12.6 |
| Q3_K_L | 7.88 GiB | 8.8 | 8.9 | 9.2 | 9.6 | 10.6 | 12.5 |
| Q3_K | 7.57 GiB | 8.5 | 8.6 | 8.9 | 9.3 | 10.3 | 12.2 |
| Q3_K_M | 7.57 GiB | 8.5 | 8.6 | 8.9 | 9.3 | 10.3 | 12.2 |
| IQ3_M | 7.03 GiB | 8.0 | 8.1 | 8.3 | 8.8 | 9.7 | 11.6 |
| IQ3_S | 6.97 GiB | 7.9 | 8.0 | 8.3 | 8.7 | 9.7 | 11.6 |
| Q3_K_S | 6.97 GiB | 7.9 | 8.0 | 8.3 | 8.7 | 9.7 | 11.6 |
| IQ3_XS | 6.63 GiB | 7.6 | 7.7 | 7.9 | 8.4 | 9.3 | 11.2 |
| IQ3_XXS | 6.49 GiB | 7.4 | 7.5 | 7.8 | 8.2 | 9.2 | 11.1 |
| Q2_K_S | 6.01 GiB | 6.9 | 7.1 | 7.3 | 7.8 | 8.7 | 10.6 |
| Q2_K | 5.99 GiB | 6.9 | 7.0 | 7.3 | 7.7 | 8.7 | 10.6 |
| IQ2_M | 5.89 GiB | 6.8 | 6.9 | 7.2 | 7.7 | 8.6 | 10.5 |
| IQ2_S | 5.59 GiB | 6.5 | 6.6 | 6.9 | 7.4 | 8.3 | 10.2 |
| IQ2_XS | 5.56 GiB | 6.5 | 6.6 | 6.8 | 7.3 | 8.3 | 10.2 |
| IQ2_XXS | 5.25 GiB | 6.2 | 6.3 | 6.5 | 7.0 | 8.0 | 9.9 |
| IQ1_M | 4.88 GiB | 5.8 | 5.9 | 6.2 | 6.6 | 7.6 | 9.5 |
| IQ1_S | 4.65 GiB | 5.6 | 5.7 | 5.9 | 6.4 | 7.4 | 9.3 |
Figures are GiB of total memory: weights plus KV cache plus compute buffer and backend overhead. Weights and KV are near-exact; the overhead term is modeled. Hover any cell for the breakdown.
Run it
The best-fitting configuration above, as a command:
llama-cli -hf deepseek-ai/DeepSeek-V2-Lite-Chat \ --ctx-size 131072 \ -ngl auto
Recent llama.cpp defaults to --fit on with -ngl auto, so it will size the offload for you. The question worth your attention is not how many layers to offload but what context and quantization you are willing to live with — which is what the grid above is for.
Why there are no speeds on this page
A capacity is not a card. Whether a model fits depends only on memory, so every figure above holds for any 32GB accelerator. How fast it runs depends on memory bandwidth, which varies several-fold between cards of the same capacity — so putting a tokens-per-second number here would be inventing one. Pick a specific card from hardware and the speed column appears.
Why other calculators disagree
A parameters × bits ÷ 8 estimate ignores two things that dominate at long context. First, the weights themselves are not the nominal rate — quantizations are mixtures, so the real file is consistently larger than the label implies. Second, this model uses latent attention and allocates no V cache at all, so any formula reading num_key_value_heads overstates its cache by more than an order of magnitude.