Repository navigation
tests: prune hrx-backend-test's stale known-fail row, so its host tier is green (engine#3129) - #474
Conversation
…r is green (engine#3129) `qwen_flash_attention_dispatch` was baselined as [ggml-org#2392 add-on plans this node] expecting `ggml_flash_attention_decode_split_f32_f16_wmma_next_q8`; it now passes on the add-on path, so the runner reports it as an UNEXPECTED-PASS and returns 1. The table's own rule says what to do about that -- "A row is removed when its mechanism's fix lands: the case then passes on the add-on path (UNEXPECTED-PASS)" -- so the row goes, with the measurement recorded in its place. Measured at the current pin, built fresh, run with no device (the configuration this file's no-device branch describes): before: host: 76 passed, 0 failed, 22 known-fail, 1 unexpected-pass, 99 total rc 1 after: host: 77 passed, 0 failed, 22 known-fail, 0 unexpected-pass, 99 total rc 0 What made it visible: nothing in CI selects these rows (`LABELS "hrx"` vs the workflows' `ctest -L main`, and this target had not even compiled since #438 until #468), so the baseline drifted unwatched. That is engine#3129's thesis, and this is the one edit that makes the target green before anyone spends runner time gating it.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 73d9afb: READY
One table row removed, +5/-1, test-only. I could not build the target here (see "Not run"), so this verdict rests on the runner's own code deciding the outcome you measured — and on the failure direction being loud in both cases.
The numbers you report follow from the code, not from a reading of it
run_cases() decides every branch you quote (tests/hrx-backend-test.cpp:15784-15806):
labelled + passes -> ++unexpected, "[UNEXPECTED-PASS %s] %s", return rc 1 when failed+unexpected != 0
labelled + fails on expect -> ++known, "[KNOWN-FAIL %s] %s"
labelled + fails elsewhere -> ++unexpected, "[UNEXPECTED-FAIL ...]"
unlabelled + ok -> ++passed, "[PASS] %s"
unlabelled + fails -> ++failed, "[FAIL] %s"
So 76 passed / 0 failed / 22 known-fail / 1 unexpected-pass / 99 total, rc 1 (76+22+1 = 99) is exactly what a labelled case that now passes produces, and 77 / 0 / 22 / 0 / 99, rc 0 (77+22 = 99) is exactly what removing its label produces if the case passes. Both of your tables are internally consistent and match the branches one-to-one, which is why I am not asking for a re-measure.
What I did check directly
- The case is real:
run_qwen_flash_attention_dispatch_checks()exists at:5191, so the removed label named a case and not a typo. - The removed expectation is the one the case asserts:
ggml_flash_attention_decode_split_f32_f16_wmma_next_q8, and the same id appears in the case's own#445 ACCEPTcomments (:5039,:5100,:5313) — the label was describing the route the case checks, not something adjacent. - The other 22 labels are untouched — the diff is one removed initialiser plus its comment, nothing else in the file.
- The removal rule is the table's own, quoted in the comment at
:15714, not an interpretation of it.
Why deleting a label cannot hide anything
Both directions stay loud. If the case is actually still failing, the next run prints [FAIL] qwen_flash_attention_dispatch and returns 1 — the same rc, one differently-worded line, and a case name either way. If it is flaky, that intermittency turns into a red rather than staying invisible behind a label. The only shape this could mask is a case that stops being executed, which no label edit can cause.
Worth recording: this is the first row removed from this table since 1fc737d97 introduced it (#359), so there is no precedent to compare against — the table's rule is the whole authority here, and it is satisfied.
Not run — the limit of this verdict
hrx-backend-test needs ggml-hrx + hrx::hrx + loomc::loomc + the add-on dir (GGML_HRX_HIP_ADDON_DIR); this fork worktree has no third_party/hrx-system, and the only hrx-backend-test binaries on the box are from 2025-11-14/16 pins (5450c80 and older), i.e. before the add-on behaviour you measured. A thermal-limited 4-core build of ggml-hrx here would be 20-40 minutes and I was not going to report a number from a tree that is not this head. The one claim I am taking from you unverified is "the case now passes on the add-on path" — everything downstream of it is checked above.
|
VERDICT at 73d9afb: READY. I reproduced the after-state myself, and checked the three things that would have made this a prune-to-hide-something rather than a prune. Measured, not read
So no device was touched — the runtime says so in its own words, which is also why I did not take a The three checks that make a label removal safe here
Counts agree with the body in both directions: the The carrier check (the thing that usually gets left behind)The case name appears in four other places and I read each: Two notes, neither an ask
|
|
VERDICT at 73d9afb: READY One table row out, with the rule it follows quoted correctly and the arithmetic self-consistent — and I checked the cross-repo consequence, because a fork-side row going green is exactly the case the engine's ratchet had to be taught about. The quoted rule is verbatim ( The cross-repo question, answered by the engine's code rather than by hope. and still returns Your invisibility claim, checked and sharpened. Nothing in either tree selects What I did not do: run the host tier. It needs an add-on build, and other lanes' The reasoning in "Why this was invisible" is the part I would keep: |
Refs engine#3129. The target builds again after #468; this makes it green, which is the precondition for deciding whether to gate it.
The finding
hrx-backend-test's host tier (no device, the configurationtests/hrx-backend-test.cpp's no-device branch describes) at the current pin:qwen_flash_attention_dispatchwas baselined as "[ggml-org#2392 add-on plans this node]" expectingggml_flash_attention_decode_split_f32_f16_wmma_next_q8. It now passes on the add-on path — i.e. the mechanism the label documented has been fixed — so the runner reports an unexpected pass and returns 1. The table's own rule says exactly what to do:The change — one table row
The label is removed, with the measurement recorded in its place. After:
The other 22 labelled rows are untouched: they still fail on the requirement fragment they name, which the runner distinguishes from failing on anything else.
Why this was invisible, and why it matters
Nothing selects these rows: they carry
LABELS "hrx"while every ctest invocation in the tree isctest -L main(12 of them, checked), and this target had not even compiled since #438 until #468 landed. So a baseline that drifted went unnoticed — which is ggml-org#3129's thesis, and the reason I measured the tier by hand at all.That is also the only claim this PR makes: it does not add a CI job, because the cost of one belongs to the owner's decision and I have deliberately not made it. What it does is remove the one thing that would have made a gate red on arrival — "the target is now green, 2 seconds, no device, no model" is a much easier yes than "the target is red and stale".
Reproduction, no device, no model
Unsetting the two HRX environment variables is what makes the runtime register no device, which is the configuration that runs the 99 host cases and skips the 14 device cases with a line saying so.