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 70BQwen2.5 72BRatio
Parameters70.6B 70,553,706,49672.7B 72,706,203,6481.03×
Active per tokenall (dense)all (dense)1.03×
Layers8080same
Hidden size (d)8,1928,192same
Attention64 heads, 8 KV heads × 12864 heads, 8 KV heads × 128
FFNSwiGLU, 28,672SwiGLU, 29,568
Vocabulary128,256152,0641.19×
Tied embeddingsnono
Max context128K128Ksame
Weights, BF16141 GB145 GB1.03×
Weights, 4-bit35.3 GB36.4 GB1.03×
KV cache per token (BF16)327.7 KB327.7 KBsame
KV cache at 32K tokens10.7 GB10.7 GBsame
FLOPs per token (4K context)151.8 GFLOPs156.1 GFLOPs1.03×

The full workings: Llama 3.1 70B · Qwen2.5 72B · change the models