QW

Qwen2 Math 72B Instruct

QwenGGUF by mradermacherUpdated 2024-11-16
Download on Hugging Face
Parameters72.7B
Context4K
Layers80
Architectureqwen2
Smallest quant22.7 GB
Quick answer

Qwen2 Math 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 18 quants, from 22.7 GB (IQ1_S) to 47.4 GB (Q4_K_M).

Qwen2 Math 72B Instruct – large‑scale math reasoning model

Qwen2 Math 72B Instruct is a 72.7 billion‑parameter instruction model focused on arithmetic and mathematical problem solving. It supports a 4096‑token context window and is available in multiple GGUF quantizations.

Good at

  • Complex math reasoning
  • Multi‑step logical tasks
  • Instruction‑driven dialogue

Limits

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

Best for

  • Academic research in mathematics
  • Technical tutoring for advanced math
  • Generating detailed math explanations

Who it’s for. Researchers, educators, and developers needing high‑accuracy math reasoning in a conversational format. The model is best suited for environments where GPU memory can accommodate the larger quantizations.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S22.7 GB 24.5 GB
Too big Get file →
IQ1_M23.7 GB 25.6 GB
Too big Get file →
IQ2_XXS25.5 GB 27.3 GB
Too big Get file →
IQ2_XS27.1 GB 28.9 GB
Too big Get file →
IQ2_S27.9 GB 29.8 GB
Too big Get file →
IQ2_M29.3 GB 31.2 GB
Too big Get file →
Q2_K29.8 GB 31.7 GB
Too big Get file →
IQ3_XXS31.8 GB 33.7 GB
Too big Get file →
IQ3_XS32.8 GB 34.7 GB
Too big Get file →
IQ3_S34.5 GB 36.3 GB
Too big Get file →
Q3_K_S34.5 GB 36.3 GB
Too big Get file →
IQ3_M35.5 GB 37.3 GB
Too big Get file →
Q3_K_M37.7 GB 39.5 GB
Too big Get file →
Q3_K_L39.5 GB 41.3 GB
Too big Get file →
IQ4_XS39.7 GB 41.6 GB
Too big Get file →
Q4_041.4 GB 43.2 GB
Too big Get file →
Q4_K_S43.9 GB 45.7 GB
Too big Get file →
Q4_K_M47.4 GB 49.3 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (22.69 GB file, 25.9 GB memory at 8k context). For 12 GB VRAM, IQ2_S (27.94 GB file, 31.1 GB memory) is recommended. For 16 GB VRAM, Q4_K_M (47.42 GB file, 50.6 GB memory) provides higher quality with acceptable memory usage.

What GPU do you need for Qwen2 Math 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_S (27.9 GB file, about 31.1 GB in use).
  • 48 GB VRAM: the best quant that fits is Q4_K_S (43.9 GB file, about 47.1 GB in use).

Which Qwen2 Math 72B Instruct quant should you choose?

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

If memory is tight, the smallest file is IQ1_S at 22.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 context4,096 tokens
KV cache (fp16)320 KB per token

Source

Quantized bymradermacher
FamilyQwen
Licenseother
Downloads (HF)984
Last updated2024-11-16

Frequently asked questions about Qwen2 Math 72B Instruct

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

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

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

It depends on the quant: IQ1_S is 22.7 GB, IQ1_M is 23.7 GB, IQ2_XXS is 25.5 GB, IQ2_XS is 27.1 GB, IQ2_S is 27.9 GB, IQ2_M is 29.3 GB and 12 more.

What context length does Qwen2 Math 72B Instruct support?

The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 2.7 GB at 8K and 1.3 GB at 4K.

Where can I download Qwen2 Math 72B Instruct GGUF?

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

Only the smallest quantizations such as IQ1_S can fit, but memory usage will be close to the VRAM limit.

Does this model support Chinese language?

Currently it mainly supports English; bilingual support will be released soon.

Is there a license restriction?

The model is released under an other license; check the repository for details.

Other GGUFs of Qwen2-Math-72B-Instruct

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Qwen models

All Qwen →

Other large models

All large models →