bfp test debt: backward staging-width fixtures + permutation-aware reduce fixtures
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reading the existing forward LayerNorm fixture, then inspect the GEMM-family and norm backward tests and the meanOverTrailingAxesBfp and varianceBiasedOverTrailingAxesBfp reduce tests. Add backward fixtures covering two staging widths and permuted-shape reduce fixtures with storage-order golds; the suite should exercise both blind spots.
Written by the indexing model from the issue text.
Description
Follow-up from BFP epic PR5 (#435, review ledger "known deferrals" 3 + task-1 deferral). Two suite blind spots, both "tests missing, code believed correct" — one test-debt issue.
1. Epic-wide: no backward test exercises FLOAT32-operand staging WIDTHS
When a FLOAT32-stored operand enters the funnel under ARITH_BFP, it is staged (quantized) at the op's anchor widths (outputQ forward / propLossQ backward — the R-N1 rule). The width effect of that staging is pinned exactly once, in a forward LayerNorm fixture. A regression in backward staging (e.g. anchor mix-up propLossQ↔outputQ, or width fallback to a default) would keep the whole suite green.
Scope: targeted fixtures in the GEMM-family and norm backward tests whose gold values are sensitive to the staged width (two widths whose results differ, per the forward LN-B precedent).
2. Reduce BFP arms: no permutation-aware fixture
meanOverTrailingAxesBfp / varianceBiasedOverTrailingAxesBfp are tested only with identity orderOfDimensions. BFP blocking binds to storage order, and the zero-copy-transpose hazard is THE structural BFP trap — yet no reduce test exercises a transposed view.
Scope: reduce fixtures on permuted shapes (storage order != logical order) with golds derived from the storage-order walk.
Part of the #410 epic hygiene trail.
🤖 Generated with Claude Code
- Dominant language
- C
- Stars
- 2
- Forks
- 3
- Avg merge
- 13h 6m
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from es-ude/OnDeviceTraining
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
es-ude/OnDeviceTraining#549 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
es-ude/OnDeviceTraining#547 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
es-ude/OnDeviceTraining#536 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
es-ude/OnDeviceTraining#478 ·
Maintainers usually reply within 1 day
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
es-ude/OnDeviceTraining#459 ·
Maintainers usually reply within 1 day
All issues in es-ude/OnDeviceTraining
Similar issues
-
issue: bug report
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
BasedHardware/omi#26486 ·
Maintainers usually reply within 1 day
-
The LLVM object can build before collection_config.h is generatedPossibly taken @Vonng claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
aws/pgcollection#51 ·
-
area/docdb kind/failing-test priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
yugabyte/yugabyte-db#39462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
libreswan/libreswan#3185 · 1 comment ·
Maintainers usually reply within 1 day