2 Commits
Author SHA1 Message Date
Niko1221 47df6414c4 ling32: std::popcount in the codec test (builds with MSVC); the CPU and CUDA targets build on the owner PC (Windows, CUDA 12.9, sm_120) 2026-11-30 14:25:51 +01:00
Niko1221 9a15b294b7 ling32: FWHT-128, Q8_1 and S4/5/6/8_K paths (CPU and CUDA), Section 5 self-check, codec bit-for-bit test against the pack codec
- ling32_sk.hpp: fwht128_f32, fwht128_quantize_q8_1, fp16 conversions; ling32_selfcheck: Section 5 golden vectors (decode bit-exact after fp16
  rounding, plain and FWHT dots, Q8_1 activation-path error reported), startup abort above 1e-3
- ling32_kernels.cu: FWHT-128 + Q8_1 quantiser (bit-identical to the CPU), S_K GEMV for all four codecs with Q8 or float activations and
  1..16 tokens per pass, float GEMV, RMSNorm, S8_K embedding; ling32_kernel_test.cu
- tests/ling32/data: superblocks encoded and decoded by the hand-off pack own codec; strata::quant::sk decodes all four bit for bit
2026-11-30 13:16:46 +01:00