Skip to content

tests: re-read the open rows at the current pin (engine #445, fork 7ca8ba5a) - #130

Merged
bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
1bit/hrx-445-repin
Oct 23, 2026
Merged

bong-water-water-bong merged 1 commit into
1bit/hrx-vulkan-patchedfrom
1bit/hrx-445-repin

Conversation

@bong-water-water-bong

Copy link
Copy Markdown

tests: re-read the open rows at the current pin (engine #445, fork 7ca8ba5)

The three #445 rows and the two ggml-org#533 rows were ruled against af04c9f2/851fa6c8. This is the same pass
re-done at fork tip 7ca8ba5a + hrx-system 82804197bc (the engine main pair), with the verdicts and the
evidence that produced them.

Verdicts at this pin

row verdict evidence
qwen_router_top8_dispatch green the descending-order router (explicit route count 33) and a 16-expert logits tensor are claimed on this pin — the case asserted both were refused. Route-id binding length is ggml_nbytes(route_ids), which is what the command reports (ne0=8, ne1=4, nb1=512 → 1568).
qwen_matmul_dispatch still known_fail("#445") the row matrix moves in four independent places at once: dispatch count (a row whose residual is not folded plans projection + standalone ADD), the kernel pair (a two-token Q6_K projection still goes to the generic ggml_mul_mat_f32_f32_wmma, not the kquant decode family), the weight-format code (plain 6 vs packed 46 for the same route), and the SwiGLU routes further down. Each fix reveals the next one, so it is left red with the findings above rather than rewritten in one blind pass.
lowtoken_residual_dispatch still known_fail("#445") the fused-vs-unfused distinction is not readable from the command list any more: tokens=1 q4_K fused_exp=1 and tokens=1 q4_K fused_exp=0 both plan ggml_kquant_mul_mat_decode_f32/b4 plus (in the unfused case) ggml_binary_f32/b3. Whether the residual is folded once must come from the kernel's binding semantics, not from the plan.
qwen_attention_postprocess_dispatch known_fail("#533"), re-confirmed VERIFY-ERROR: command 0 … bindings=12 … binding query_input value=22 … reads transient value 22 before write (also key_input value 2, value_input value 15).
qwen_routed_gate_up_dispatch known_fail("#533"), re-confirmed VERIFY-ERROR: command 6 … deps=1 … binding raw_gate value=33 … reads transient value 33 before write by command 7 — a forward dependency.

gdn_selected_rms_q8_dispatch (#533) and common_mul_mat_id_postops_dispatch (#533) behave exactly as
reported there, and disjoint_transient_plan_packing (#534) still plans arena=512 allocs=2.

What else changed in this commit

  • qwen_matmul: the projection is taken as the last matmul dispatch rather than dispatches.back()
    (the unfused residual row ends its plan with the standalone ADD), and the expected kernel is now "the
    table's kernel or one of our registered matmul routes" (is_registered_matmul_route), because the
    specialised registrations — q6_k packed token1 final projection, kquant decode, wmma/decode — gate on
    shape and the registry decides between them. Pinning one of them for every row was wrong.
  • the ggml.mul_mat.weight_format check accepts the plain or the packed k-quant code instead of one.
  • dispatch/command counts are lower bounds where an unfolded residual legitimately adds an ADD.

Totals at this pin

hrx-backend-test: 59 passed, 0 failed, 7 known-fail, 0 unexpected-pass, 66 total   (exit 0)
test-hrx-ops:     2 passed, 0 failed, 2 total   (237 device cases skip without a device)

known-fail: #533 x4 (bw220's — kernel/registration side, left to them), #534 x1, #445 x2
(qwen_matmul, lowtoken_residual, both with the findings above written up rather than papered over).

🤖 Generated with Claude Code

…a8ba5)

The three #445 rows and the two ggml-org#533 rows were ruled against `af04c9f2`/`851fa6c8`. This is the same pass
re-done at **fork tip `7ca8ba5a` + hrx-system `82804197bc`** (the engine main pair), with the verdicts and the
evidence that produced them.

## Verdicts at this pin

| row | verdict | evidence |
|---|---|---|
| `qwen_router_top8_dispatch` | **green** | the descending-order router (explicit route count **33**) and a 16-expert logits tensor are claimed on this pin — the case asserted both were refused. Route-id binding length is `ggml_nbytes(route_ids)`, which is what the command reports (`ne0=8, ne1=4, nb1=512 → 1568`). |
| `qwen_matmul_dispatch` | still `known_fail("#445")` | the row matrix moves in four independent places at once: dispatch count (a row whose residual is not folded plans projection + standalone ADD), the kernel pair (a two-token Q6_K projection still goes to the generic `ggml_mul_mat_f32_f32_wmma`, not the kquant decode family), the weight-format code (plain `6` vs packed `46` for the same route), and the SwiGLU routes further down. Each fix reveals the next one, so it is left red with the findings above rather than rewritten in one blind pass. |
| `lowtoken_residual_dispatch` | still `known_fail("#445")` | the fused-vs-unfused distinction is **not readable from the command list** any more: `tokens=1 q4_K fused_exp=1` and `tokens=1 q4_K fused_exp=0` both plan `ggml_kquant_mul_mat_decode_f32/b4` plus (in the unfused case) `ggml_binary_f32/b3`. Whether the residual is folded once must come from the kernel's binding semantics, not from the plan. |
| `qwen_attention_postprocess_dispatch` | `known_fail("ggml-org#533")`, re-confirmed | `VERIFY-ERROR: command 0 … bindings=12 … binding query_input value=22 … reads transient value 22 before write` (also `key_input` value 2, `value_input` value 15). |
| `qwen_routed_gate_up_dispatch` | `known_fail("ggml-org#533")`, re-confirmed | `VERIFY-ERROR: command 6 … deps=1 … binding raw_gate value=33 … reads transient value 33 before write by command 7` — a *forward* dependency. |

`gdn_selected_rms_q8_dispatch` (`ggml-org#533`) and `common_mul_mat_id_postops_dispatch` (`ggml-org#533`) behave exactly as
reported there, and `disjoint_transient_plan_packing` (`ggml-org#534`) still plans `arena=512 allocs=2`.

## What else changed in this commit

- `qwen_matmul`: the projection is taken as the **last matmul dispatch** rather than `dispatches.back()`
  (the unfused residual row ends its plan with the standalone ADD), and the expected kernel is now "the
  table's kernel **or** one of our registered matmul routes" (`is_registered_matmul_route`), because the
  specialised registrations — q6_k packed token1 final projection, kquant decode, wmma/decode — gate on
  shape and the registry decides between them. Pinning one of them for every row was wrong.
- the `ggml.mul_mat.weight_format` check accepts the plain or the packed k-quant code instead of one.
- dispatch/command counts are lower bounds where an unfolded residual legitimately adds an ADD.

## Totals at this pin

```
hrx-backend-test: 59 passed, 0 failed, 7 known-fail, 0 unexpected-pass, 66 total   (exit 0)
test-hrx-ops:     2 passed, 0 failed, 2 total   (237 device cases skip without a device)
```

known-fail: `ggml-org#533` x4 (bw220's — kernel/registration side, left to them), `ggml-org#534` x1, `#445` x2
(`qwen_matmul`, `lowtoken_residual`, both with the findings above written up rather than papered over).

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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