STRATA_OWN_CPU_QUANT default ON on arm64

The CPU expert pool on arm64 (DGX Spark, Linux arm64 builds) now runs on the
Strata quant layer by default, as it does on x86. The NEON tier is bit-exact
against ggml-cpu (quant_parity, pool_rows_bench at 1-16 tokens, Qwen IQ3_S
token gates on the Spark). With the gate/up loop fixed, the Spark pool
decode measured level with ggml-cpu's. -DSTRATA_OWN_CPU_QUANT=OFF still
builds the ggml-cpu pool. The Metal project keeps its own option, still OFF.
This commit is contained in:
Niko1221 committed 2026-11-11 12:59:00 +01:00
1 parent d3851f1043
commit 8bb2669c07
1 file changed
+5 -9
+5 -9
View File
@@ -199,15 +199,11 @@ option(STRATA_WERROR "Treat compiler warnings as errors" OFF)
# native-experts section far below, so a first configure registered four tests fewer than the second)
option(STRATA_NATIVE_EXPERTS "Native (IQ) expert support through ggml-cpu" ON)
# Own-stack phase 2: the CPU expert pool's dot products, activation quantizers and the --mtp-q4 requantizer come from the Strata quant layer
# (src/quant, no ggml-cpu in the pool) instead of ggml-cpu's type traits. OFF keeps the ggml path, selectable for two releases. Default: ON on x86 (AVX /
# AVX2 tiers); OFF on arm64: the NEON tier is bit-exact against ggml-cpu's NEON dots (tests/quant/run_oracle.sh; Spark and Mac oracles, token gates identical,
# RESULTS-OWN-2N.md) but the pool decode on the DGX Spark measured about 1.5% slower with it (IQ3_S gate/up, 8 + 6 interleaved pairs), and the plan's gate is the
# same answers at least as fast. -DSTRATA_OWN_CPU_QUANT=ON still builds it.
if(STRATA_CPU_X86)
option(STRATA_OWN_CPU_QUANT "CPU expert pool on the Strata quant layer (src/quant) instead of ggml-cpu's type traits" ON)
else()
option(STRATA_OWN_CPU_QUANT "CPU expert pool on the Strata quant layer (src/quant) instead of ggml-cpu's type traits" OFF)
endif()
# (src/quant, no ggml-cpu in the pool) instead of ggml-cpu's type traits. OFF keeps the ggml path, selectable for two releases. Default ON on x86 (AVX /
# AVX2 tiers) and on arm64 (the NEON tier: bit-exact against ggml-cpu's NEON dots, tests/quant/run_oracle.sh and pool_rows_bench on the Spark and the Mac,
# token gates identical). arm64 was OFF until the gate/up loop's store-forwarding stall was fixed (OWN-2N2); the Spark pool decode then measured
# 0.992 of ggml's over 18 interleaved pairs. -DSTRATA_OWN_CPU_QUANT=OFF builds the ggml-cpu pool.
option(STRATA_OWN_CPU_QUANT "CPU expert pool on the Strata quant layer (src/quant) instead of ggml-cpu's type traits" ON)
if(STRATA_BUILD_CONVERSATION_TESTS)
enable_testing()