mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
The decode (moe_gu / moe_down) and prompt (mm_gu2 / mm_down2) expert kernels read the three trellis types through a unit decoder in quant.metal (the codebook from threadgroup or constant memory); had128 kernels rotate the gate/up and down inputs of Hadamard-folded layers in the decode window and both prompt paths. ref_quant decodes the types with the CPU engine's own state extraction; expert_parity takes real experts of a GGUF (--gguf --layer), the pack's hadamard.txt (--had-pack) and has a bitwise rotation test (--had-test).