A bug in the llama.cpp library causes incorrect results when processing embedding batches for M-RoPE models like Qwen3.5 and Qwen2.5-VL. The issue stems from a heap buffer overflow where the library reads past the allocated memory for position arrays. This can lead to non-deterministic logits and, in some cases, incorrect token predictions, though it is often subtle and hard to detect. The problem occurs when using the embedding mode for these models, while standard token processing remains unaffected. AI
IMPACT This bug in llama.cpp could lead to subtle inaccuracies in multimodal AI applications using M-RoPE models, potentially impacting reproducibility and output quality.
RANK_REASON The cluster describes a bug in a specific software tool (llama.cpp) that affects model inference, rather than a new model release or research breakthrough.
- AddressSanitizer
- llama.cpp
- PR #28910
- Qwen2.5 Omni
- Qwen2.5-VL
- Debian Trixie
- ggml-org
- IMROPE
- Metal
- Michel Ropert
- PR #28902
- Qwen3 VL
- Valgrind
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →