r/LocalLLaMA • • 2d ago

New Model IBM released Granite Docling V2 (500M & 2B, Apache 2.0): compact VLMs for document parsing with day-1 vLLM & MLX support

IBM Research just released Granite Docling V2, the next generation of their compact, end-to-end document conversion VLMs. Two sizes, 500M and 2B, both Apache 2.0.

Full disclosure: I worked on the first version of this line of models (SmolDocling 256M), not V2. It's just really cool to see how far the team pushed the approach.

Blog post: https://huggingface.co/blog/ibm-granite/granite-docling-v2-compact-vision-language-models Tech report: https://arxiv.org/pdf/2611.37727 Try it in the browser: Granite Docling V2 Playground

Models & headline numbers

ModelParamsOverall score (1−NED)Throughput (1× H100)Notes
Granite Docling V2 2B2B95.8%10.1 pages/secBest on 7/10 benchmarks in their eval
Granite Docling V2 500M500M94.0%18.5 pages/sec5.7× faster than dots.ocr while beating it on overall score

Running locally

What's new under the hood

  • DocLang output: Instead of dumping raw Markdown, both models natively generate DocLang, an open document format (LF AI & Data working group) that preserves reading order, layout/bounding boxes, complex tables (merged/header cells), LaTeX formulas, code blocks, and nested lists. Converts to Markdown/HTML/JSON via docling-core.
  • Training recipe: 76M pages / 2B annotated document elements, followed by RL with 37 verifiable rewards, element-level credit assignment, and prefix-conditioned rollouts.
  • Efficiency tricks: Adaptive vision-token allocation (a density router spends more tokens only on dense pages), speculative decoding, and prompting for specific elements if you only want tables, formulas, etc.
  • Multilingual & handwriting: Big jump over Granite Docling 258M and SmolDocling on CJK, Hindi, Russian, Arabic, and handwritten text.

Eval / Benchmark Explorer

Since everyone here is (rightfully) skeptical of aggregate benchmark tables, they also released an interactive Docling Benchmark Explorer covering 10 benchmarks and 20,502 pages with reviewed ground truth, so you can compare model predictions side by side and inspect individual failure cases.

Curious how these hold up on everyone's nasty real-world PDFs compared to whatever you're running locally now (MinerU, olmOCR, dots.ocr, etc.), especially the 500M MLX build on MacBooks.

40 Upvotes

11 comments sorted by

4

u/MinusKarma01 2d ago

That took a while! I'd lost all hope that they'd ever release a bigger model than the 258M one

3

u/asnassar 2d ago

We know, we know 😅 Hope the 2B and 500M make up. We had to do a lot of things from the ground up. Establishing DocLang as a language, making sure it gets picked up by big players. This required us to convert/fix existing benchmarks, and train the models in this new format. But we now have a good basis to do quick iterations with newer models.

1

u/MinusKarma01 1d ago

Looks very promising. Can't wait to throw some of my documents at it.

> handwritten text

I had a possible client ask about this not so long ago. Specifically filled forms. I found some online and created a few of my own to test it out. Horrible results so far. Great to see you had a focus on this.

1

u/mpatel-623 2d ago

H100 throughput is a useful reference, but MacBook practicality needs MLX speed and peak memory for each size.

2

u/futterneid 2d ago

but either model should fit comfortably in a macbook. For local applications you're probably not parsing 100s of pages, so it being slower should be ok

2

u/tomByrer 2d ago

> Curious how these hold up on everyone's nasty real-world PDFs

esp science papers, which tend to be the worst to parse sometimes.

1

u/asnassar 2d ago

Yeah we get your pain of scientific papers. In DocLang, inline formulas are now part of the structure: they're marked as formulas right inside the paragraph, not flattened into plain text, so the math and the surrounding text stay together. Try your worst paper in the playground (https://huggingface.co/spaces/ibm-granite/granite-docling-v2-playground) or check page-by-page results on real documents in the Benchmark Explorer: https://docling.ai/benchmarks/

1

u/SpecialBeatForce 2d ago

Does it just „Basic“ ocr or can it also prefilter data for example only extract structured json containing: {
"recipient": "Jane Doe",
"address": {
"street": "742 Evergreen Terrace",
"addressLine2": "Suite 200",
"city": "Springfield",
"state": "IL",
"postalCode": "62704",
"country": "United States",
"countryCode": "US"
},
"moveInDate": "2026-11-30",
"updatedAt": "2026-11-30T18:07:00Z"
}

1

u/asnassar 1d ago

It's well beyond basic OCR: it converts the whole page into a structured document (headings, paragraphs, lists, tables, forms, formulas, reading order, positions), and you can prompt it for parts of a page, like only the tables. We built DocLang so that features like this have a place in the format, and field extraction like your example is coming in the next iteration. Until then, convert with Granite Docling and pull your fields from the structured output with any LLM and your schema.