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
Prefix-cache hit changes greedy output: Qwen3.8-27B (3/6 long prompts) and Flash-Next vision (pre-existing on main) #423
Found while gating trains #421/#422 and #397 on one GB10 (sparky). Both cases below show up identically on main and on the trains, so they predate those PRs. Filing them so they aren't lost.
1. Qwen3.8-27B NVFP4-QAD, exact profile (ATLAS_EXACT_VERIFY=1 ATLAS_SKINNY_MMA=1 …, DFlash2, --enable-prefix-caching).cachehit.py: six unique inventory prompts, cold, then the identical request again (full prefix hit). Greedy, reasoning low, 192 tokens.
prompt
prompt tokens
warm cached
warm == cold, main 7a717b659
train 836fd1ada
0
~4.2K
4,224
yes
yes
1
~6K
5,968
yes
yes
2
~7.7K
7,680
no
no
3
~9.4K
9,392
no
no
4
~11.1K
11,120
no
no
5
~12.8K
12,832
yes
yes
Deterministic: same pattern and same cached counts on both builds (sparky 187, cachehit-q27-{main,tr}.json). Inkling 2 Mini passes the same probe 6/6, serial and drafted.
2. Qwen3.8-Flash-Next FP4-Local, one GB10 (--enable-prefix-caching, --max-num-seqs 1). A 1600×400 image of five colour blocks, "List the colours from left to right.", greedy, sent twice. Cold: "Based on the image provided, here are the colors listed from left to right: …". The identical repeat: "From left to right, the colors are: …". They part at the first token. Base (train 2) and #397 do exactly the same. The solid-red image and the drawn scene repeat exactly (sparky 190, vis-fn-*).
Neither is a wrong answer, but a full prefix hit should reproduce cold greedy output. Both cases are long inputs restored from cache: 7.7–11K-token text on the 27B, and a 622-token image prompt on Flash-Next. Suspects to check: whether the SSM/GDN snapshot restored at a hit sits at the exact boundary (the chunk-boundary checkpoint vs. the last token), and the vision path's cached image rows. I haven't bisected it.
Activity