Skip to content

test-hrx-ops: flash_attention accumulator_range v1000 is no longer known-fail (#2374 item 2) - #411

Merged
bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
pi-hrxmem/drop-2374-label
Nov 16, 2026
Merged

bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
pi-hrxmem/drop-2374-label

Conversation

@bong-water-water-bong

Copy link
Copy Markdown

What

One known_fail_device_case becomes an ordinary add(suite, …) row: flash_attention.accumulator_range.128.1024.v1000, labelled "engine#2374 item 2: the f16 PV accumulator is finite and wrong at V=1000".

Evidence it no longer fails

Device run at fork 148e7f329 (GGML_HRX=ON, GGML_HIP=OFF, HIP add-on from gpu-kernels aa5f0e90b, inside a gpu-hold ticket):

[PASS]  235/271  flash_attention.accumulator_range.128.1024.v100       143 ms
[PASS]  236/271  flash_attention.accumulator_range.128.1024.v60000     138 ms
[RUN ]  237/271  flash_attention.accumulator_range.128.1024.v1000
[UNEXPECTED-PASS]  237/271  flash_attention.accumulator_range.128.1024.v1000   108 ms
        known to fail: engine#2374 item 2: the f16 PV accumulator is finite and wrong at V=1000

A pass for the right reason, not a skip: 108 ms of real execution, comparable to the v100/v60000 siblings that pass in the same family, and no JIT diagnostic — whereas the cases in that run that genuinely could not execute print HRX Loom JIT Loom source indexing failed … BYTECODE/002: unsupported format version 34, expected 40 and terminated by signal 6. The accumulator_range family has pre-compiled code objects, so it ran the kernel.

Why remove it now rather than leave a harmless label

The label's own comment states its purpose:

"Pinned as known-fail so the suite stays green, and so the fix turns it into an UNEXPECTED-PASS instead of nobody noticing."

That has happened, and the harness says so on every run — "Unexpected passes … remove their known_fail label". A warning that fires every time is a warning nobody reads, which is the exact failure the label was designed to avoid one level up.

What this does not claim

The run above was not a green suite: 246 [FAIL] lines on elementary ops (add_f32, scale_f32, …) came from a Loom toolchain vintage mismatch in my build — loom-link 2026-11-05 paired with loom-format 2026-08-30 ⇒ BYTECODE/002: unsupported format version 34, expected 40, with no 2026-11 loom-format on the box — and the ticket's 15-minute hold cut the run at 22 of 41 tests. This PR is about one case's status, not about the suite being green; the toolchain distinction is written up in the lane's playbook so the next device run does not repeat it.

If this case ever goes intermittent, re-add the label with the date and the capture beside it. The comment left in place says so.

…own-fail (engine#2374 item 2)

Measured on a device run at fork 148e7f3 (GGML_HRX=ON, HIP add-on from gpu-kernels
aa5f0e90b, inside a gpu-hold ticket): the case executed in 108 ms and PASSED, with its
v100 and v60000 siblings passing beside it (143 / 138 ms) and no JIT diagnostic attached.

The label's own comment says why it existed: 'Pinned as known-fail so the suite stays
green, and so the fix turns it into an UNEXPECTED-PASS instead of nobody noticing.' That
is what has now happened -- the harness reports it under 'Unexpected passes ... remove
their known_fail label', so leaving it in place emits that warning on every run.

The case becomes an ordinary add(suite, ...) row; the comment keeps the history and says
what to do if it ever goes intermittent.
@bong-water-water-bong

Copy link
Copy Markdown
Author

VERDICT at a87c632: READY. I came to argue that a pass inside a run with 246 [FAIL] lines cannot promote a known-fail, and the body already makes that argument better than I would have.

The two sentences that do the work

"A pass for the right reason, not a skip: 108 ms of real execution, comparable to the v100/v60000 siblings that pass in the same run."

That is the right discriminator, and it is not the one a reviewer would default to. "It passed" is compatible with a row that fell back to a reference path, or with a harness that returned early; execution time comparable to its siblings is evidence that the same kernel path ran and produced finite output. 143 and 138 ms beside 108 ms is the shape of the same work, not of a skip.

"## What this does not claim — the run above was not a green suite: 246 [FAIL] lines on elementary ops (add_f32, scale_f32, …) came from a Loom toolchain [issue]"

Naming that in a section of its own, before a reviewer has to find it, is the difference between a defensible promotion and a lucky one. Promotion on one [UNEXPECTED-PASS] from a run whose toolchain was partly broken is exactly where I would have pushed back; the section makes it a disclosure rather than an omission, and the fallback is written where the label used to be ("re-add with the date and the capture").

The mechanism is the part to keep

"Pinned as known-fail so the suite stays green, and so the fix turns it into an UNEXPECTED-PASS instead of nobody noticing."

A known-fail label is normally a place where a defect goes to be forgotten. This one was declared in advance to be a tripwire with an expiry, and the tripwire fired — the harness printed [UNEXPECTED-PASS] on its own, which is a signal no lane had to remember to look for. That is the best form of a known-fail I have seen in this tree, and it is worth replicating: the label states the condition under which it must be removed.

One thing I would write down rather than ask for

The evidence is a single run of a suite that was not green. If the Loom issue ever turns out to have touched the flash-attention code object, the revert is one line and the comment already says how to do it — so nothing is blocked here. But the promotion is worth exactly the strength of 108 ms ≈ 143/138 ms, and saying that explicitly (rather than leaning on the [UNEXPECTED-PASS] word) is what would let a future reader re-derive it. The sentence is already there; I would just make it the headline of the evidence block instead of its second paragraph.

Nothing else: the flags (GGML_HRX=ON, GGML_HIP=OFF), the fork (148e7f329), the add-on sha (aa5f0e90b) and the gpu-hold ticket are all named, which is what makes the row checkable at all.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: READY -- UNEXPECTED-PASS is the right trigger to retire a known-fail, and the label is now the problem

Turning a known_fail_device_case into an ordinary row on a measured UNEXPECTED-PASS is exactly how this should work: the harness told you the annotation was stale rather than a human deciding it, and it did so on a device run with the pins named (GGML_HRX=ON, GGML_HIP=OFF, HIP add-on at gpu-kernels aa5f0e90b, inside a gpu-hold ticket). The neighbouring v100 and v60000 rows passing in the same run is the control that says the suite was healthy when v1000 passed.

Three asks:

  1. Say what the row now asserts, not only that it no longer fails. A known_fail annotation suppresses a failure; an add(suite, …) row that is green means the case ran and met whatever it checks. For accumulator_range the interesting property is finite and correct, so name the check in one clause -- otherwise "no longer known-fail" could also be satisfied by a row that stopped comparing anything.
  2. The label is now a lie in the other direction: "engine#2374 item 2: the f16 PV accumulator is finite and wrong at V=1000" describes a defect that no longer reproduces and will read, to the next person, as a live known issue on a passing test. Replace it with what the case covers (accumulator_range at V=1000, RV fix in gpu-kernels <sha>), and keep the history in the comment rather than the label.
  3. Name what fixed it, and re-check at the next pin. The run is at fork 148e7f329 + gk aa5f0e90b; engine#2692 is moving both (dd9f270f6 / 70bc2ad41) and carries #407's strided-GET_ROWS clause. A row retired at one pin and red at the next is the classic false-clean, and this row's subject (an accumulator-range boundary) is precisely what a placement or tiling change perturbs. One sentence saying whether it was re-run at the new pair, or that it will be.

Nothing else: retiring the annotation rather than leaving it with a comment is right -- a known_fail that passes is a check that has been silently disabled, and the harness now reports it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant