You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Eval bug: failed to restore kv cache on gpt-oss:120b with parallel processing #17527
Having the same issue, but not in parallel processing.
OS: Arch Linux
GGML Backend: Vulkan + amdvlk
Hardware: AMD Strix Halo (AI Max+ 395) w/ 8060S
Model: GPT-OSS-120B
Problem description:
The issue occurs randomly. When simultaneously loading GPT-OSS-120B and other models, and alternately chatting between the two, there is a probability of triggering this bug when returning to GPT-OSS-120B. Similarly, interrupting the generation process of GPT-OSS-120B and then restarting the generation also has a chance of triggering this bug.
Activity
Orion-zhen commentedon Dec 1, 2025
Having the same issue, but not in parallel processing.
Problem description:
The issue occurs randomly. When simultaneously loading GPT-OSS-120B and other models, and alternately chatting between the two, there is a probability of triggering this bug when returning to GPT-OSS-120B. Similarly, interrupting the generation process of GPT-OSS-120B and then restarting the generation also has a chance of triggering this bug.
lostmsu commentedon Dec 3, 2025
I don't seem to experience the bug with
--swa-full. I believe it should be on for gpt-oss by default.ggerganov commentedon Dec 3, 2025
The state restore logic has to be extended to not search for contiguous slot of KV cells here:
llama.cpp/src/llama-kv-cache.cpp
Line 1731 in 37adc9c
I.e. it should be changed to:
And then the data reading should taking into the
sinfo.idxs.Not too complicated, if someone wants to give it a shot. Otherwise I'll fix it sometime later when I need it.
kv-cache : fix state restore with fragmented cache (ggml-org#17527)
kv-cache: Fix state restore fragmented cache (#17982)
kv-cache: Fix state restore fragmented cache (#17982)
kv-cache: Fix state restore fragmented cache (ggml-org#17982)
fix(ws1): gpt-oss llama.cpp — --swa-full + reasoning_effort tuning
kv-cache: Fix state restore fragmented cache (ggml-org#17982)
kv-cache: Fix state restore fragmented cache (#17982)
kv-cache: Fix state restore fragmented cache (ggml-org#17982)