Change8

b9258

📦 llama-cppView on GitHub →
2 features🐛 2 fixes🔧 9 symbols

Summary

This release focuses heavily on DeepSeek-OCR image processing fixes and refactoring to match Pillow parity, alongside minor fixes for llama-chat and internal code structure improvements.

Migration Steps

  1. If using SAM mask casting, note that it is now only performed when flash-attn is enabled.
  2. Refactoring occurred in image processing: the separate bool for add_padding and the pad_rounding enum have been replaced by a single pad_style enum.

✨ New Features

  • DeepSeek-OCR image processing improvements and refactoring to achieve full parity with Pillow reference implementation.
  • New media_markers_first() function introduced for llama-chat to fix server/WebUI issues.

🐛 Bug Fixes

  • Fixed server/WebUI issue in llama-chat.
  • Removed image-text reordering fix (implying a previous issue related to this was reverted or fixed differently).

Affected Symbols