ci(workflows): re-land #1066 (narrow PR FA_ALL_QUANTS on lucebox3, lld, and batched GPU CppUnit)

Merged
GR
8d ago
+52-20

Based on main (a70ab3ca2). Re-lands #1066 onto main after it merged into the already-merged ci/optimize-ci-pipeline branch.

What

  • Cause: #1066 (ci/lucebox3-fa-quants-defender-single-proc, commit fbad9644e) merged into ci/optimize-ci-pipeline at 2026-11-23T15:19:13Z — 51 seconds after #1062 squash-merged ci/optimize-ci-pipeline into main (15:18:22Z). Because #1070 intentionally omitted these edits expecting #1066 to land on main, neither main nor #1070 currently has them.
  • Fix (.github/workflows/ci.yml):
    • Pass -DLUCE_FA_ALL_QUANTS=OFF on lucebox3 (gpu-tests-amd default and affine builds, plus serve-smoke-amd on pull requests; main, merge_group, and workflow_dispatch keep ON on serve-smoke-amd so mixed-quant HIP FlashAttention retains compile coverage).
    • Pass -DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld -DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld when ld.lld is on PATH (pairs directly with #1070's /opt/rocm/lib/llvm/bin/ld.lld symlink).
    • Invoke GPU CppUnit binaries directly per suite/fixture on dgx-gb10 and lucebox3 so test cases share one GPU context instead of spawning ~130 separate processes (keeping test_model_smoke.PagedAttention.* in ctest so DirectPath cases keep isolated processes for their process-cached FORCE_PARTITIONS override).

Baseline & measurement (provisional)

  • Baseline (ci.yml, 150 PR runs <= 2026-11-23T10:29Z, 44 successful):
    • GPU tests (Strix Halo, gfx1151): median running 28m 35s (n=40)
    • GPU tests (R9700, gfx1201): median running 25m 02s (n=40; ctest alone 272.38s in job 133638105486)
    • Serve Qwen 3.8 27B & DS4.1 Flash: median Build luce_server 351s (n=57)
    • GPU tests (DGX GB10): median running 4m 56s (n=44; warm post-#1061 run 45336602898: 3m 01s)
  • After merge: measure with Joggernaut ci-measure once lucebox3 is back online and >= 5 comparable runs finish after merge.

Coverage & checks

  • Every existing test binary, CppUnit suite/fixture, and GitHub check name stays intact (no tests skipped, retried, or removed).
  • Validated locally: yaml.safe_load on .github/workflows/ci.yml, bash -n on every shell step, and .github/ci/check_commit_messages.py.