mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 23:38:47 +00:00
The Coder's router is 256 experts, which the native 512 x 10 router does not take, so a verify window routed each token with its own projection and top-k. moe_route_window does the window in one multi-column BF16 projection (bf16_gemv_fp32_mmvf_cols over the existing multi-row kernel) and one n-token top-k; each token's route is bitwise what moe_route gives it (route_window_parity, new ctest). gfx906 build only, so the CUDA and RDNA paths are unchanged; STRATA_ROUTE_PER_TOKEN=1 restores the per-token calls. 2x MI50, Coder IQ1_M, 32K, greedy 1,500-token request: verify window 55.5 -> 52.5 ms, generated text identical.