Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break recursion #579

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Break recursion #579

merged 1 commit into from
Nov 11, 2024

Conversation

wsmoses
Copy link
Contributor

@wsmoses wsmoses commented Nov 4, 2024

No description provided.

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.04%. Comparing base (07cf4a6) to head (dac0229).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #579      +/-   ##
==========================================
+ Coverage   84.00%   84.04%   +0.03%     
==========================================
  Files          12       12              
  Lines        9172     9174       +2     
==========================================
+ Hits         7705     7710       +5     
+ Misses       1467     1464       -3     

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

@dkarrasch
Copy link
Member

Is there a (simple) case that triggered indefinite recursion? Perhaps, we should add that as a test?

@wsmoses
Copy link
Contributor Author

wsmoses commented Nov 5, 2024

Extremely not reduced, but EnzymeAD/Enzyme.jl#1134

The issue was introduced by c402d09

cc @gbaraldi and @vtjnash who discussed soltuions with me yesterday

@wsmoses
Copy link
Contributor Author

wsmoses commented Nov 11, 2024

ping for a review. @gbaraldi confirmed it fixes the issue at hand

@ViralBShah ViralBShah merged commit 14333ea into JuliaSparse:main Nov 11, 2024
10 checks passed
@ViralBShah
Copy link
Member

PR for Julia: JuliaLang/julia#56531

@wsmoses wsmoses deleted the br branch November 11, 2024 22:56
@gbaraldi
Copy link

This also needs a backport to 1.11

@wsmoses
Copy link
Contributor Author

wsmoses commented Nov 12, 2024

and also to 1.10

@dkarrasch
Copy link
Member

This also needs a backport to 1.11

WIP 298f5e1

@vtjnash
Copy link
Contributor

vtjnash commented Nov 14, 2024

Is there a (simple) case that triggered indefinite recursion?

There never was any, but Enzyme modeled the previous code wrong, resulting in crashes there:
EnzymeAD/Enzyme.jl#1134 (comment)

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.

5 participants