mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
The Qwen3.6 engine's run() is reached two ways: strata --model (generate.cpp's family switch, in the strata process, after prefill.cpp's start-up list of a build without MMQ) and the standalone strata-q36 binary, which does not link that list. The list sets STRATA_PF_FUSED_SM75, which Turing's fused set-up (moe_fused_iq.cu dev_info) needs; the standalone entry never had it, so on a Turing card it ran every Qwen3.6 layer on the plain int8 kernels while strata --model could take the fused ones. Measured (RTX 2080 Ti 22 GB, sm_75, 250 W, Qwen3.6 UD-Q4_K_XL, launched as strata-q36): the start-up line of a build with the Turing K-quant fused kernels still read "0 of 41 layers on the fused int8 kernels, 41 on our int8 kernels", and its prompt speed equalled 0.1.60's (0.896 / 0.881 / 0.863 of released 0.1.58 at 2,048 / 8,192 / 26,000 tokens, 5 rounds). Change: own_only_switches.hpp q36_entry_switches(mmq_built) is the list run() sets when unset: the K-quant, Q6_K and Q8_0 gate/up switches as before, and in a build without MMQ STRATA_PF_FUSED_SM75 as well. A value the user set is kept; a build with MMQ is unchanged. Test: own_only_switches_test builds the environment of both entries (strata --model: the start-up list, then run()'s; strata-q36: run()'s only) and checks that every switch the Turing fused decision reads has the same value on both, with and without MMQ (l620, g++ 13: OK).