QW

Qwen 72B

QwenGGUF by mradermacherUpdated 2024-09-09
Download on Hugging Face
Parameters72.3B
Context32K
Layers80
Architectureqwen
Smallest quant15.5 GB
Quick answer

Qwen 72B needs about 67.1 GB of memory at Q4_K_M (a 45.1 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 19 quants, from 15.5 GB (IQ1_S) to 49.9 GB (Q5_K_S). Longer context needs more: at 32K tokens the KV cache alone adds about 85.9 GB.

Qwen 72B – 72.3B parameter transformer with 32k context

Qwen 72B is a 72.3B parameter transformer model from Alibaba Cloud. It supports 32k context length and is pretrained on over 3 trillion tokens. The model is available in multiple GGUF quantizations.

Good at

  • Large context handling
  • Multilingual text generation
  • Code and math reasoning

Limits

  • No vision support
  • License is other
  • Requires large VRAM for full precision

Best for

  • Chat assistants
  • Long‑form content creation
  • Research prototyping

Who it’s for. Developers and researchers needing a high‑capacity language model for complex tasks. The model is suitable for those with sufficient GPU memory to run the desired quantization.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S15.5 GB 37.5 GB
Too big Get file →
IQ1_M17.0 GB 39.0 GB
Too big Get file →
IQ2_XXS19.4 GB 41.4 GB
Too big Get file →
IQ2_XS21.5 GB 43.5 GB
Too big Get file →
IQ2_S22.6 GB 44.6 GB
Too big Get file →
IQ2_M24.6 GB 46.5 GB
Too big Get file →
Q2_K26.5 GB 48.5 GB
Too big Get file →
IQ3_XXS28.4 GB 50.4 GB
Too big Get file →
IQ3_XS30.4 GB 52.4 GB
Too big Get file →
IQ3_S31.6 GB 53.5 GB
Too big Get file →
Q3_K_S31.6 GB 53.5 GB
Too big Get file →
IQ3_M34.7 GB 56.7 GB
Too big Get file →
Q3_K_M36.7 GB 58.7 GB
Too big Get file →
IQ4_XS38.8 GB 60.8 GB
Too big Get file →
Q3_K_L39.2 GB 61.2 GB
Too big Get file →
Q4_041.1 GB 63.1 GB
Too big Get file →
Q4_K_S41.3 GB 63.2 GB
Too big Get file →
Q4_K_M45.1 GB 67.1 GB
Too big Get file →
Q5_K_S49.9 GB 71.9 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (15.52 GB file, ~37.5 GB memory). For 12 GB VRAM, IQ1_M (16.98 GB file, ~39 GB memory). For 16 GB VRAM, IQ2_S (22.62 GB file, ~44.6 GB memory). Estimates are approximate.

What GPU do you need for Qwen 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: no quant fits at an 8K context.
  • 48 GB VRAM: the best quant that fits is IQ2_M (24.6 GB file, about 46.5 GB in use).

Which Qwen 72B quant should you choose?

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

If memory is tight, the smallest file is IQ1_S at 15.5 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

Architectureqwen
Parameters72.3B
Layers80
Trained context32,768 tokens
KV cache (fp16)2560 KB per token

Source

Quantized bymradermacher
FamilyQwen
Base modelQwen/Qwen-72B
Licenseother
Downloads (HF)980
Last updated2024-09-09

Frequently asked questions about Qwen 72B

How much VRAM does Qwen 72B need?

About 67.1 GB at Q4_K_M with an 8K context window. That is the 45.1 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 Qwen 72B on an 8 GB GPU?

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

What is the file size of Qwen 72B GGUF?

It depends on the quant: IQ1_S is 15.5 GB, IQ1_M is 17.0 GB, IQ2_XXS is 19.4 GB, IQ2_XS is 21.5 GB, IQ2_S is 22.6 GB, IQ2_M is 24.6 GB and 13 more.

What context length does Qwen 72B support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 21.5 GB at 8K and 85.9 GB at 32K.

Where can I download Qwen 72B GGUF?

The files are on Hugging Face in the mradermacher/Qwen-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 Qwen 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 Qwen 72B on 8 GB VRAM?

Use the IQ1_S quantization; it requires about 37.5 GB memory at 8k context, so 8 GB VRAM is insufficient for full inference.

Does the model support image input?

No, the model has no vision capabilities.

What is the maximum context length?

The model supports up to 32768 tokens of context.

Other GGUFs of Qwen-72B

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Qwen models

All Qwen →

Other large models

All large models →