Upstream host: https://github.com/ggml-org/llama.cpp at the commit in
PIN. The host-side changes are the patch series in patches/:
GGML_CUDA_FLASHRT_SM120option, the fuse-hook call sites inggml-cuda.cu(compiled out unless the option is on), the NVFP4 quantization target forllama-quantize, per-shape graph slots inllama-context(LLAMA_GRAPH_SLOTS=N, default 1 = stock), and the Qwen3-8B M=1 GEMV worklist intest-backend-ops.- A path-only commit that predates the overlay (kept for history).
- The CMake block that consumes this overlay from
ggml/src/ggml-cuda/flashrt(submodule) orGGML_CUDA_FLASHRT_DIR.
build.sh <work dir> reproduces the build from scratch: clone at the
pin, git am the series, mount the overlay, configure with
-DGGML_CUDA_FLASHRT_SM120=ON. The sm_120a pass is scoped to the three
FlashRT sources; no global CMAKE_CUDA_FLAGS needed.
Moving the pin: check out the new upstream commit, git am --3way the
series, resolve, git format-patch back into patches/, update PIN,
re-run the qualification gates (../../qualification/).
Runtime: GGML_CUDA_FLASHRT_DISABLE=1 reproduces stock; the per-window
switches are documented in ../../docs/usage.md.