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

Bugfix: missing cholesky_lower chainrule for ReverseDiff #285

Merged
merged 6 commits into from
Aug 16, 2023
Merged

Conversation

yebai
Copy link
Member

@yebai yebai commented Aug 16, 2023

Fixes TuringLang/Turing.jl#2018 (comment). The extension defines its own chol_lower functions without proper imports, which couldn't be found by ReverseDiff.

It is unclear why this issue only affects Julia 1.7.

@yebai yebai requested a review from torfjelde August 16, 2023 12:42
@yebai
Copy link
Member Author

yebai commented Aug 16, 2023

Fixing the issue on Julia 1.7 breaks compat with Julia 1.6. It's weird!

EDIT: f0d098c fixed the Julia 1.6 issue, but I don't know why since it is only relevant for Julia versions >= 1.9.

@yebai yebai requested a review from sunxd3 August 16, 2023 13:18
@yebai yebai merged commit a41f840 into master Aug 16, 2023
22 checks passed
@delete-merged-branch delete-merged-branch bot deleted the yebai-patch-2 branch August 16, 2023 14:56
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.

2 participants