1 Commits
Author SHA1 Message Date
Niko1221 2ca83480cd clean-p2: P-7 x86 tier from the specs (dot_avx2, act_avx512, kq dots; old files untouched)
New files (replacements, same interfaces):
  engine/src/quant/x86/dot_avx2_clean.cpp     table + six _opt kernels + three x4 kernels, bit-identical to the plain kernels of the TU
  engine/src/quant/x86/act_avx512_clean.cpp   AVX-512 Q8_0 / Q8_1 / Q8_K quantisers, byte-identical to the Avx2 contract
  engine/src/kernels/cpu/kq_dots_avx2.{hpp,cpp}  Q4_K / Q5_1 / Q8_0 multi-token dots, bit-identical per token to the single-token Avx2 dots

Float orders were found by black-box probing of the current kernels (tests/clean_p2/probe_*.cpp, model_*.cpp), then
confirmed on random rows. Tests: dot_avx2_verify, act_avx512_verify (needs AVX-512), kq_dots_avx2_test, plus the probes,
a manual build script for the quant layer and Windows (MSVC) drivers.
2026-12-01 01:57:16 +01:00