UPDATEdocling v2.155.0
Docling v2.155.0 adds Granite Docling v2 presets with MLX
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
On this page
- Release inventory
- v2.155.0 adds the Granite…
- Two preset names for Gran…
- mlx-vlm below 0.8.1 warns…
- A new --doclang-tasks fla…
- LayoutCropVlmPipeline spl…
- Chart titles linked to a…
- Tables stop losing native…
- AGENTS.md gains a securit…
- The same step is decided…
- From v2.154.0 to v2.155.0
- Release analysis
- Questions
- 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.
Two preset names for Granite Docling v2, where 500M and 2B share one checkpoint
- 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.
- One checkpoint, three engines: Transformers, MLX and vLLM read the same Hub repository, so Apple Silicon needs no converted copy.
- 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
- The gate ships in the preset: it sets only min_engine_version, so an older mlx-vlm warns once and falls back to Transformers.
- vLLM is listed but not usable yet: the model needs DeepStack in the vLLM Transformers backend, which 0.34.0 does not have.
- 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
- CLI and Python both get it: DocLangOptions.tasks on VlmConvertOptions is exposed as --doclang-tasks.
- No layout, no boxes: drop layout from the request and the returned elements carry no bounding boxes to crop by.
- 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
- The order changes: instead of one full page into the VLM, the layout model marks regions and the VLM reads each crop.
- 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
- 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.
- 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.
- 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
- Native rows stay: when a backend leaves word_cells empty, _words_and_ocr_cells() keeps textline_cells from table_cluster.cells.
- Whitespace cells do not count: word cells holding only whitespace are ignored before the coverage check.
- 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
- Rules cover four defect classes: allocation from declared sizes, ignored trust switches, external programs without timeouts, superlinear work.
- Shared helpers are mandatory: new code must reuse archive_limits.py, table_spans.py and ImageResourceLoader.
- 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.
| Update | Docling v2.155.0 | MinerU 4.2.3 | Marker v2.2.0 |
|---|---|---|---|
| Model and engine entry | granite_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 unusable | Four tiers (flash/basic/standard/advanced); engines by extra: base ONNX + llama.cpp, full adds vLLM/lmdeploy/mlx | Four modes (--mode no_ocr/fast/balanced/vllm), default by device: balanced on GPU, fast on CPU/MPS |
| VLM only where it is needed | New LayoutCropVlmPipeline: layout marks regions, the VLM reads each crop, and the full-page path stays | 4.2.3 improves overall parsing, including cross-page table merging; Flash native parsing uses Tagged PDF / PDF/UA for reading order | balanced keeps prose on pdftext + Indra ONNX and sends equations, complex tables, CJK and scans to Surya 2.5 |
| When an engine or tier is missing | Preset sets only min_engine_version; older mlx-vlm warns and falls back to Transformers; vLLM needs a DeepStack build | Checks vllm<0.29.0 against transformers>=5.23.0 before startup; returns quality_tier_unavailable or no_engine and does not downgrade | Picks a mode from the device (balanced on GPU, fast on CPU/MPS); --mode overrides it |
| Charts and tables in Office files | Cell-linked PPTX titles fall back to c:strCache; native textline_cells survive empty word_cells | Office/PPTX use local Flash native parsing, with DocVortex at least 0.6.24 since 4.2.3 | Supports 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 boxes | Nine rendering targets (Markdown, HTML, LaTeX, DOCX, EPUB, PDF, Structured Content, Content List), each CLI/API a subset | markdown, 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.
| Feature | v2.154.0 | v2.155.0 |
|---|---|---|
| Granite Docling v2 presets | No preset for either model | granite_for_docling_500m and granite_for_docling_2b |
| MLX gate on the Granite presets | No Granite presets, so no MLX gate | mlx-vlm 0.8.1+ declared; auto-inline picks MLX on Apple Silicon |
| Trimming by element type | No --doclang-tasks | --doclang-tasks table,layout returns only requested elements |
| Region-by-region recognition | No LayoutCropVlmPipeline; the VLM reads whole pages | New LayoutCropVlmPipeline: layout marks regions, the VLM reads each crop |
| Cell-linked PPTX chart titles | Caption was an empty string | Cell cache text becomes the caption (Sales 2026) |
| Table cells without word cells | Keeping any OCR cell dropped all native cells | Native textline_cells survive; blank cells ignored, duplicate OCR words filtered |
| RTX guide snippet | Rewrote the shared preset; concurrency leaked from 4 to 64 | model_copy(deep=True) leaves the preset intact |
| AGENTS.md security rules | No security section | An 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 testedThe 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?
Will Apple Silicon go straight to MLX?
Can vLLM run the new presets right away?
What happens if --doclang-tasks omits layout?
Official sources and scope
- Docling v2.155.0 release Version, publish date and the five entries of this release
- PR #5612 granite Docling v2 presets The two presets, three engines, the MLX version gate, vLLM DeepStack, --doclang-tasks and LayoutCropVlmPipeline
- PR #5622 pptx chart title linked to a cell The cell-linked PPTX chart title fix and its before/after evidence
- PR #5531 preserve native line cells Keeping native table cells on backends without word cells, blank-cell handling and OCR dedup
- PR #5616 security rules for untrusted input The AGENTS.md security section, four defect classes and three shared helpers
- PR #5632 copy the VLM spec in the RTX guide The deep-copy fix in the RTX guide and the concurrency leak table
- Docling v2.155.0 vision models docs The output formats the VLM pipeline supports (DocLang for Granite Docling v2) and the Transformers/MLX choice
- MinerU 4.2.3 release MinerU 4.2.3's pre-start compatibility check and the DocVortex 0.6.24 minimum
- MinerU 4.2.3 README Four tiers, engine extras, nine rendering targets, Office parsing at the flash tier and the missing-tier error codes
- Marker v2.2.0 README Marker's four modes and device defaults, balanced routing, TableConverter and output formats
- Docling v2.154.0 release The previous release's highlighted entries, used for the vertical table and the related link
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.