AIGenLab
EN

UPDATEdocling v2.155.0

Docling v2.155.0 adds Granite Docling v2 presets with MLX

Version & typev2.155.0 · Feature
In short

Version 2.155.0 turns Granite Docling v2 into two named presets built on the existing Transformers, MLX and vLLM engine specs, adding only a version gate for MLX, and fixes two silent data losses: empty captions for cell-linked PPTX chart titles, and native table cells dropped by PDF backends that supply no word cells.

What changed in this release

19 checkpoints in 4 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.

VLM presets and engines

  • 500M preset: granite_for_docling_500m points at ibm-granite/granite-docling-v2-500m and works as --vlm-model
  • 2B preset: granite_for_docling_2b points at granite-docling-v2-2b and shares one model spec base
  • MLX engine: the preset declares mlx-vlm 0.8.1+ and loads the same Transformers checkpoint
  • Engine choice: auto-inline picks MLX on Apple Silicon and Transformers elsewhere
  • vLLM gate: the preset lists vLLM, but the model needs a DeepStack build that 0.34.0 lacks
  • Model download: docling-tools models download accepts both new preset names
  • MLX decoding: replies are prefilled with response_prefix and extra processor kwargs are forwarded

Output scope and layout

  • --doclang-tasks: a new CLI option, e.g. table,layout, makes the model return only requested elements
  • No layout, no boxes: without layout in the request, returned elements carry no bounding boxes
  • Option check: presets that do not emit doclang reject the option
  • Crop path: the new LayoutCropVlmPipeline marks regions and lets the VLM read each crop

PPTX and table cells

  • PPTX chart titles: cell-linked titles are read from c:strCache, so the caption is no longer empty
  • Rich-text titles: titles written into the shape convert exactly as before
  • Native table cells: textline_cells survive when a backend such as PyPdfium leaves word_cells empty
  • Whitespace word cells: cells holding only whitespace are ignored before coverage checks
  • OCR dedup: words falling on kept native cells are filtered out

Documentation and security rules

  • Security section: AGENTS.md gains an untrusted-input section naming four defect classes
  • Shared helpers: rules require reusing archive_limits.py, table_spans.py and ImageResourceLoader
  • RTX guide: the VLM snippet uses model_copy(deep=True) and no longer rewrites the preset's concurrency

Read the original announcement

On this page
  1. Release inventory
  2. v2.155.0 adds the Granite…
  3. Two preset names for Gran…
  4. mlx-vlm below 0.8.1 warns…
  5. A new --doclang-tasks fla…
  6. LayoutCropVlmPipeline spl…
  7. Chart titles linked to a…
  8. Tables stop losing native…
  9. AGENTS.md gains a securit…
  10. The same step is decided…
  11. From v2.154.0 to v2.155.0
  12. Release analysis
  13. Questions
  14. Sources & method

Contextv2.155.0 adds the Granite presets and fixes two silent data losses

Version 2.155.0 gives Granite Docling v2 two presets you can name on the command line: granite_for_docling_500m (ibm-granite/granite-docling-v2-500m) and granite_for_docling_2b. Both share one spec base and reuse the existing Transformers, MLX and vLLM declarations, adding only an mlx-vlm version gate for MLX.

Two fixes matter as much: cell-linked chart titles in PPTX converted with an empty caption, and native table cells vanished when a PDF backend supplied no word cells. Neither throws an error, so you find the gap downstream. The docs add AGENTS.md security rules and fix the RTX snippet that rewrote the shared preset.

Three VLM changes land here: the presets fold the engine choice into config, --doclang-tasks narrows which element types come back, and the new LayoutCropVlmPipeline changes the recognition order.

The release divides into four groups: VLM presets and engines, output scope and layout, PPTX and table cells, and documentation and security rules. The figure below maps where they land; later sections take each group in turn.

Where the changes land: VLM presets and engines, output scope and layout, PPTX and table cells, and documentation and security rules, counted from this page's inventory.
Where the 19 grouped changes landWhere the 19 grouped changes landVLM presets and engines7Output scope and layout4PPTX and table cells5Documentation and security rules3
AIGenLab original

Two preset names for Granite Docling v2, where 500M and 2B share one checkpoint

  1. Named presets replace hand-built configs: granite_for_docling_500m and _2b point at the v2 500M and 2B checkpoints and share one spec base.
  2. One checkpoint, three engines: Transformers, MLX and vLLM read the same Hub repository, so Apple Silicon needs no converted copy.
  3. Downloads accept the same names: docling-tools models download takes granite_for_docling_500m and granite_for_docling_2b.

mlx-vlm below 0.8.1 warns and falls back to Transformers; vLLM needs a newer build

  1. The gate ships in the preset: it sets only min_engine_version, so an older mlx-vlm warns once and falls back to Transformers.
  2. vLLM is listed but not usable yet: the model needs DeepStack in the vLLM Transformers backend, which 0.34.0 does not have.
  3. Two MLX behaviour changes: replies are prefilled with response_prefix, and extra processor kwargs such as fine_route are forwarded.

A new --doclang-tasks flag returns only the element types you ask for

  1. CLI and Python both get it: DocLangOptions.tasks on VlmConvertOptions is exposed as --doclang-tasks.
  2. No layout, no boxes: drop layout from the request and the returned elements carry no bounding boxes to crop by.
  3. Doclang presets only: doclang is a structured document language the model emits directly, and presets that do not emit it reject the option.

LayoutCropVlmPipeline splits the page: layout marks regions, the VLM reads only crops

  1. The order changes: instead of one full page into the VLM, the layout model marks regions and the VLM reads each crop.
  2. The full-page path stays: the default pipeline is untouched, so name LayoutCropVlmPipeline explicitly and compare boxes on the same files first.

Chart titles linked to a cell in PPTX now become captions

  1. One more read path: the title lives in c:title/c:tx/c:strRef with text in c:strCache, and the code now falls back to that cache.
  2. How to check: convert a bar chart whose title links to a cell; the caption should be that cell text, "Sales 2026" in the pull request.
  3. Rich-text titles are unchanged: titles written into the shape convert exactly as before.

Tables stop losing native text lines when a backend supplies no word cells

  1. Native rows stay: when a backend leaves word_cells empty, _words_and_ocr_cells() keeps textline_cells from table_cluster.cells.
  2. Whitespace cells do not count: word cells holding only whitespace are ignored before the coverage check.
  3. OCR words are deduplicated: words falling on kept native cells are filtered so the same text is not counted twice.

AGENTS.md gains a security section, and the RTX guide stops mutating the shared preset

  1. Rules cover four defect classes: allocation from declared sizes, ignored trust switches, external programs without timeouts, superlinear work.
  2. Shared helpers are mandatory: new code must reuse archive_limits.py, table_spans.py and ImageResourceLoader.
  3. The RTX guide now deep-copies: the snippet uses model_copy(deep=True), so copying it no longer rewrites the shared preset's concurrency or params.

The same step is decided by different things in Docling, MinerU and Marker

Once a whole page goes to a VLM, all three tools hit the same question: which model, which engine, and which pages deserve the VLM. Docling answers inside the preset, MinerU with quality tiers, Marker with a mode and the page content.

The table compares the five update points row by row. MinerU's tiers are a quality ladder, Marker's balanced mode routes by page content, and Docling folds the engine into the model config, so the shapes are not equivalent.

Read row one for who picks the model and engine, row three for who reports an unusable engine or tier: Docling and MinerU each give a path, Marker's cell stops at mode choice. For one command that warns instead of failing, take Docling; to hand the cost ladder to the operator, MinerU; when GPU time is tight, Marker's balanced mode saves more.

UpdateDocling v2.155.0MinerU 4.2.3Marker v2.2.0
Model and engine entrygranite_for_docling_500m and _2b; one preset declares Transformers, MLX (mlx-vlm 0.8.1+) and vLLM, and warns then switches to Transformers when an engine is unusableFour tiers (flash/basic/standard/advanced); engines by extra: base ONNX + llama.cpp, full adds vLLM/lmdeploy/mlxFour modes (--mode no_ocr/fast/balanced/vllm), default by device: balanced on GPU, fast on CPU/MPS
VLM only where it is neededNew LayoutCropVlmPipeline: layout marks regions, the VLM reads each crop, and the full-page path stays4.2.3 improves overall parsing, including cross-page table merging; Flash native parsing uses Tagged PDF / PDF/UA for reading orderbalanced keeps prose on pdftext + Indra ONNX and sends equations, complex tables, CJK and scans to Surya 2.5
When an engine or tier is missingPreset sets only min_engine_version; older mlx-vlm warns and falls back to Transformers; vLLM needs a DeepStack buildChecks vllm<0.29.0 against transformers>=5.23.0 before startup; returns quality_tier_unavailable or no_engine and does not downgradePicks a mode from the device (balanced on GPU, fast on CPU/MPS); --mode overrides it
Charts and tables in Office filesCell-linked PPTX titles fall back to c:strCache; native textline_cells survive empty word_cellsOffice/PPTX use local Flash native parsing, with DocVortex at least 0.6.24 since 4.2.3Supports PPTX/DOCX/XLSX; tables emit as HTML blocks; TableConverter extracts tables only
Trimming output to what you need--doclang-tasks table,layout returns only requested elements; no layout means no boxesNine rendering targets (Markdown, HTML, LaTeX, DOCX, EPUB, PDF, Structured Content, Content List), each CLI/API a subsetmarkdown, JSON, chunks and HTML; table blocks in JSON carry page boxes

From v2.154.0 to v2.155.0: a preset system arrives, two data losses leave

The previous release, v2.154.0, centred on Office tables and archive limits. This one fills in the VLM presets and fixes PPTX captions and native table cells; the only lines the two versions share are PPTX and tables.

Read it as v2.154.0 left, v2.155.0 right. The first four rows are new capability, the last four repairs, and every cell points at a release note or a pull request.

Featurev2.154.0v2.155.0
Granite Docling v2 presetsNo preset for either modelgranite_for_docling_500m and granite_for_docling_2b
MLX gate on the Granite presetsNo Granite presets, so no MLX gatemlx-vlm 0.8.1+ declared; auto-inline picks MLX on Apple Silicon
Trimming by element typeNo --doclang-tasks--doclang-tasks table,layout returns only requested elements
Region-by-region recognitionNo LayoutCropVlmPipeline; the VLM reads whole pagesNew LayoutCropVlmPipeline: layout marks regions, the VLM reads each crop
Cell-linked PPTX chart titlesCaption was an empty stringCell cache text becomes the caption (Sales 2026)
Table cells without word cellsKeeping any OCR cell dropped all native cellsNative textline_cells survive; blank cells ignored, duplicate OCR words filtered
RTX guide snippetRewrote the shared preset; concurrency leaked from 4 to 64model_copy(deep=True) leaves the preset intact
AGENTS.md security rulesNo security sectionAn untrusted-input section plus three shared helpers

Release analysisTake the two data-loss fixes first, then decide whether to move to the new presets

Three groups move first: cell-linked chart titles in PPTX, PyPdfium tables with word-level OCR, and Apple Silicon VLM conversion. Teams converting only PDFs, with docling-parse word cells and no such titles, see nothing beyond the two fixes, which need no config change.

MinerU 4.2.3 checks engine compatibility before startup and returns no_engine; Marker v2.2.0 narrows where the VLM runs; Docling puts the engine in the preset and falls back on auto-inline. All three stop people guessing which engine to install; they differ in who learns what failed.

Station view, not independently tested: order the upgrade by risk. Take v2.155.0 for the two fixes, try --doclang-tasks table,layout on one real table pipeline, then move a job to the Granite presets and re-check output quality and memory. Record element counts and per-page time against the previous release; if memory is short, drop to the 500M preset.

Station view, not independently tested: run LayoutCropVlmPipeline side by side, not in place of the default pipeline, and make an unusable engine a startup message, not a warning plus an automatic switch. That last point is advice for maintainers.

AIGenLab views

Not independently tested

The first priority when moving to v2.155.0 is the PPTX caption and native table cell fixes; the Granite presets can wait a step.

Station view, not independently tested: the two fixes address silent data loss and take effect on upgrade, while the presets change model and engine and therefore need a fresh check of output quality and memory use.

Docling should turn an unusable engine into an explicit startup message instead of a single warning before it switches to Transformers.

Station view, not independently tested: the material says an older mlx-vlm gets one warning before auto-inline selects Transformers, and a warning that does not block the run is easily buried in logs, leaving whoever debugs it guessing which engine produced the output; MinerU 4.2.3 explicitly does not downgrade on no_engine or quality_tier_unavailable.

LayoutCropVlmPipeline belongs in a side-by-side comparison, not in place of the default VLM pipeline.

Station view, not independently tested: output quality on this path depends on the regions the layout model returns, so the same files need comparing on element order and boxes before a switch.

Questions

Do existing configs need edits after upgrading to v2.155.0?
The presets are new entry points and the legacy vlm_model_specs constants remain. You change --vlm-model to granite_for_docling_500m or granite_for_docling_2b only when you want the Granite Docling v2 models.
Will Apple Silicon go straight to MLX?
Yes, when mlx-vlm is 0.8.1 or later. An older version warns once and falls back to Transformers, and the conversion still completes.
Can vLLM run the new presets right away?
Not yet: the model needs DeepStack in the vLLM Transformers backend, and 0.34.0 does not have it, so a later vLLM build is required.
What happens if --doclang-tasks omits layout?
The returned elements carry no bounding boxes, so include layout when you need coordinates. Presets that do not emit the doclang format reject the option outright.

Official sources and scope

Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.