Files
Strata/tools/hip
Niko1221 f40f8cacaa Build the engine without llama.cpp's MMQ kernels by default
STRATA_MMQ now defaults to OFF. -DSTRATA_MMQ=ON still builds the old path
(llama.cpp's MMQ prompt kernels and strata_kq) for A/B runs; nothing is
removed in this release.

What changes for whom:
- A fresh source build (cmake with no STRATA_MMQ given): the engine has no
  MMQ kernels and no strata_kq library. On HIP, STRATA_PREFILL_MMQ=ON alone
  no longer builds MMQ; it needs STRATA_MMQ=ON too.
- setup re-runs that compile the engine (CUDA build/ and build-cuda12/, HIP
  build-hip/): setup passes -DSTRATA_MMQ=OFF itself, because a build folder
  configured before keeps STRATA_MMQ=ON in its CMake cache. On ARM64
  (DGX Spark) setup passes ON: not measured without MMQ, kept as in 0.2.13.
  After the CUDA build, setup's existing step removes an older strata_kq
  library from the engine folder.
- Packages: the Linux CUDA package (build_cuda_linux.sh), the Windows CUDA
  zip (build_cuda_windows.py), the HIP Linux package (build_hip_linux.sh),
  the gfx1103 package (build_hip_gfx1103.sh) and the Windows HIP build
  (tools/hip/build_windows.bat) name -DSTRATA_MMQ=OFF and ship no strata_kq
  library. STRATA_CMAKE_EXTRA=-DSTRATA_MMQ=ON comes after it and builds the
  old path.
- The linux-aarch64 package (spark/build_engine.sh, used by
  build_cuda_linux_aarch64.sh) names -DSTRATA_MMQ=ON: unchanged.
- The Docker source image builds the targets the tree has
  (packaging/engine_targets.sh) instead of naming strata_kq, which no longer
  exists by default.
- CI (backends.yml, CUDA job) builds the strata target only.
- The split engine (build_split_hip.sh) is unchanged: its targets do not use
  the MMQ libraries.

Tests: test_build_cuda_windows.py pins the new configure line and the
override order; test_setup_stale_stamp.py checks that setup names the value
(OFF on x86_64, ON on ARM64).
2026-11-14 20:01:14 +01:00
..