mtmd: also support LLAMA_ROPE_TYPE_NONE (#22242)

This commit is contained in:
Xuan-Son Nguyen 2026-04-22 12:16:29 +02:00 committed by GitHub
parent 17f6245168
commit 82d3f4d3b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,6 +195,7 @@ struct mtmd_context {
auto decoder_rope_type = llama_model_rope_type(text_model);
switch (decoder_rope_type) {
case LLAMA_ROPE_TYPE_NONE:
case LLAMA_ROPE_TYPE_NORM:
case LLAMA_ROPE_TYPE_NEOX:
{