Skip to content

Conversation

@avik-pal
Copy link
Collaborator

stablehlo.reduce has somewhat different semantics compared to julia's reduce. Applying the init values later ensures that the results are consistent

@avik-pal avik-pal force-pushed the ap/fix_reduction branch 2 times, most recently from 2fd8bbd to 53cb340 Compare March 11, 2025 18:24
avik-pal and others added 4 commits March 11, 2025 15:47
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@avik-pal avik-pal requested a review from wsmoses March 11, 2025 22:30
@avik-pal avik-pal merged commit 6936dbe into main Mar 12, 2025
54 of 56 checks passed
@avik-pal avik-pal deleted the ap/fix_reduction branch March 12, 2025 14:02
giordano added a commit that referenced this pull request Mar 12, 2025
wsmoses pushed a commit that referenced this pull request Mar 12, 2025
* Revert "fix: apply init values after reduction (#881)"

This reverts commit 6936dbe.

* Bump version to v0.2.40
@avik-pal avik-pal mentioned this pull request Mar 12, 2025
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.

3 participants