Skip to content
Shihao Qi
Projects
Writing
Notes
Search
About
中
TAG
llama.cpp
Everything filed under this tag.
1 entries
01
Notes
llama.cpp seq_rm Returned false
2026-11-18
After clearing short-term memory, the next message made llama_decode fail with sequence positions inconsistent. The clear never reached C++, so the old KV cache survived, and the prefix trim ignored the return value of llama_memory_seq_rm, which returned false because the M-RoPE model can’t trim part of a sequence.
#C++
#llama.cpp
#Autarkia
← All tags
Search the site