QW

Qwen2-72B-Instruct

QwenGGUF by bartowskiUpdated 2024-06-07
Download on Hugging Face
Parameters72.7B
Context32K
Layers80
Architectureqwen2
Smallest quant23.7 GB
Quick answer

Qwen2-72B-Instruct 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 13 quants, from 23.7 GB (IQ1_M) to 145.4 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 10.7 GB.

Qwen2-72B-Instruct, 72 B parameters, 32 k context, GGUF format

Qwen2-72B-Instruct is a 72 billion‑parameter instruction model from the Qwen family. It supports a 32,768‑token context window and is available in multiple GGUF quantizations. The model is released under an unspecified license and has no detected vision abilities.

Good at

  • Large‑scale instruction following
  • Long‑form text generation
  • Multilingual support

Limits

  • No vision support
  • Requires 8 k context for memory estimates
  • License not specified

Best for

  • Enterprise chatbots
  • Research prototyping
  • Content creation pipelines

Who it’s for. Developers and researchers needing a high‑capacity instruction model for text‑only workloads. The model is suitable for environments where GPU memory can accommodate large quantizations.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_M23.7 GB 26.9 GB
Too big Get file →
IQ2_XXS25.5 GB 28.7 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 →
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 →
IQ4_XS39.7 GB 42.9 GB
Too big Get file →
Q4_K_M47.4 GB 50.6 GB
Too big Get file →
Q5_K_M54.4 GB (2 parts) 57.6 GB
Too big Get file →
Q8_077.3 GB (2 parts) 80.4 GB
Too big Get file →
F16145.4 GB (4 parts) 148.6 GB
Too big Get file →

For 16 GB VRAM, use IQ4_XS (39.71 GB file, ~42.9 GB memory). For 24 GB VRAM, IQ3_M (35.5 GB file, ~38.7 GB memory) is a good balance. For 32 GB VRAM, Q4_K_M (47.42 GB file, ~50.6 GB memory) offers higher quality. Estimates are approximate.

What GPU do you need for Qwen2-72B-Instruct?

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_XXS (25.5 GB file, about 28.7 GB in use).
  • 48 GB VRAM: the best quant that fits is IQ4_XS (39.7 GB file, about 42.9 GB in use).

Which Qwen2-72B-Instruct quant should you choose?

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

The Q8_0 file is 77.3 GB, about 1.6 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is IQ1_M at 23.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 context32,768 tokens
KV cache (fp16)320 KB per token

Source

Quantized bybartowski
FamilyQwen
Licenseother
Downloads (HF)909
Last updated2024-06-07

Frequently asked questions about Qwen2-72B-Instruct

How much VRAM does Qwen2-72B-Instruct 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-Instruct on an 8 GB GPU?

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

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

It depends on the quant: IQ1_M is 23.7 GB, IQ2_XXS is 25.5 GB, IQ2_M is 29.3 GB, Q2_K is 29.8 GB, IQ3_XXS is 31.8 GB, Q3_K_S is 34.5 GB and 7 more.

What context length does Qwen2-72B-Instruct support?

The GGUF header lists a trained context length of 32,768 tokens (32K). 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-Instruct GGUF?

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

No. The smallest quant requires ~26.9 GB memory at 8 k context, exceeding 8 GB VRAM.

Which quant gives the best performance on an NVIDIA GPU?

K‑quants such as Q4_K_M perform well with cuBLAS, but I‑quants like IQ3_M can offer better speed for smaller VRAM.

Is there a split version for the largest quant?

Yes, Q5_K_M and Q8_0 are split into two shards, and F16 into four shards.

Similar models

Browse all →

More from bartowski

All by bartowski →

More Qwen models

All Qwen →

Other large models

All large models →