Skip to content

Document intermittent HRX MUL_MAT f32 m=1 n=1 k=2048 failure as a known issue - #378

Merged
bong-water-water-bong merged 8 commits into
mainfrom
copilot/hrx-intermittent-mul-mat-error-fix
Oct 10, 2026
Merged

bong-water-water-bong merged 8 commits into
mainfrom
copilot/hrx-intermittent-mul-mat-error-fix

Conversation

Copilot AI commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

test-backend-ops -b HRX0 -o MUL_MAT fails intermittently (about 1 run in 40) on MUL_MAT(type_a=f32,type_b=f32,m=1,n=1,k=2048), kernel common.mul_mat.f32_f32_decode. The failure is already present at the unmodified fork tip e44c9d01a4d5. The kernel is in the llama.cpp fork's motifs/dequant.loom, not in this repo, so this PR does not fix it.

  • KNOWN-ISSUES.md: new engine#370 entry
    • Records the failing case and kernel, plus the observed failure rates from strixhalo on 2026-10-09 (hrx-system 98d05d94, performance mode).
    • Notes that the failure also reproduces without the quant PRs. The error size and low rate suggest a race or an uninitialised read in the shared decode path, not rounding. This is not confirmed.
    • Says the fix belongs in the fork and should be followed by a pin bump.
    • Tells readers to treat a single failure of this case as a flake, not a regression.

The issue should stay open until the fork fix lands and the pin is bumped.

Co-authored-by: bong-water-water-bong <[email protected]>
Copilot AI changed the title [WIP] Fix intermittent MUL_MAT f32 error on common.mul_mat.f32_f32_decode Document intermittent HRX MUL_MAT f32 m=1 n=1 k=2048 failure as a known issue Oct 9, 2026

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Matches engine #370's measurements (1/40 at e44c9d0, 1/28 at the quant tip, 0/40 + 10/10 alone); the assessment and the pin-bump note are right. Approving.

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit b0139cd)

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

370 - Partially compliant

Compliant requirements:

  • Document the intermittent MUL_MAT f32 m=1 n=1 k=2048 error on common.mul_mat.f32_f32_decode
  • Record the failure case, kernel, and observed failure rates
  • Note that the failure is pre-existing and not introduced by the quant PRs
  • Indicate that the fix belongs in the fork and should be followed by a pin bump
  • State that readers should treat a single failure as a flake, not a regression

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Documentation completeness

The documentation correctly records the issue and its context, including the affected case, kernel, and failure rates. It accurately notes that the issue is pre-existing and not introduced by the current changes, and that the fix should be implemented in the fork. The documentation is clear and sufficient for the stated purpose.

## engine#370 — intermittent MUL_MAT f32 m=1 n=1 k=2048 error on `common.mul_mat.f32_f32_decode`

**Status: OPEN, root cause not fixed in this repository.** The kernel lives in the llama.cpp fork
(`motifs/dequant.loom`, fork tip e44c9d01a4d5), which is not vendored here, so no engine-side change can fix it.

**Affected:** `test-backend-ops -b HRX0 -o MUL_MAT`, case `MUL_MAT(type_a=f32,type_b=f32,m=1,n=1,k=2048)`,
kernel `common.mul_mat.f32_f32_decode`. Observed on strixhalo 2026-10-09 (hrx-system 98d05d94, performance mode):
1 failure in 40 runs on the unmodified fork tip (ERR 0.0037); 1 failure in 28 full-suite runs at the quant stack
tip (ERR 0.0102); 0 failures in 40 further MUL_MAT runs and 10/10 running the case alone.

**Assessment:** pre-existing, not introduced by the quant PRs. The error magnitude and ~1-in-40 rate point to a
race or an uninitialised read in the shared decode path rather than rounding. Fix belongs in the fork; bump the
pin once it lands. Treat a single failure of this case as a flake, not a regression.

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 2186415

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 6229d3d

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit e03c82d

@bong-water-water-bong
bong-water-water-bong marked this pull request as ready for review October 10, 2026 15:49
@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 10, 2026 15:49
@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 6f8e99a

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit b0139cd

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HRX: intermittent MUL_MAT f32 m=1 n=1 k=2048 error on common.mul_mat.f32_f32_decode (about 1 in 40 runs at fork tip e44c9d0)

2 participants