QW

QwQ 32B Preview

QwenGGUF by bartowskiUpdated 2024-11-27
Download on Hugging Face
Parameters32.8B
Context32K
Layers64
Architectureqwen2
Smallest quant10.0 GB
Quick answer

QwQ 32B Preview needs about 22.5 GB of memory at Q4_K_M (a 19.9 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 27 quants, from 10.0 GB (IQ2_XS) to 65.5 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 8.6 GB.

32B Qwen model focused on reasoning

QwQ 32B Preview is a 32.5‑billion‑parameter causal language model from the Qwen family. It supports a full 32,768‑token context and is optimized for reasoning tasks. The model is released under Apache‑2.0 and is available in multiple GGUF quantizations.

Good at

  • Reasoning
  • Mathematics
  • Coding

Limits

  • May mix languages or switch unexpectedly
  • Can enter recursive reasoning loops
  • Requires safety precautions

Best for

  • Complex problem solving
  • Technical code generation
  • Analytical writing

Who it’s for. Developers and researchers needing a large reasoning‑capable model for experimentation. The model is experimental and should be used with caution in production.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ2_XS10.0 GB 12.6 GB
Too big Get file →
IQ2_S10.4 GB 13.0 GB
Too big Get file →
IQ2_M11.3 GB 13.9 GB
Too big Get file →
Q2_K12.3 GB 15.0 GB
Too big Get file →
Q2_K_L13.1 GB 15.7 GB
Too big Get file →
IQ3_XS13.7 GB 16.4 GB
Too big Get file →
Q3_K_S14.4 GB 17.0 GB
Too big Get file →
IQ3_M14.8 GB 17.5 GB
Too big Get file →
Q3_K_M15.9 GB 18.6 GB
Too big Get file →
Q3_K_L17.2 GB 19.9 GB
Too big Get file →
IQ4_XS17.7 GB 20.3 GB
Too big Get file →
Q3_K_XL17.9 GB 20.6 GB
Too big Get file →
Q4_018.6 GB 21.3 GB
Too big Get file →
Q4_018.6 GB 21.3 GB
Too big Get file →
Q4_018.6 GB 21.3 GB
Too big Get file →
IQ4_NL18.7 GB 21.3 GB
Too big Get file →
Q4_018.7 GB 21.4 GB
Too big Get file →
Q4_K_S18.8 GB 21.4 GB
Too big Get file →
Q4_K_M19.9 GB 22.5 GB
Too big Get file →
Q4_K_L20.4 GB 23.1 GB
Too big Get file →
Q5_K_S22.6 GB 25.3 GB
Too big Get file →
Q5_K_M23.3 GB 25.9 GB
Too big Get file →
Q5_K_L23.7 GB 26.4 GB
Too big Get file →
Q6_K26.9 GB 29.5 GB
Too big Get file →
Q6_K_L27.3 GB 29.9 GB
Too big Get file →
Q8_034.8 GB 37.5 GB
Too big Get file →
BF1665.5 GB (2 parts) 68.2 GB
Too big Get file →

For 8‑GB VRAM, use IQ2_S (10.39 GB) or Q2_K (12.31 GB). For 16‑GB VRAM, IQ3_XS (13.71 GB) or Q3_K_S (14.39 GB) are suitable. For 24‑GB VRAM, Q4_K_M (19.85 GB) or Q5_K_S (22.64 GB) provide a balance of size and performance. Estimates are approximate.

What GPU do you need for QwQ 32B Preview?

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: the best quant that fits is Q2_K_L (13.1 GB file, about 15.7 GB in use).
  • 24 GB VRAM: the best quant that fits is Q4_K_L (20.4 GB file, about 23.1 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K_L (27.3 GB file, about 29.9 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (34.8 GB file, about 37.5 GB in use).

Which QwQ 32B Preview quant should you choose?

Q4_K_M is the usual starting point for QwQ 32B Preview: it balances file size and quality well. Here it is a 19.9 GB file.

The Q8_0 file is 34.8 GB, about 1.8 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 IQ2_XS at 10.0 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
Parameters32.8B
Layers64
Trained context32,768 tokens
KV cache (fp16)256 KB per token

Source

Quantized bybartowski
FamilyQwen
Licenseapache-2.0
Downloads (HF)6,982
Last updated2024-11-27

Frequently asked questions about QwQ 32B Preview

How much VRAM does QwQ 32B Preview need?

About 22.5 GB at Q4_K_M with an 8K context window. That is the 19.9 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 QwQ 32B Preview on an 8 GB GPU?

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

What is the file size of QwQ 32B Preview GGUF?

It depends on the quant: IQ2_XS is 10.0 GB, IQ2_S is 10.4 GB, IQ2_M is 11.3 GB, Q2_K is 12.3 GB, Q2_K_L is 13.1 GB, IQ3_XS is 13.7 GB and 21 more.

What context length does QwQ 32B Preview 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.1 GB at 8K and 8.6 GB at 32K.

Where can I download QwQ 32B Preview GGUF?

The files are on Hugging Face in the bartowski/QwQ-32B-Preview-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 QwQ 32B Preview use?

Hugging Face lists the license as apache-2.0. 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 QwQ 32B Preview on 8 GB VRAM?

Yes, using the IQ2_S or Q2_K quantizations, which are around 10–12 GB in size and require roughly 13–15 GB of VRAM at 8k context.

Does the model support vision or image input?

No, QwQ 32B Preview is a purely text‑based causal language model with no vision capabilities.

What license applies to this model?

The model is released under the Apache‑2.0 license, allowing free use and modification.

Other GGUFs of QwQ-32B-Preview

Similar models

Browse all →

More from bartowski

All by bartowski →

More Qwen models

All Qwen →

Other medium models

All medium models →