Files
Strata/cmake
Niko1221 3e26b4e157 [Engine] remove llama.cpp's MMQ build path and the vendored ggml-cuda (own-stack step 10)
No release build compiled MMQ any more (x86 since 0.2.14, the DGX Spark since f-spark-nommq), so the path goes:
- CMake: the options STRATA_MMQ, STRATA_PREFILL_MMQ, STRATA_MMQ_TAB, STRATA_MMQ_TQ_OVERLAY, STRATA_ORCA_Q4KS_MMQ and STRATA_MMQ_KQUANTS, the
  macros strata_cuda_mmq / strata_hip_mmq / strata_pf_own_mirror / strata_ggml_mmq_types and the MMQ tests. Every CUDA and HIP build takes
  strata_cuda_pf_own / strata_hip_pf_own (Strata's own prompt kernels, mmq_absent.cpp for the MMQ half of moe_mmq.hpp), as the release builds did.
- Sources: moe_mmq.cu, moe_mmq_tab.*, mmq_tab_instance.cu.in, mmq_kq_lib.cu / mmq_kq_loader.cpp (libstrata_kq), mmq_nvfp4_w4a4/w4a8.cu,
  moe_iq4_w4a8.cu (called only from moe_mmq.cu), moe_ws*.cu, ggml_cuda_host.cu, mmq_expert_bench.cpp, mmq_nvfp4_parity.cpp, two headers,
  nine MMQ tests, the split engine's qdot_test.cu (its ggml-cuda oracle; qdot_golden stays), cmake/strata_ggml_tq_overlay.cmake and its test.
- third_party/strata-ggml/ggml/src/ggml-cuda and ggml-cuda-tq (64 manifest rows; check_vendored: 62 files, ok).
- The flags out of packaging/build_cuda_linux.sh, build_cuda_windows.py, build_hip_linux.sh, build_hip_gfx1103.sh, build_split_hip.sh,
  tools/hip/build_windows.bat, spark/build_engine.sh, setup.py, CMakePresets.json (cuda-compile builds strata only) and the Dockerfile.
  The strata_kq probes of the package scripts and setup's clean-up of an old libstrata_kq stay (no-ops now).
- Settings read only in the deleted files are retired in data/settings-register.json (STRATA_IQ4_W4A8, STRATA_MMQ_DIRECT, STRATA_MMQ_WS,
  STRATA_QUANT_GATHER, STRATA_W4A8_CFG, STRATA_WS_FAST; retired_in 0.2.16); docs/SETTINGS.md regenerated. Docs: lines naming the removed
  build options or settings deleted or shortened (AMD_HIP, BATCHING, DETAILS, DGX_SPARK_LINUX, GYRO, OLDER_GPUS, RADEON_780M, STRIX_HALO,
  UNSLOTH_Q4, packaging/ENGINE-COMPONENT.md). Tests that read the options follow (test_linux_aarch64, test_setup_stale_stamp,
  test_build_cuda_windows, test_gfx906_build_files).
MMQ comparison builds come from the v0.2.15 tag from now on.

Gates (A = f-0216-int f6de3a6c6 with its package flags, B = this tree, same folder):
- CUDA 13 (z440, sm_86 + sm_120 + PTX; and strata-split-2): host code identical; strata 155 of 156 device files identical, the one differing
  file only in native_mmvq_il_pf_kernel, which differs between two builds of A too (A/A2); the split's differing files (the same family and two
  PTX files) differ in A/A2 as well. CUDA 12.9 with SM60 (sm_60 + sm_86): host identical; the 4 differing device files are the same in A/A2,
  functions native_mmvq_il_pf_kernel and fused_gr.cu gr_down_v3_kernel (nvcc build-to-build: three compiles of fused_gr.cu.o give three PTX).
- HIP (p620, gfx1200;gfx1201, the rx9070 flags): f-0216-int with and without -DSTRATA_PREFILL_MMQ=ON -DSTRATA_MMQ=OFF gives the same
  build.ninja and byte-identical strata and strata-split-2, so the flag compiled nothing; this tree's strata is byte-identical to A; the split
  has identical disassembly (2,808 functions) and host code, raw bytes differing only in __hip_cuid / gpubin hashes (step 5's include path).
- tools/check_no_mmq.py on the CUDA strata and split (bytes, nm, cuobjdump: 5,524 / 3,225 / 5,632 device functions) and the HIP strata and
  split (bytes, nm): clean.
- SYCL (p1004, icpx 2026.1.1): builds, 117 steps, no ggml. Metal (m1002, packaging/mac/build_engine.sh --stages engine): builds, 2 ggml names
  (ours). The aarch64 (Spark) compile is not run here: it runs with the Spark engine release check when the Spark is restarted.
- pytest tools/test_*.py + test_linux_aarch64 / test_loader_diag / test_tuning_availability_0213 (boston): 1,694 passed, 15 skipped, 2
  failed in test_gfx906_build_files (asserted the deleted macro's gfx906 lines; rewritten, 3/3). settings_register --check and
  test_settings_register, check_vendored, check_links: ok.
2026-11-16 15:04:34 +01:00
..