Repository navigation
serve: the placement report covers every graph, and --strict-device reads it - #473
Conversation
--placement-report passed GGML_HRX_REPORT=1, and the backend's 1 is the first graph only, so serve printed a clean report for a model that leaves nodes on the CPU in later graphs: the 20 Oct census found LFM2 --parallel 4 (20 nodes, 5 splits) and ZAYA1-8B (1-3 nodes) reading "all nodes on HRX". Ask for every graph (2), keep the worst one instead of the last, and print serve's line again whenever a graph is worse than every graph before it, with the graph count. --strict-device reads the same worst graph. Without --placement-report serve keeps 1, so no log volume is added by default. tests/hrx_placement_test.cpp covers a clean warmup followed by a par4 graph and a later clean graph. Co-Authored-By: Claude Opus 5 <[email protected]>
--strict-device only passed GGML_HRX_STRICT=1 to the backend. It did not pass GGML_HRX_REPORT=2 and it did not add the -lv 4 that lets llama-server's log level carry the placement report through, so the graph that would have been refused was never reported and serve fell through to "the backend printed no placement line" while starting normally. Both flags are now treated the same way: GGML_HRX_REPORT=2 and -lv 4 whenever either is set, so the refusal reads the same worst graph that --placement-report prints. Found on device: `1bit serve ... --strict-device --parallel 4` (LFM2-1.2B) answered requests instead of refusing, with that "no placement line" message in its log. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR Reviewer Guide 🔍(Review updated until commit 81b6753)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 8c9a15a |
|
Persistent review updated to latest commit 81b6753 |
Census gap G2 (pi goal mvgdshw8).
--placement-reportcovered only the warmup graph. It now records every graph and keeps the worst one.--strict-devicenever received the report, so it read nothing and started normally. It now gets the report and refuses a model with nodes off HRX.Evidence (strixhalo, from the goal): unit test (tests/hrx_placement_test.cpp) green; device runs: LFM2 --parallel 4 reports 20 of 548 nodes off HRX (MUL_MAT x 20, worst of 2 graphs); ZAYA --parallel 4 reports 43 of 6449 (worst of 6 graphs). Those are now strict-mode refusals, tracked as gaps G3/G4.
🤖 Generated with Claude Code