A bug in the llama.cpp library allows it to read past allocated memory when processing M-RoPE embeddings, a feature used by models like Qwen2.5-VL and Qwen2.5-Omni. This heap-buffer-overflow occurs because the library incorrectly calculates the required memory for positions, leading to corrupted or incoherent output. An open pull request, #28910, has been verified to fix this issue by adjusting how positions are handled. AI
IMPACT This bug could lead to corrupted output or instability in applications using llama.cpp with M-RoPE models.
RANK_REASON Bug report and fix for a specific library function.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →