Models

18.5 pages a second on one GPU: IBM opens Granite Docling V2 for PDF-to-Markdown

IBM released Granite Docling V2 2B and 500M, open Apache 2.0 models that turn a page image into structured DocLang for Markdown, HTML or JSON.

Published

3D illustration of a glass prism turning a stack of paper pages into glowing glass panels of tables, text and diagrams, with the IBM logo
AI-generated image

TL;DR

  • IBM's Docling team released Granite Docling V2 in 2B and 500M sizes, open under Apache 2.0, to convert a page into a structured document in one step [1].
  • IBM says the 500M model reaches about 18.5 pages per second on one H100 with vLLM, and cuts edit distance from 20.6% with Granite-Docling 258M to 5.1% [2].
  • Output is DocLang, which Docling converts into Markdown, HTML or JSON for search, RAG and agents [1].

IBM’s Docling team has released Granite Docling V2, two compact open models that convert a page into a complete structured document in a single step [1]. The family has a 2B model, which IBM calls its most accurate, and a faster 500M model built for converting large document collections [1]. Both are under the Apache 2.0 license [1]. Granite Docling V2 follows SmolDocling and Granite Docling 258M [1].

Why it matters

IBM says most conversion tools lose some of the meaning carried by tables, formulas, code, lists, pictures and reading order [1]. Keeping that structure helps prepare documents for search, RAG and agents [1]. Granite Docling V2 keeps each heading, paragraph, table, formula and picture with its type, position on the page and place in the reading order [1]. The output converts into Markdown, HTML or JSON with Docling [1]. You can also prompt the model for only the tables, the formulas or the text [1].

Speed and accuracy

IBM says the 500M model scores 94.9% content accuracy (1 − NED) pooled over 16,205 pages from nine benchmarks, ahead of Nemotron 3.5 Parse (0.6B) and Unlimited-OCR 2 (3.3B) [2]. Its edit distance falls from 20.6% with Granite-Docling 258M to 5.1% [2]. It runs at about 18.5 pages per second on one H100 with vLLM and MTP speculative decoding, or about 14 without [2]. A learned router spends 64 vision tokens per tile on ordinary pages and 256 on dense pages such as newspapers or small CJK print [2]. The 2B model runs at about 10 pages per second on one H100 with the same setup [3]. All figures in this article are IBM’s own reported results.

The DocLang format and limits

Both models output DocLang, an open document format from a working group founded by IBM, NVIDIA, Red Hat, ABBYY and HumanSignal under LF AI & Data [1]. Every tag and coordinate is a single token, so a page’s structure costs far fewer tokens than HTML [2]. IBM says the 500M model is much stronger than its predecessor beyond English, especially on Chinese, Japanese, Korean, Hindi, Russian and Arabic [2]. Thai is not in the model card’s language list, so Thai documents need testing first [2]. Faster “Flash” editions are offered in Docling for IBM watsonx and Docling for IBM watsonx Software [1].

What builders can do now

  • Download both models from Hugging Face and run them with Transformers, vLLM, MLX-VLM on Apple silicon, or Docling [1].
  • Try them first in the Granite Docling V2 Playground on Hugging Face [1].
  • Decode with skip_special_tokens=False, or the DocLang tags and location tokens are lost and only bare text is left [2].

Sources

Written and checked by AI from the sources below

  1. Granite Docling V2: Compact Vision-Language Models for End-to-End Document ConversionIBM ·
  2. ibm-granite/granite-docling-v2-500m model cardHugging Face
  3. ibm-granite/granite-docling-v2-2b model cardHugging Face

Fact-checked by gpt-6.1-sol on · Editorial policy