Downloads · 30 days
1.6K
25% of all-time downloads
NANI-Nithin/granite-4.2-3b-GGUF
granite-4.2-3b-GGUF is a text generation model from NANI-Nithin. Use it when you need the model to write or continue text. It is set up for llama.cpp.
[](https://github.com/ggerganov/llama.cpp) [](https://github.com/ggerganov/llama.cpp) [](https://huggingface.co/NANI-Nithin/granite-4.2-3b-GGUF)
Downloads · 30 days
1.6K
25% of all-time downloads
All-time downloads
6.6K
Public
Repo size
61.3 GB
Likes
1
Public
Click a slice to open those files.
.gguf61.3 GB · 100%
From the Hugging Face model README
Quantized GGUF files for Granite-4.2-3B, optimized for deployment with llama.cpp. These are the exact quantized versions of the Granite-4.2-3B model, packaged as GGUF format for efficient inference.
Granite-4.2-3B is IBM's compact reasoning model in the Granite 4.2 family. Despite its small parameter count of 3B, it delivers strong performance on reasoning-intensive tasks by leveraging built-in <think>...</think> chain-of-thought reasoning. It supports flexible thinking modes — full thinking (default), non-thinking, and low-effort — allowing users to balance depth vs. latency on a per-query basis.
| File | Size | Quality | Recommended Use |
|---|---|---|---|
| granite-4.2-3b-BF16.gguf | 6.82 GB | Full precision source. Every quant below is cut from this file. | Original model, no quantization |
| granite-4.2-3b-Q8_0.gguf | 3.63 GB | Effectively lossless. Use when disk and RAM are not the constraint. | Highest quality, less compression |
| granite-4.2-3b-Q6_K.gguf | 2.80 GB | Near-lossless; the last stop before quality becomes measurable. | Balanced quality/size |
| granite-4.2-3b-Q5_K_M.gguf | 2.43 GB | Very good quality, noticeably smaller than Q6_K. | Good trade-off |
| granite-4.2-3b-Q5_K_S.gguf | 2.38 GB | Slightly smaller than Q5_K_M for a slight quality cost. | Smaller footprint |
| granite-4.2-3b-Q5_1.gguf | 2.58 GB | Legacy. Prefer Q5_K_M. | Historical compatibility |
| granite-4.2-3b-Q5_0.gguf | 2.38 GB | Legacy. Prefer Q5_K_M. | Historical compatibility |
| granite-4.2-3b-Q4_K_M.gguf | 2.09 GB | The usual default. Best quality-per-byte for most people. | Default choice |
| granite-4.2-3b-Q4_K_S.gguf | 2.00 GB | A little smaller than Q4_K_M, a little worse. | Smaller footprint |
| granite-4.2-3b-IQ4_NL.gguf | 1.99 GB | Non-linear 4-bit; good on hardware without fast K-quant kernels. | Specialized hardware |
| granite-4.2-3b-IQ4_XS.gguf | 1.89 GB | Best sub-4.5bpw option; usually beats Q4_K_S at a smaller size. | Size-critical |
| granite-4.2-3b-Q4_1.gguf | 2.18 GB | Legacy. Prefer Q4_K_M. | Historical compatibility |
| granite-4.2-3b-Q4_0.gguf | 1.98 GB | Legacy round-to-nearest. Prefer Q4_K_M unless a runtime needs this. | Historical compatibility |
| granite-4.2-3b-Q3_K_L.gguf | 1.84 GB | Small, with real quality loss. Usable when RAM is tight. | Tight RAM constraints |
| granite-4.2-3b-Q3_K_M.gguf | 1.71 GB | Smaller again; noticeable degradation. | Memory-constrained |
| granite-4.2-3b-IQ3_M.gguf | 1.61 GB | Strong at ~3.7bpw, clearly better than Q3_K_M. | Quality-conscious sizing |
| granite-4.2-3b-IQ3_S.gguf | 1.57 GB | Slightly smaller than IQ3_M. | Compact version |
| granite-4.2-3b-Q3_K_S.gguf | 1.56 GB | Aggressive. Prefer IQ3_M at a similar size. | Maximum compression |
| granite-4.2-3b-IQ3_XS.gguf | 1.50 GB | Aggressive but coherent. | Extreme compression |
| granite-4.2-3b-IQ3_XXS.gguf | 1.39 GB | Very aggressive; the last coherent step down. | Extreme compression |
| granite-4.2-3b-Q2_K.gguf | 1.36 GB | Very small, heavily degraded. For experimentation. | Experimental only |
| granite-4.2-3b-IQ2_M.gguf | 1.26 GB | The smallest size most people find usable. | Memory-constrained |
| granite-4.2-3b-Q2_K_S.gguf | 1.27 GB | Smaller than Q2_K, at a further quality cost. | Even smaller |
| granite-4.2-3b-IQ2_S.gguf | 1.18 GB | Below the usual usability line. | Extreme compression |
| granite-4.2-3b-IQ2_XS.gguf | 1.11 GB | Experimental. | Experimental only |
| granite-4.2-3b-IQ2_XXS.gguf | 1.02 GB | Experimental. | Experimental only |
| granite-4.2-3b-Q2_0.gguf | 1.16 GB | Extreme, group-64. Included for completeness. | Historical compatibility |
| granite-4.2-3b-IQ1_M.gguf | 0.92 GB | Extreme. Expect substantial degradation. | Maximum compression |
| granite-4.2-3b-IQ1_S.gguf | 0.87 GB | Extreme. Expect substantial degradation. | Maximum compression |
| granite-4.2-3b-Q1_0.gguf | 0.65 GB | Extreme. Included for completeness. | Historical compatibility |
All files are cut from the BF16 source (6.82 GB). Each quant is independently uploaded and deleted immediately after successful upload to minimize peak disk usage.
Granite-4.2-3B is built on a decoder-only dense transformer architecture:
Important: Use
temperature=1.0andtop_p=0.95across all tasks and serving backends, including general chat, reasoning, and tool calling.
| Parameter | Value | Notes |
|---|---|---|
temperature | 1.0 | Required for all modes |
top_p | 0.95 | Nucleus sampling threshold |
max_new_tokens | 8192 | Thinking mode (increase for complex reasoning) |
max_new_tokens | 2048 | Non-thinking mode |
do_sample | True | Required when temperature > 0 |
| Mode | Template Parameters | Behavior |
|---|---|---|
| Thinking (default) | enable_thinking=True | Full chain-of-thought reasoning inside <think>...</think> |
| Non-thinking | enable_thinking=False | Direct answer with no reasoning overhead |
| Low-effort | enable_thinking=True, low_effort=True | Brief reasoning for simpler queries |
# Download a quantization (recommended: Q4_K_M)
huggingface-cli download NANI-Nithin/granite-4.2-3b-GGUF granite-4.2-3b-Q4_K_M.gguf --local-dir .
# Run inference
llama-cli -m granite-4.2-3b-Q4_K_M.gguf -p "Hello, how are you?"
Or use the Hugging Face Hub integration:
# Serve with llama-server
llama-server -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M
# Run with model path
llama-cli -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M -p "Hello"
# Start the server
llama-server -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M
# Query with curl
curl -X POST http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "granite-4.2-3b-Q4_K_M",
"messages": [{"role": "user", "content": "Explain quantum computing in simple terms"}],
"temperature": 1.0,
"top_p": 0.95,
"max_tokens": 8192
}'
# Download the model
huggingface-cli download NANI-Nithin/granite-4.2-3b-GGUF granite-4.2-3b-Q4_K_M.gguf
# Run inference
./llama-cli -m granite-4.2-3b-Q4_K_M.gguf -p "What is the Riemann hypothesis?"
enable_thinking=True to get chain-of-thought reasoning. Set to False for faster, direct answers.This GGUF repo contains quantized versions of Granite-4.2-3B, including evaluation results and comprehensive serving instructions. The quantization was performed using llama.cpp's quantization pipeline, preserving the model's reasoning capabilities while reducing size for deployment.
For the full source model documentation, including detailed training methodology, evaluation benchmarks, and advanced usage, refer to the source repo: ibm-granite/granite-4.2-3b.
Note: These files are optimized for llama.cpp and are not compatible with vLLM, SGLang, or the Transformers library in their current format. For those frameworks, use the source model ibm-granite/granite-4.2-3b.