mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 15:28:40 +00:00
A release engine (tests off, Strata's own CPU pool, no MMQ) no longer configures, builds or links the vendored ggml. ggml is configured only where something links it: the tests (ggml as the oracle), the ggml-cpu pool (STRATA_OWN_CPU_QUANT=OFF, the Mac and Arc builds keep their own projects) and an MMQ build. - CMakeLists.txt: strata_ggml_configure_root() only for tests / ggml pool / MMQ; the programs that compare against ggml (nvfp4_avx512_parity, nvfp4_expert_gpu_parity, native_expert_parity, native_expert_bench, iq_nibble_parity, hip_ple_iq4) exist only in a build that has ggml. - cmake/backends/cpu.cmake: strata_kernels_cpu links ggml-cpu / ggml-base only where the build has them; the x86 parity programs and benches against ggml-cpu likewise. - cmake/backends/cuda.cmake, hip.cmake: strata_pf_own (the no-MMQ prompt kernels) has no ggml include dir and no ggml-base link; the block layouts come from third_party/ggml (the same text, see UPSTREAM.md). - moe_fused_iq.cu, moe_fused_iq_q36.cu, moe_f16_kq.cu, moe_p1a.cu: the type ids from Strata's own table (strata/quant/types.hpp) instead of ggml.h. iq_avx1.cpp: an unused ggml.h include removed. - tests/quant/type_geometry_oracle.cpp: static_asserts that every id of the table is ggml's enumerator of the same name. The MMQ build (-DSTRATA_MMQ=ON, the Spark) and the tests-ON build are unchanged.