mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 07:18:50 +00:00
The first change split SF4, MX8 and S_K experts over the CPU pool. The Unsloth files use other layouts: UD-Q4_K_XL has NVFP4 experts in layers 0-19 (lossless SF4) and Q8_0 experts in the last four layers (the coda layers are placed last, so on a 12-16 GB card they are the RAM experts), UD-Q2_K_XL mixes IQ1_S/IQ2_* with NVFP4/MXFP4. expert_m1_gu_rows / expert_m1_dn_rows now also cover SkCode::GGUF_RAW, with the same 4-row grouping and the same dot kernels as eval_inkling2_expert_batch, and the same dequantize-then-float-dot code for the types without a quantized dot (Q8_0, F16, BF16). ink_expert_split_test checks Q4_K, Q5_K, Q6_K, Q8_0, Q3_K, Q2_K, IQ4_XS, Q4_0 and IQ4_NL gate/up with Q8_0, Q4_0 and IQ4_NL down, interleaved and split layout, bit for bit against the whole expert.