~/can-i-run/qwen-2-5-7b
Alibaba provider

Can I run Qwen 2.5 7B?

Short answer: yes, on a RTX 3090 (24GB) at FP16/BF16. Long answer below.

qwen2.5:7bLM StudiovLLMMLXoMLX

The math, in one paragraph.

$ ./vrambudget --explain qwen-2-5-7b

Qwen 2.5 7B has 7B parameters. At FP16 that's 14 GB of raw weights. Quantization shrinks that, but you also need budget for the KV cache (definition), framework overhead, and safety headroom. The rule of thumb: real usable budget on a card is roughly its nameplate VRAM minus 25%. That's how the table below was computed.

What hardware actually fits.

$ grep "fits" gpus.json
FP16/BF16
14GB
27 GPUs fit
RTX 309024GBRTX 3090 Ti24GBRTX 409024GBRX 7900 XTX24GB+ 23 more
Q8_0
7.4GB
39 GPUs fit
RTX 3060 12GB12GBRTX 3080 Ti12GBRTX 407012GBRTX 4070 Super12GB+ 35 more
Q5_K_M
4.8GB
42 GPUs fit
RTX 30708GBRTX 40608GBRTX 308010GBRTX 3060 12GB12GB+ 38 more
Q4_K_M
3.9GB
42 GPUs fit
RTX 30708GBRTX 40608GBRTX 308010GBRTX 3060 12GB12GB+ 38 more
Q3_K_M
3.0GB
42 GPUs fit
RTX 30708GBRTX 40608GBRTX 308010GBRTX 3060 12GB12GB+ 38 more

Pick your path.

$ ls strategies/
Tightest budget

Smallest GPU that fits Qwen 2.5 7B at any quant: RTX 3090 at FP16/BF16.

Reference quality (FP16)

Lossless inference needs 14 GB. Pick from 27 cards.

Best quality on a 24GB card

FP16/BF16 fits comfortably (14 GB weights).

Tune the math yourself

Open the calculator pre-tuned for Qwen 2.5 7B: ↗ /calc?model=qwen-2-5-7b

See the full model page.

$ ./open

Discussion.

$ gh discussion list

// sign in with github to leave a comment. threads live in the repo's discussions tab.