6 min read
IBM releases Granite Docling V2, a lightweight model for converting documents without relying on paid APIs

- Reading
- 6 min
- Tables
- 1
- Code
- 2
IBM's Granite Docling V2 models (2B and 500M) read a full page and return text, table, formula, and reading order in a single pass, running locally under Apache 2.0.
On November 30, 2026, IBM published on the Hugging Face blog the Granite Docling V2 models: two compact vision-language versions that read a full page and return a structured document in a single pass, without the traditional pipeline of OCR plus layout detection plus separate table extraction. It is the continuation of SmolDocling and Granite Docling 258M, and the angle that matters to builders is direct: you can run this on your own infrastructure, under the Apache 2.0 license, without sending a sensitive PDF to a third-party API.
The problem the single model solves
A real-world document is not just running text. Tables, formulas, code, lists, images, and the order in which each block should be read carry meaning, and most conversion tools lose part of that along the way. The classic approach chains together an OCR, a layout detector, and a separate table extractor, each step with its own accumulated margin of error.
Granite Docling V2 tackles this with a single vision-language model that looks at the whole page and already returns the complete structure: title, paragraph, table, formula, and figure, each with its type, its position, and its place in the reading order. Nothing is flattened into plain text ahead of time. This matters because it is exactly the information that gets lost when someone tries to build a RAG pipeline from a PDF using only generic OCR: the table turns into a soup of numbers with no columns, and the reading order of a two-column article scrambles the text.
Two models, two use cases
IBM released two versions, designed for different points on the cost-versus-precision curve:
| Model | Strength | Performance cited by IBM |
|---|---|---|
| Granite Docling V2 2B | Highest precision across ten document conversion benchmarks, better at page layout | Focused on dense pages, small print, tables, and complex formulas; used for scientific papers, financial reports, forms, newspapers, and slides |
| Granite Docling V2 500M | Precision close to the 2B, with much higher speed | 18.49 pages per second on an H100; a mechanism that looks more closely only at pages that need it (dense, small print), keeping speed on the rest |
IBM also describes the 500M as faster than the earlier Granite Docling 258M, which points to an efficiency gain in the architecture, not just a parameter cut. In practice, the choice between the two comes down to the same calculation as always: if the document batch is large and heterogeneous, the 500M processes faster while still focusing attention on the difficult parts; if precision on tables and complex formulas is non-negotiable, the 2B is worth the higher inference cost.
The format behind it: DocLang
Both models speak DocLang, an open document format developed by a working group founded by IBM, NVIDIA, Red Hat, ABBYY, and HumanSignal under LF AI & Data. The single DocLang output easily converts to Markdown, HTML, or JSON using the Docling library, ready for search, RAG, and agents. It is also possible to request just part of the page, such as only the tables, only the formulas, or only the text, without running the full extraction.
This selective extraction is the kind of detail that only shows up once someone has tried to save tokens in a RAG pipeline: instead of dumping the whole converted page into the vector index, you can request just the table when the user's question is about a number, and just the text when it is about context.
Running locally, without relying on an API
Editor's note: the code and commands in this section were not run in a real environment or confirmed against the official documentation; validate the syntax and the model identifier before using it in production.
The practical point for whoever decides on infrastructure: the models are open under Apache 2.0 and run with Hugging Face Transformers, vLLM for fast serving, MLX-VLM on Apple Silicon, and the Docling library itself. That covers everything from a development notebook to a production server without switching stacks.
A reasonable way to test locally starts with the Docling library, which already wraps the model and returns the converted document:
from docling.document_converter import DocumentConverter
converter = DocumentConverter()
resultado = converter.convert("relatorio_financeiro.pdf")
print(resultado.document.export_to_markdown())To serve the model with higher throughput in production, the natural route is vLLM, which IBM itself cites as a serving option:
vllm serve ibm-granite/granite-docling-v2-500mAnd for those developing on a Mac with Apple Silicon, MLX-VLM avoids spinning up a dedicated GPU just to test the conversion of a small batch of documents during development.
Those who need even more speed and are already in the IBM ecosystem have the Flash versions (2B Flash and 500M Flash), available in Docling for IBM watsonx and Docling for IBM watsonx Software. These deliver the same precision in less time, but they are a managed product, not the open model running on your own machine: the trade-off here is extra speed against going back to depending on a third-party service.
What this replaces and where it doesn't pay off
Granite Docling V2 targets the spot currently occupied by two very different solutions: homegrown pipelines chaining OCR, layout detection, and table extraction (Tesseract with some layout model and a separate table extractor), and paid document intelligence APIs from public clouds, billed per page processed.
Against the homegrown pipeline, the gain is fewer steps, less accumulated error, and a single structured output ready to become Markdown, HTML, or JSON. Against the paid API, the gain is zero marginal cost per page once the infrastructure is up and running, plus keeping the document inside your own environment, which matters in cases of sensitive data or compliance obligations.
Where it doesn't pay off: if the volume is small and sporadic, keeping a GPU running to serve a vision-language model is more expensive than paying per page on a managed API. And if the document is plain, uniform text, with no table, formula, or complex layout, a lighter traditional OCR solves it with less infrastructure, without needing generative model inference.
What still remains open
IBM made available the Granite Docling V2 Playground to test the models without installing anything, the Docling Benchmark Explorer to compare precision numbers across models, and a technical report detailing how both were trained. It is worth running the playground with a real document from your domain (a Brazilian form, a Brazilian tax invoice [nota fiscal], a contract) before deciding which of the two sizes goes into production, because the ten benchmarks cited by IBM do not necessarily cover the kind of document you process day to day.

Translated from the Brazilian Portuguese original · Read the original
Google details how it scaled DeepSeek-V3 training to 8,192 Ironwood chips
In a benchmark published on November 30, Google shows how it scaled training of the open DeepSeek-V3 model (671B parameters) up to 8,192 Ironwood TPUs, with gains of up to 82% in throughput per chip within a week of optimization.





