mtmd: correct mtmd_decode_use_mrope() (#22188)

This commit is contained in:
Xuan-Son Nguyen
2026-04-21 10:53:37 +02:00
committed by GitHub
parent cd03ec7642
commit 9998d88bc8
+1 -1
View File
@@ -1052,7 +1052,7 @@ bool mtmd_decode_use_non_causal(const mtmd_context * ctx, const mtmd_input_chunk
}
bool mtmd_decode_use_mrope(const mtmd_context * ctx) {
return ctx->pos_type;
return ctx->pos_type == MTMD_POS_TYPE_MROPE;
}
bool mtmd_support_vision(const mtmd_context * ctx) {