mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #379] [CLOSED] gr_parity: compare the split read (STRATA_GR_V3=1) within float rounding (the test fails with it on) #2608
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2608
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/379
Author: @sergqwer
Created: 10/1/2026
Status: ❌ Closed
Base:
main← Head:pr/gr-parity-v3📝 Commits (1)
684a6d9gr_parity: compare the split read (STRATA_GR_V3=1) within float rounding📊 Changes
1 file changed (+17 additions, -1 deletions)
View changed files
📝
src/kernels/gr_parity.cpp(+17 -1)📄 Description
With
STRATA_GR_V3=1,gr_parityfails on 0.1.31 main:The test compares the multi-token hyper-connection read with the single-token kernel bit for bit. That breaks under v3 for two reasons:
downover (row group, stream) blocks and sums in another order, so it is equal to the reference only within float rounding.lo. The test also compareslo, the default kernels' workspace between down and up. v3 keeps that in shared memory and never writes it.Under v3 the test now checks
R_out,rs,injectandmixedwithin 2e-6 of the largest reference value, and leavesloout. It prints the worst difference when that fails. Without v3 it compares bit for bit, as before.Passes with and without
STRATA_GR_V3=1(RTX 5090). Test-only: no engine code changes.We run v3 on by default in our NVFP4 fork (decode rounds 3-5% shorter there). This PR only makes the test usable for anyone who turns it on.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VZy1yKaDDiA8a7svdwaHio
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.