-
-
Notifications
You must be signed in to change notification settings - Fork 216
Utilize ChainRulesCore thunks #966
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
09328d6
Don't force unthunking of ChainRulesCore thunks
oschulz f91141a
Use @_adjoint_keepthunks where appropriate
oschulz 1477280
Use wrap_chainrules_output in unthunk_tangent
oschulz 4befdf5
Fix unthunk_tangent for array of thunks
oschulz 660cf4c
Don't unthunk explicitly in unbroadcast
oschulz 7938e04
Define unthunk_tangent for IdDict to support Params
oschulz d6dec7d
Make unthunk_tangent for IdDict non-differentiable
oschulz 691c9ac
Revert "Don't unthunk explicitly in unbroadcast"
oschulz e8f0ce0
Fix problems related to unthunk_tangent for IdDict
oschulz d0e106f
Resolve duplicate rrule for unthunk_tangent with IdDict
oschulz f03a041
Make unthunk_tangent recurse into arrays
oschulz b371c3a
Fix tests
pxl-th d621287
Unthunk in collect(::Generator)
pxl-th e9c7805
Update deps
pxl-th dcb3eb0
Disable thunks for 2nd order AD
pxl-th 90c4d6e
Temporary use fork of CRC
pxl-th a046f59
Remove hook
pxl-th fba8860
Fix
pxl-th 8e6c2f5
Cleanup
pxl-th f074ba2
Up deps
pxl-th d7ecca6
Cleanup
pxl-th 2d21e2e
Remove extra unthunk_tangent
pxl-th File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -269,5 +269,4 @@ end | |
| @test sgs[d.b] ≈ fill(1.f0, size(d.b)) | ||
| end | ||
|
|
||
|
|
||
| end | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.