Skip to content

server: support vision input for Clef - #29969

Merged
ngxson merged 8 commits into
masterfrom
xsn/clef_mtmd
Oct 5, 2026
Merged

ngxson merged 8 commits into
masterfrom
xsn/clef_mtmd

Conversation

@ngxson

@ngxson ngxson commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Overview

Follow up #29831 and #29622

Support mtmd input for non-causal case (both mtmd+text in same batch)

Server code may need an extra review, to determine which parts can be refactored in near future

Requirements

@github-actions github-actions Bot added documentation Improvements or additions to documentation model Model specific server conversion labels Oct 5, 2026
@ngxson
ngxson marked this pull request as ready for review October 5, 2026 11:19
@ngxson
ngxson requested review from a team and CISC as code owners October 5, 2026 11:19
@ServeurpersoCom

Copy link
Copy Markdown
Contributor

LGTM, text-only output is unchanged with the batch-order mask, and the published Clef-GGUF will need a re-conversion for the new template.

@ngxson
ngxson merged commit 9871df5 into master Oct 5, 2026
17 of 20 checks passed
thelittlefireman pushed a commit to thelittlefireman/llama.cpp that referenced this pull request Oct 12, 2026
* server: support vision input for Clef

* move input_attn_causal to private

* extend old server_batch::embd

* server_batch::token::pos to multi dim

* nits

* fix abort

* fix img tokens cap

* fix yield_to_queue mutate data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conversion documentation Improvements or additions to documentation model Model specific server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants