mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 00:08:52 +00:00
A decode / verify token's routed experts whose share of its routing weight is below T are dropped (the top expert is always kept, the kept weights are scaled to the original sum, the dropped slot repeats the top expert with weight 0 so the tier store fetches nothing for it); prefill and the MTP layer are untouched. Off (T = 0, the default) the engine path is unchanged. Quiet RTX 3090, tier B, plain decode: T 0 / 0.03 / 0.05 / 0.08 = 53.0 / 53.5 / 58.0 / 70.8 tok/s, H2D per token 331 / 324 / 299 / 240 MB; teacher-forced against the unpruned engine: top-1 100 % / 98-100 % / 97.5-98 %, mean KL 1e-4 / 1e-3 / 1.6e-2 (T 0.08 max KL 0.7). ling32_bench decode checks the prune kernel against a CPU reference (bit-identical). STRATA_L32_LA_KS (bit mask of the lookahead lists a tier run computes) with STRATA_L32_PF_K: with both lists computed the k=2 list as the prefetch driver is +3 % on the 3090 (ABAB x3). Register entries for both and for the HIP ROUTE_EARLY / PROBE_ALLOC / GPU_CAP_GIB settings that had no status.