Granite 4.0 H Small Base needs about 25.3 GB of memory at Q4_K_M (a 19.5 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 24 quants, from 0.1 GB to 26.5 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 21.5 GB.
Granite 4.0 H Small Base – 32.2B parameter decoder‑only LLM
Granite 4.0 H Small Base is a 32.2B parameter decoder‑only model with a 1,048,576 token context window. It supports long‑context text generation and Fill‑in‑the‑Middle code completion. The model is released under Apache‑2.0 and is available in multiple GGUF quantizations.
Good at
- Long‑context text generation
- Fill‑in‑the‑Middle code completion
- Multilingual text tasks
Limits
- Large VRAM requirement for high‑quality quants
- No vision or audio modalities
- Requires 8k context for memory estimates
Best for
- Summarization of long documents
- Code completion with FIM
- Multilingual Q&A
Who it’s for. Developers and researchers needing a large, long‑context language model for text‑to‑text tasks. The model is suitable for fine‑tuning on specialized domains.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.1 GB | 6.0 GB | Fits | Get file → | |
| IQ1_S | 6.7 GB | 12.5 GB | Too big | Get file → | |
| IQ1_M | 7.4 GB | 13.2 GB | Too big | Get file → | |
| IQ2_XXS | 8.6 GB | 14.5 GB | Too big | Get file → | |
| IQ2_XS | 9.6 GB | 15.4 GB | Too big | Get file → | |
| IQ2_S | 9.6 GB | 15.5 GB | Too big | Get file → | |
| IQ2_M | 10.6 GB | 16.5 GB | Too big | Get file → | |
| Q2_K_S | 11.1 GB | 17.0 GB | Too big | Get file → | |
| Q2_K | 11.8 GB | 17.6 GB | Too big | Get file → | |
| IQ3_XXS | 12.5 GB | 18.4 GB | Too big | Get file → | |
| IQ3_XS | 13.4 GB | 19.3 GB | Too big | Get file → | |
| IQ3_S | 14.1 GB | 19.9 GB | Too big | Get file → | |
| Q3_K_S | 14.1 GB | 19.9 GB | Too big | Get file → | |
| IQ3_M | 14.2 GB | 20.1 GB | Too big | Get file → | |
| Q3_K_M | 15.4 GB | 21.2 GB | Too big | Get file → | |
| Q3_K_L | 16.5 GB | 22.3 GB | Too big | Get file → | |
| IQ4_XS | 17.3 GB | 23.1 GB | Too big | Get file → | |
| Q4_0 | 18.3 GB | 24.2 GB | Too big | Get file → | |
| Q4_K_S | 18.4 GB | 24.3 GB | Too big | Get file → | |
| Q4_K_M | 19.5 GB | 25.3 GB | Too big | Get file → | |
| Q4_1 | 20.3 GB | 26.1 GB | Too big | Get file → | |
| Q5_K_S | 22.2 GB | 28.1 GB | Too big | Get file → | |
| Q5_K_M | 22.9 GB | 28.7 GB | Too big | Get file → | |
| Q6_K | 26.5 GB | 32.3 GB | Too big | Get file → |
For 8 GB VRAM, use IQ1_S (6.65 GB file, 12.5 GB memory at 8k context). For 12 GB VRAM, IQ2_XS (9.56 GB file, 15.4 GB memory). For 16 GB VRAM, Q3_K_M (15.36 GB file, 21.2 GB memory).
What GPU do you need for Granite 4.0 H Small Base?
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 the main file (0.1 GB file, about 6.0 GB in use).
- 8 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 6.0 GB in use).
- 12 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 6.0 GB in use).
- 16 GB VRAM: the best quant that fits is IQ2_S (9.6 GB file, about 15.5 GB in use).
- 24 GB VRAM: the best quant that fits is IQ4_XS (17.3 GB file, about 23.1 GB in use).
- 32 GB VRAM: the best quant that fits is Q5_K_M (22.9 GB file, about 28.7 GB in use).
- 48 GB VRAM: the best quant that fits is Q6_K (26.5 GB file, about 32.3 GB in use).
Which Granite 4.0 H Small Base quant should you choose?
Q4_K_M is the usual starting point for Granite 4.0 H Small Base: it balances file size and quality well. Here it is a 19.5 GB file.
If memory is tight, the smallest file is the first one in the table at 0.1 GB, with the quality trade-offs that come with fewer bits.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Granite 4.0 H Small Base
How much VRAM does Granite 4.0 H Small Base need?
About 25.3 GB at Q4_K_M with an 8K context window. That is the 19.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 Granite 4.0 H Small Base on an 8 GB GPU?
Yes, with the smaller files: the 0.1 GB file needs about 6.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Granite 4.0 H Small Base GGUF?
It depends on the quant: file is 0.1 GB, IQ1_S is 6.7 GB, IQ1_M is 7.4 GB, IQ2_XXS is 8.6 GB, IQ2_XS is 9.6 GB, IQ2_S is 9.6 GB and 18 more.
What context length does Granite 4.0 H Small Base support?
The GGUF header lists a trained context length of 1,048,576 tokens (1024K). The KV cache grows with the context you use: about 5.4 GB at 8K and 21.5 GB at 32K.
Where can I download Granite 4.0 H Small Base GGUF?
The files are on Hugging Face in the mradermacher/granite-4.0-h-small-base-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 Granite 4.0 H Small Base 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 Granite 4.0 H Small Base on 8 GB VRAM?
Use the IQ1_S quant, which requires 12.5 GB memory at 8k context – it will not fit in 8 GB VRAM.
Does this model support vision or audio?
No, the model is text‑only and does not include vision or audio capabilities.
What license applies to this model?
The model is released under the Apache‑2.0 license.