granite-docling-v2-2b
IBM Granite (United States) · Multimodal
🧠 2.7B📄 128K context🔓 Open weights (downloadable)⚖️ apache-2.0
Which way is for me?
Online, right nowNothing to install; free or very cheapOn my own computerOffline and private, with LM StudioFor developersvLLM, Transformers, llama.cpp
🌐 Online, right now
- Or try the free demo: ibm-granite/granite-docling-v2-playground · ibm-granite/granite-vision-5.0-4b
💻 On my own computer
No ready LM Studio version (GGUF) of this model has been published yet. Use the online way for now; this page is checked again every night and the steps will appear here when one comes out.
Similar models you can run on your computer right now:
- granite-4.0-microQ4 2.3 GB
- granite-docling-258MQ4 0.2 GB
- Granite 4.2 8BQ4 5.9 GB
🧑💻 For developers
vLLM
vllm serve ibm-granite/granite-docling-v2-2bTransformers (Python)
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="ibm-granite/granite-docling-v2-2b")Words used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
Lean on compute, rich in structure: any page becomes DocLang, with text, tables, formulas, layout and every picture described.
Benchmarks (from the model card)
| Model | Params | OmniDocBench 1.6 | DocLayNet v1 | DocLayNet v2† | Creative Layouts† | MDPBench |
|---|---|---|---|---|---|---|
| Granite Docling V2 2B | 2.2B | 95.6 | 98.2 | 95.8 | 97.7 | 92.5 |
| Granite Docling V2 500M | 0.54B | 93.6 | 97.3 | 94.8 | 96.9 | 83.3 |
| dots.mocr | 3B | 96.0 | 98.6 | 93.8 | 94.9 | 92.4 |
| MinerU 2.5 Pro | 1.2B | 97.2 | 97.6 | 94.7 | 97.1 | 89.6 |
| Nemotron 3.5 Parse | 0.6B | 92.1 | 97.0 | 93.2 | 97.0 | 82.1 |
| Chandra | 5.3B | 91.6 | 97.9 | 93.6 | 91.6 | 67.1 |
| Unlimited-OCR 2 | 3.3B | 84.8 | 96.5 | 90.5 | 97.4 | 58.9 |
| LightOnOCR 3 | 4B | 76.3 | 94.0 | 90.9 | 97.3 | 61.0 |
Source: Hugging Face · ibm-granite/granite-docling-v2-2b · License: apache-2.0
Hardware and running it
Local Weights are published and it runs on your own hardware.
- Minimum Q4
- 1.8 GB
- Recommended Q8
- 3.2 GB
- Full quality FP16
- 6.4 GB
On common hardware
| RTX 4060 · 8 GB | Great | FP16 · ≈ 18–31 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 68–110 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 120–200 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 37–61 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 230–380 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 1,810–3,010 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: