QW

Qwen2.5 95B Instruct

QwenGGUF by mradermacherUpdated 2024-10-23
Download on Hugging Face
Parameters94.6B
Context32K
Layers105
Architectureqwen2
Smallest quant38.6 GB
Quick answer

Qwen2.5 95B Instruct needs about 48.6 GB of memory at Q3_K_S (a 44.5 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 3 quants, from 38.6 GB (Q2_K) to 48.9 GB (Q3_K_M). Longer context needs more: at 32K tokens the KV cache alone adds about 14.1 GB.

Qwen2.5 95B Instruct is a 94.6B-parameter Qwen model in GGUF format, quantized by mradermacher. Its trained context length is 32K tokens. The repository has 3 quant files, from 38.6 GB (Q2_K) to 48.9 GB (Q3_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K38.6 GB 42.6 GB
Too big Get file →
Q3_K_S44.5 GB 48.6 GB
Too big Get file →
Q3_K_M48.9 GB 52.9 GB
Too big Get file →

What GPU do you need for Qwen2.5 95B 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: the best quant that fits is Q2_K (38.6 GB file, about 42.6 GB in use).

Which Qwen2.5 95B Instruct quant should you choose?

Q3_K_S (44.5 GB) is the middle option in this repository. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

If memory is tight, the smallest file is Q2_K at 38.6 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
Parameters94.6B
Layers105
Trained context32,768 tokens
KV cache (fp16)420 KB per token

Source

Quantized bymradermacher
FamilyQwen
Licenseother
Downloads (HF)33
Last updated2024-10-23

Frequently asked questions about Qwen2.5 95B Instruct

How much VRAM does Qwen2.5 95B Instruct need?

About 48.6 GB at Q3_K_S with an 8K context window. That is the 44.5 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.5 95B Instruct on an 8 GB GPU?

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

What is the file size of Qwen2.5 95B Instruct GGUF?

It depends on the quant: Q2_K is 38.6 GB, Q3_K_S is 44.5 GB, Q3_K_M is 48.9 GB.

What context length does Qwen2.5 95B 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 3.5 GB at 8K and 14.1 GB at 32K.

Where can I download Qwen2.5 95B Instruct GGUF?

The files are on Hugging Face in the mradermacher/Qwen2.5-95B-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.5 95B 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.

Other GGUFs of Qwen2.5-95B-Instruct

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Qwen models

All Qwen →

Other large models

All large models →