Exact VRAM memory allocation, dynamic KV-cache requirements, and tensor parallelism slicing for Qwen-2.5 72B Flagship Open quantized in FP16 Uncompressed Native deployed on NVIDIA H100 80GB SXM5.
In BF16 the default case totals 155.5 GB: a memory minimum of 3 × 80 GB, deployed as 4 × H100 or 2 × H200. At 8-bit it needs 2 × 80 GB.
131,072 tokens according to the model card, with up to 8,192 generated tokens. The default config is set to 32,768 and longer contexts use YaRN scaling.
No. Most Qwen2.5 sizes are Apache 2.0, but the 72B model uses the Qwen licence agreement, so check its commercial terms.
Qwen2.5 is Alibaba Cloud's Qwen team's September 2024 model series, ranging from 0.5B to 72B parameters and pre-trained on up to 18 trillion tokens. The flagship Qwen2.5-72B has 72.7 billion parameters (70.0 billion excluding embeddings), 80 layers and grouped-query attention with 64 query heads and 8 key-value heads. Its model card lists a context length of 131,072 tokens with up to 8,192 generated tokens. The default configuration file is set for 32,768 tokens; to go beyond that you enable YaRN rope scaling, which the card notes may slightly affect quality on short texts when applied statically. Unlike most of the series, which is Apache 2.0, the 72B model uses the Qwen licence agreement, so check its commercial terms.
A practical advantage of this model is that the Qwen team publishes its own quantized builds: Qwen2.5-72B-Instruct is available as AWQ, GPTQ-Int4, GPTQ-Int8 and GGUF in addition to BF16, so you are not relying on third-party conversions.
Weights: 72.7 × bits ÷ 8 gigabytes. Cache: the calculator scales a 0.5 MB-per-token reference by 72.7 ÷ 70, giving about 0.52 MB per token at 16-bit and half that at 8-bit or below, then multiplies by context length and concurrent requests. Overhead: 1.8 GB. Cards needed: the total divided by 92% of one card.
The model's real BF16 cache per token is 2 × 80 layers × 8 KV heads × 128 head dimensions × 2 bytes = 327,680 bytes, about 0.31 MiB. That is the same as Llama 3.1 70B because the attention layout matches. The calculator's figure is about 1.7 times the real one, a safe overestimate.
| Value | |
|---|---|
| Weights at 16-bit | 72.7 × 2 = 145.4 GB |
| KV cache (8,192 tokens × 2 requests) | 8.3 GB by the calculator's rule; about 5.4 GB using the real 0.31 MiB per token |
| Overhead | 1.8 GB |
| Total shown | 155.5 GB |
| H100 80 GB cards | 155.5 ÷ 73.6 = 2.1 → 3 |
As with other 64-head models, three-way tensor parallelism is not supported by common engines, so an unquantized deployment runs on 4 × H100, or on 2 × H200 where 282 GB holds the weights with plenty of cache space.
Qwen2.5-72B is often chosen for long-document work. Set FP8, a 32,768-token context and 4 concurrent requests: the calculator gives 72.7 GB of weights and 33.2 GB of cache, 107.7 GB, or 2 × H100. With the real attention layout and an FP8 cache the 131,072 cached tokens need about 21.5 GB, or about 43 GB with a 16-bit cache. Either way two 80 GB cards are enough, which makes FP8 on a two-GPU node a common choice for this model.
| Build | Calculator total (8K × 2) | Fits on |
|---|---|---|
| BF16 | 155.5 GB | 4 × 80 GB, or 2 × 141 GB |
| GPTQ-Int8 / FP8 | 78.7 GB | 2 × 80 GB (just over the single-card limit) |
| GGUF Q4_K_M | 46.9 GB | 1 × 80 GB with room for cache; 2 × 24 GB consumer cards |
| AWQ / GPTQ-Int4 | 42.3 GB | 1 × 48 GB card for single-user, short-context use (40.2 GB at batch 1) |