Saba Fallah
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-19 13:11:39 +01:00
2026-03-19 13:11:39 +01:00
2026-05-29 16:13:51 +02:00
2026-05-29 16:13:51 +02:00
2026-04-09 12:16:38 +02:00
2026-04-12 14:15:26 +02:00
2026-05-28 20:58:55 +02:00
2026-03-25 19:57:40 +01:00
2026-05-06 14:40:59 +02:00
2026-05-21 00:35:37 +02:00
2025-12-12 21:14:48 +01:00
2026-02-11 16:47:30 +01:00
2025-12-12 21:14:48 +01:00
2026-03-19 13:11:39 +01:00
2026-03-19 13:11:39 +01:00
2026-05-12 11:11:14 +02:00
2026-05-06 21:54:09 +02:00
2026-03-19 13:11:39 +01:00
2026-05-29 16:13:51 +02:00
2026-02-14 14:07:00 +01:00
2026-02-19 17:05:25 +01:00
2026-03-19 13:11:39 +01:00
2026-03-19 13:11:39 +01:00
2026-05-15 19:32:47 +02:00
2026-03-19 13:11:39 +01:00
2026-03-25 19:57:40 +01:00
2026-04-08 09:51:31 +02:00
2026-04-11 14:15:48 +02:00
2026-04-21 20:02:49 +02:00
2026-03-19 13:11:39 +01:00