b9963

ggml-org/llama.cppb9963Jul 11, 2026by github-actions[bot]same day as b9960

What changed since b9960

medium risk

Adds multi-tile dynamic-resolution support for DeepSeek OCR v1 and unifies v1/v2 image preprocessors.

New features

  • DeepSeek OCR v1 now supports multi-tile dynamic resolution processing.
  • Image preprocessors for DeepSeek OCR v1 and v2 are unified behind a single implementation.

Improvements

  • Rows are fused into a single long image to simplify multi-tile handling.
  • DeepSeek OCR graph was simplified and CLS broadcast logic cleaned up.
  • Debugging printf statements were removed and the preprocessor adapted to the new API.
  • OCR tests were made more robust with model-specific n_predict and opt-in DRY sampling.

Bug fixes

  • Fixed tile dropping in fused-row preprocessing for images spanning multiple rows and columns.
  • Removed a duplicate, redundant img_end token in the mtmd pipeline.

Upgrade notes

No configuration or CLI changes are required; the delta is confined to the mtmd/DeepSeek OCR path. Users running DeepSeek OCR v1 should see improved handling of high-resolution or multi-page images. Expect slightly relaxed single-view test tolerances rather than behavioral regressions.

Analyzed Oct 24, 2026

Upgrading?

Release notes summary

Adds multi-tile support for DeepSeek OCR v1, enabling dynamic resolution processing.

Key Highlights

  • Multi-tile support for DeepSeek OCR v1
  • Unified image preprocessors for v1 and v2

Release Notes (excerpt)

<details open> mtmd: deepseek-ocr v1 multi-tile (#24717) * mtmd: deepseek-ocr v1 multi-tile dynamic resolution + unified image-preprocessors for both versions (ds-ocr v1 and v2) * remove hacky API * fuse row into a long image * almost working * adapt to new preprocessor api * rm debugging printf * improve * mtmd: dsocr-tiles fixes (#25481) * ds-ocr img-preproc fuse_row tile-drop fix for multi rows and columns images * mtmd drop the duplicate redundant img_end…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories