QW

Qwen2-72B-Instruct

QwenGGUF by grapevine-AIUpdated 2024-08-11
Download on Hugging Face
Parameters72.7B
Context32K
Layers80
Architectureqwen2
Smallest quant47.4 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 2 quants, from 47.4 GB (Q4_K_M) to 145.4 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 10.7 GB.

Qwen2-72B-Instruct is a 72.7B-parameter Qwen model in GGUF format, quantized by grapevine-AI. Its trained context length is 32K tokens. The repository has 2 quant files, from 47.4 GB (Q4_K_M) to 145.4 GB (BF16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M47.4 GB 50.6 GB
Too big Get file →
BF16145.4 GB (8 parts) 148.6 GB
Too big Get file →

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: no quant fits at an 8K context.
  • 48 GB VRAM: no quant fits at an 8K context.

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.

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 bygrapevine-AI
FamilyQwen
Licenseother
Downloads (HF)56
Last updated2024-08-11

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 50.6 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: Q4_K_M is 47.4 GB, BF16 is 145.4 GB.

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 grapevine-AI/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.

Similar models

Browse all →

More from grapevine-AI

All by grapevine-AI →

More Qwen models

All Qwen →

Other large models

All large models →