
Saba FallahandXuan-Son Nguyen
da3f990a47
mtmd: Add DeepSeekOCR 2 Support (#20975)
* mtmd: DeepSeek-OCR 2 support, with multi-tile dynamic resolution
* introduced clip_image_f32::add_viewsep
* address PR review
- drop redundant ggml_cpy ops in both deepseekocr versions build
- drop no-op ggml_cont in build_sam
- assert num_image_tokens deepseekocr2
- view_seperator as (1, n_embd) at conversion (for both versions)
- drop redundant ggml_reshape_2d
* Update tools/mtmd/models/deepseekocr2.cpp
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
2026-05-29 16:13:51 +02:00
..
2026-03-11 21:02:54 +01:00
2024-07-18 20:40:15 +10:00
2026-05-29 16:13:51 +02:00
2026-02-24 20:17:11 +02:00
2026-05-12 11:11:14 +02:00
2023-11-11 08:04:50 +03:00
2026-03-21 08:54:34 +01:00
2026-03-05 08:50:21 +01:00
2023-08-30 11:25:50 +03:00
2026-05-24 09:51:31 +02:00
2026-05-29 16:13:51 +02:00
2025-12-22 20:25:16 +01:00
2026-04-09 12:36:29 +02:00