mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-06-28 04:30:15 -05:00
Insert image pad markers for kimi K2.5 and K2.6 (#1912)
This commit is contained in:
parent
3f40e73c36
commit
e08ad51f15
@ -307,6 +307,11 @@ struct mtmd_context {
|
||||
img_end = "<image|>";
|
||||
//image_preproc = std::make_unique<mtmd_image_preprocessor_dyn_size>(ctx_v);
|
||||
}
|
||||
else if (proj == PROJECTOR_TYPE_KIMIK25) {
|
||||
// template renders: <|media_begin|>image<|media_content|> <pad/embeddings> <|media_end|>
|
||||
img_beg = "<|media_begin|>image<|media_content|>";
|
||||
img_end = "<|media_end|>";
|
||||
}
|
||||
}
|
||||
|
||||
void init_audio() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user