mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
native_supported(): with STRATA_PF_FUSED unset, a gfx12 card under Linux now takes the IQ2_XXS and IQ2_XS gate/up layers on the fused int8 kernel too (gfx12_iq2x_default(), the same shape as gfx12_iq2s_default: kGfx12PromptDefaultsOn, off with STRATA_PF_FUSED_IQ2X=0 or STRATA_PF_FUSED=0). STRATA_PF_FUSED_IQ2X=0 keeps those layers on MMQ for two releases. Windows gfx12 and every other card class unchanged (the final 'return d.w12' still limits the default to gfx12). The new function and the new condition are inside #if defined(__HIPCC__); CUDA compiles nothing new. Measured before the change (R9700, IQ3_XXS pack, 19 of 48 layers, released 0.1.59 engine with STRATA_PF_FUSED=1; RESULTS-OWN-4A.md): prompt x1.17 / x1.14 / x1.13 at 4K / 8K / 20K (5 pairs, 5/5 each); first-token KL against the FP16 path 0.0068 / 0.0077 / 0.0044 vs the default's 0.0054 / 0.0083 / 0.0074, top-1 36/36 both, routing 73.08% vs 73.07% identical to FP16; the neutral-writer forced-token gate (12 prompts) PASS; first 8K reads PASS (36 starts, MTP). The gates on the default build follow. Settings register: STRATA_PF_FUSED_IQ2X (rollback, owner prefill).