HA

Hammer2.1 7b GGUF

HammerGGUF by eaddarioUpdated 2025-04-24
Download on Hugging Face
Parameters7.61B
Context32K
Layers28
Architectureqwen2
Smallest quant3.1 GB
Quick answer

Hammer2.1 7b GGUF needs about 5.1 GB of memory at Q4_K_M (a 4.2 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 13 quants, from 3.1 GB (Q3_K_S) to 15.2 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 1.9 GB.

Hammer2.1 7b GGUF – lightweight function‑calling LLM

Hammer2.1 7b is a 7.61 billion‑parameter model based on Qwen 2.5 coder. It excels at multi‑step and multi‑turn function calling. The model is released under cc‑by‑nc‑4.0 and supports llama.cpp quantization.

Good at

  • Multi‑step function calling
  • Multi‑turn function calling
  • Irrelevant function detection

Limits

  • No vision support
  • Requires 8 k context for estimates
  • cc‑by‑nc‑4.0 license

Best for

  • Tool‑enabled chatbots
  • API‑based function execution
  • Edge device inference

Who it’s for. Developers building assistant applications that need reliable function calling. The model is suitable for on‑device inference with quantization support.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_S3.1 GB 4.1 GB
Fits Get file →
IQ3_S3.3 GB 4.2 GB
Fits Get file →
Q3_K_M3.4 GB 4.3 GB
Fits Get file →
IQ3_M3.5 GB 4.5 GB
Fits Get file →
Q3_K_L3.5 GB 4.5 GB
Fits Get file →
Q4_K_S4.1 GB 5.0 GB
Fits Get file →
IQ4_NL4.2 GB 5.1 GB
Fits Get file →
Q4_K_M4.2 GB 5.1 GB
Fits Get file →
Q5_K_S5.0 GB 5.9 GB
Fits Get file →
Q5_K_M5.1 GB 6.1 GB
Fits Get file →
Q6_K6.2 GB 7.2 GB
Fits Get file →
Q8_07.3 GB 8.2 GB
Too big Get file →
F1615.2 GB 16.2 GB
Too big Get file →

For 8 GB VRAM use Q4_K_S (4.06 GB) or IQ4_NL (4.17 GB). For 12 GB VRAM use Q5_K_S (4.96 GB) or Q5_K_M (5.09 GB). For 16 GB VRAM use Q6_K (6.23 GB) or Q8_0 (7.27 GB). Estimates are approximate.

What GPU do you need for Hammer2.1 7b GGUF?

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: the best quant that fits is Q5_K_S (5.0 GB file, about 5.9 GB in use).
  • 8 GB VRAM: the best quant that fits is Q6_K (6.2 GB file, about 7.2 GB in use).
  • 12 GB VRAM: the best quant that fits is Q8_0 (7.3 GB file, about 8.2 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (7.3 GB file, about 8.2 GB in use).
  • 24 GB VRAM: the best quant that fits is F16 (15.2 GB file, about 16.2 GB in use).

Which Hammer2.1 7b GGUF quant should you choose?

Q4_K_M is the usual starting point for Hammer2.1 7b GGUF: it balances file size and quality well. Here it is a 4.2 GB file.

The Q8_0 file is 7.3 GB, about 1.7 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 Q3_K_S at 3.1 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen2
Parameters7.61B
Layers28
Trained context32,768 tokens
KV cache (fp16)56 KB per token

Source

Quantized byeaddario
FamilyHammer
Downloads (HF)1,175
Last updated2025-04-24

Frequently asked questions about Hammer2.1 7b GGUF

How much VRAM does Hammer2.1 7b GGUF need?

About 5.1 GB at Q4_K_M with an 8K context window. That is the 4.2 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 Hammer2.1 7b GGUF on an 8 GB GPU?

Yes, with Q6_K: the 6.2 GB file needs about 7.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Hammer2.1 7b GGUF GGUF?

It depends on the quant: Q3_K_S is 3.1 GB, IQ3_S is 3.3 GB, Q3_K_M is 3.4 GB, IQ3_M is 3.5 GB, Q3_K_L is 3.5 GB, Q4_K_S is 4.1 GB and 7 more.

What context length does Hammer2.1 7b GGUF support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 0.5 GB at 8K and 1.9 GB at 32K.

Where can I download Hammer2.1 7b GGUF GGUF?

The files are on Hugging Face in the eaddario/Hammer2.1-7b-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 Hammer2.1 7b GGUF use?

Hugging Face lists the license as cc-by-nc-4.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 Hammer2.1 7b on 8 GB VRAM?

Yes, using Q4_K_S or IQ4_NL quantizations which require about 5 GB of VRAM at 8 k context.

Does the model support vision?

No, the model has no vision capabilities.

What license applies to this model?

The model is licensed under cc‑by‑nc‑4.0, allowing non‑commercial use with attribution.

Other GGUFs of Hammer2.1-7b

Similar models

Browse all →

More from eaddario

All by eaddario →

More Hammer models

All Hammer →

Other small models

All small models →