Skip to content
Shihao Qi
ProjectsWritingNotesSearchAbout
中

TAG

llama.cpp

Everything filed under this tag.

1 entries

01Notes

llama.cpp seq_rm Returned false2026-11-18After 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 tagsSearch the site
© 2026 Shihao Qi
TagsRSSGitHubEmail