QW

Qwen2-72B

QwenGGUF by mradermacherUpdated 2024-08-02
Download on Hugging Face
Parameters72.7B
Context128K
Layers80
Architectureqwen2
Smallest quant22.7 GB
Quick answer

Qwen2-72B needs about 50.6 GB of memory at Q4_K_M (a 47.4 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 18 quants, from 22.7 GB (IQ1_S) to 47.4 GB (Q4_K_M). Longer context needs more: at 32K tokens the KV cache alone adds about 10.7 GB.

Qwen2-72B GGUF model, 72.7B parameters, 131072 context tokens

Qwen2-72B is a 72.7 billion parameter language model with a 131072 token context window. The GGUF version is available in multiple quantizations, ranging from IQ1_S to Q4_K_M. The model is part of the Qwen family and is not a mixture of experts.

Good at

  • Large context handling
  • High parameter count
  • Versatile language tasks

Limits

  • No vision support
  • License type is other
  • Requires post‑training for generation

Best for

  • Long‑form text generation
  • Complex reasoning tasks
  • Multilingual content creation

Who it’s for. Developers and researchers needing a large‑scale language model with extensive context. Suitable for fine‑tuning on specialized datasets or for building advanced chat applications.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S22.7 GB 25.9 GB
Too big Get file →
IQ1_M23.7 GB 26.9 GB
Too big Get file →
IQ2_XXS25.5 GB 28.7 GB
Too big Get file →
IQ2_XS27.1 GB 30.2 GB
Too big Get file →
IQ2_S27.9 GB 31.1 GB
Too big Get file →
IQ2_M29.3 GB 32.5 GB
Too big Get file →
Q2_K29.8 GB 33.0 GB
Too big Get file →
IQ3_XXS31.8 GB 35.0 GB
Too big Get file →
IQ3_XS32.8 GB 36.0 GB
Too big Get file →
IQ3_S34.5 GB 37.7 GB
Too big Get file →
Q3_K_S34.5 GB 37.7 GB
Too big Get file →
IQ3_M35.5 GB 38.7 GB
Too big Get file →
Q3_K_M37.7 GB 40.9 GB
Too big Get file →
Q3_K_L39.5 GB 42.7 GB
Too big Get file →
IQ4_XS39.7 GB 42.9 GB
Too big Get file →
Q4_041.4 GB 44.6 GB
Too big Get file →
Q4_K_S43.9 GB 47.1 GB
Too big Get file →
Q4_K_M47.4 GB 50.6 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (22.69 GB file, 25.9 GB memory at 8 k context). For 16 GB VRAM, IQ2_M (29.34 GB file, 32.5 GB memory) or Q2_K (29.81 GB file, 33 GB memory) are suitable. For 24 GB VRAM, Q4_K_M (47.42 GB file, 50.6 GB memory) provides higher quality.

What GPU do you need for Qwen2-72B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: no quant fits at an 8K context.
  • 32 GB VRAM: the best quant that fits is IQ2_S (27.9 GB file, about 31.1 GB in use).
  • 48 GB VRAM: the best quant that fits is Q4_K_S (43.9 GB file, about 47.1 GB in use).

Which Qwen2-72B quant should you choose?

Q4_K_M is the usual starting point for Qwen2-72B: it balances file size and quality well. Here it is a 47.4 GB file.

If memory is tight, the smallest file is IQ1_S at 22.7 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen2
Parameters72.7B
Layers80
Trained context131,072 tokens
KV cache (fp16)320 KB per token

Source

Quantized bymradermacher
FamilyQwen
Base modelQwen/Qwen2-72B
Licenseother
Downloads (HF)591
Last updated2024-08-02

Frequently asked questions about Qwen2-72B

How much VRAM does Qwen2-72B need?

About 50.6 GB at Q4_K_M with an 8K context window. That is the 47.4 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Qwen2-72B on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 25.9 GB, so you would need a larger GPU or CPU offloading.

What is the file size of Qwen2-72B GGUF?

It depends on the quant: IQ1_S is 22.7 GB, IQ1_M is 23.7 GB, IQ2_XXS is 25.5 GB, IQ2_XS is 27.1 GB, IQ2_S is 27.9 GB, IQ2_M is 29.3 GB and 12 more.

What context length does Qwen2-72B support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 2.7 GB at 8K and 10.7 GB at 32K.

Where can I download Qwen2-72B GGUF?

The files are on Hugging Face in the mradermacher/Qwen2-72B-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Qwen2-72B use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Qwen2-72B on 8 GB VRAM?

Use the IQ1_S quantization; it requires about 25.9 GB memory at 8 k context, so 8 GB VRAM is insufficient. A larger VRAM or a smaller quant is needed.

Does the GGUF version support vision tasks?

No, the model does not include vision capabilities.

Is the model licensed for commercial use?

The license is listed as "other"; review the license details before commercial deployment.

Other GGUFs of Qwen2-72B

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Qwen models

All Qwen →

Other large models

All large models →