llama.cpp reads past its own pos buffer for M-RoPE embeddings, and nothing reports it
This story is from 2026-09-15. It is preserved in the archive; the latest stories are on the live feed.
TL;DR : include/llama.h says the pos array "must have size of n_tokens", and that if you pass NULL "the token position will be tracked automatically". For a model that uses multiple positions per embedding — M-RoPE, which is Qwen2.5-VL and Qwen2.5-Omni — the automatic path sizes its own vector to n…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-15 15:06 · DEV Community — AI
llama.cpp reads past its own pos buffer for M-RoPE embeddings, and nothing reports it