]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
mtmd: also support LLAMA_ROPE_TYPE_NONE (#22242)
authorXuan-Son Nguyen <redacted>
Wed, 22 Apr 2026 10:16:29 +0000 (12:16 +0200)
committerGitHub <redacted>
Wed, 22 Apr 2026 10:16:29 +0000 (12:16 +0200)
tools/mtmd/mtmd.cpp

index 626361b92441881b1f401135ec06e8ef35b3dc52..59907786786df65e4ae11ac27cc16fcbb23cdf0f 100644 (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:
                 {