Skip to content

FullReduceTransposeReshape rewrite#2631

Open
Pangoraw wants to merge 1 commit into
mainfrom
pb/fix-full-reduce2
Open

FullReduceTransposeReshape rewrite#2631
Pangoraw wants to merge 1 commit into
mainfrom
pb/fix-full-reduce2

Conversation

@Pangoraw

Copy link
Copy Markdown
Collaborator

Closes EnzymeAD/Reactant.jl#3039.

The pattern was invalid if the transformation was not the same on both sides of a binary op.

@wsmoses wsmoses left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM in a quick look but you should also have avik give it a once over too

@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.12%. Comparing base (8d04eb0) to head (57d9383).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2631      +/-   ##
==========================================
- Coverage   31.73%   31.12%   -0.62%     
==========================================
  Files         227      227              
  Lines       44908    44870      -38     
==========================================
- Hits        14253    13964     -289     
- Misses      30655    30906     +251     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pangoraw
Pangoraw requested a review from avik-pal July 16, 2026 18:22
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.

Silent wrong result with raise_first=true: fused sum(dest .* weights) disagrees with the (correct) dest the same compiled call wrote

2 participants