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

improve inference/code generation #138

Merged
merged 1 commit into from
Mar 2, 2024
Merged

Conversation

aplavin
Copy link
Member

@aplavin aplavin commented Feb 26, 2024

Hard to make a minimal reproducer for this, but the setall change makes autodiff (Enzyme) work in some cases it didn't before.

Draft for now, will possibly add more similar changes soon.

@aplavin aplavin requested review from jw3126 and removed request for jw3126 February 28, 2024 02:39
Copy link
Member

@jw3126 jw3126 left a comment

Choose a reason for hiding this comment

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

Feel free to merge if it helps your usecase. A test would be nice, but I understand that it is too hard to create an MWE. I have no intuition whether the new or old implementation is better. But maybe add a comment that links to this PR.

@jw3126
Copy link
Member

jw3126 commented Feb 28, 2024

If you had a reproducer, might also be worth opening an issue in julia.

@aplavin aplavin marked this pull request as ready for review March 2, 2024 12:16
@aplavin
Copy link
Member Author

aplavin commented Mar 2, 2024

Interestingly, this is the only case I found in my cursory playing with Accessors + Enzyme. That's a good sign! :)

@aplavin aplavin merged commit 9a35fd8 into JuliaObjects:master Mar 2, 2024
6 of 8 checks passed
@aplavin aplavin deleted the stable branch March 2, 2024 12:19
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