From 8b3ecf1670b5767bb584a232867b5889dd3fbcff Mon Sep 17 00:00:00 2001 From: bong-water-water-bong Date: Fri, 13 Nov 2026 07:08:10 -0400 Subject: [PATCH] recipes_route: the "nothing on cpu" arm asks for cpu by name The arm ran serve with --device auto. On a box with an HRX build, auto resolves to hrx, so the hrx-scoped qwen4exp recipes applied and two checks failed: "hrx-scoped: nothing on cpu" and "no -ub on cpu". The log said "q4exp on hrx". CI has no HSA runtime, so auto is cpu there and main stays green. The arm now passes SERVE_DEVICE=cpu, which is what it means; the hrx arm below already names hrx. Co-Authored-By: Claude Opus 5.5 --- tests/recipes_route.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/recipes_route.sh b/tests/recipes_route.sh index f2f04ff0f..20cff3d00 100755 --- a/tests/recipes_route.sh +++ b/tests/recipes_route.sh @@ -118,7 +118,7 @@ check "the built-in set adds nothing to a MoE file" '[ "$(after "$scratch/moe.js run "$scratch/plain.gguf" "$scratch/dfv.json" --dflash "$scratch/draft.gguf" check " nor to --dflash" '[ "$(after "$scratch/dfv.json" --spec-draft-p-min)" = None ] && ! grep -q recipe "$scratch/dfv.json.log"' -run "$scratch/q4exp.gguf" "$scratch/q4exp.json" +SERVE_DEVICE=cpu run "$scratch/q4exp.gguf" "$scratch/q4exp.json" # cpu by name: on a box with HRX, auto is hrx check "the qwen4exp graph-program-cache recipe is hrx-scoped: nothing on cpu" \ '! grep -q "hrx-graph-program-cache-128" "$scratch/q4exp.json.log"' check " and nothing is set for the other architectures" '[ "$(field "$scratch/moe.json" "r[\"env\"].get(\"GGML_HRX_GRAPH_PROGRAM_CACHE\")")" = None ]'