Compare
Llama 3.1 70B vs Qwen2.5 72B
Qwen2.5 72B has 72.7B parameters and Llama 3.1 70B 70.6B, about the same. In BF16 the weights take 141 GB and 145 GB.
| Llama 3.1 70B | Qwen2.5 72B | Ratio | |
|---|---|---|---|
| Parameters | 70.6B 70,553,706,496 | 72.7B 72,706,203,648 | 1.03× |
| Active per token | all (dense) | all (dense) | 1.03× |
| Layers | 80 | 80 | same |
| Hidden size (d) | 8,192 | 8,192 | same |
| Attention | 64 heads, 8 KV heads × 128 | 64 heads, 8 KV heads × 128 | |
| FFN | SwiGLU, 28,672 | SwiGLU, 29,568 | |
| Vocabulary | 128,256 | 152,064 | 1.19× |
| Tied embeddings | no | no | |
| Max context | 128K | 128K | same |
| Weights, BF16 | 141 GB | 145 GB | 1.03× |
| Weights, 4-bit | 35.3 GB | 36.4 GB | 1.03× |
| KV cache per token (BF16) | 327.7 KB | 327.7 KB | same |
| KV cache at 32K tokens | 10.7 GB | 10.7 GB | same |
| FLOPs per token (4K context) | 151.8 GFLOPs | 156.1 GFLOPs | 1.03× |
The full workings: Llama 3.1 70B · Qwen2.5 72B · change the models