-
Notifications
You must be signed in to change notification settings - Fork 70
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
Use make_zero
and Ref
inside gradient
#1356
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1356 +/- ##
==========================================
+ Coverage 75.30% 75.34% +0.04%
==========================================
Files 35 35
Lines 10653 10648 -5
==========================================
+ Hits 8022 8023 +1
+ Misses 2631 2625 -6 ☔ View full report in Codecov by Sentry. |
6465846
to
f0fb803
Compare
61f47d5
to
7c3034d
Compare
Can I allow myself a gentle bump for this PR, perhaps followed by a new release? It would be useful for the DifferentiationInterface.jl test suite with non-array objects |
Re tagging a release, I have a draft of what I suggest here: #1334 (comment) Since at present |
On Enzyme v0.11.20:
With this PR:
and also:
Edit: latest version changes the last example to:
Not sure the test is in the right place.
Should probably add the sparse and SVector cases as tests too, will try to figure out where.