-
Notifications
You must be signed in to change notification settings - Fork 15
perf(autojac): Add optimize_gramian_computation to jac_to_grad #525
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 14 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
ae6be7d
WIP: add gramian-based jac_to_grad
ValerianRey 8bdf512
Update changelog
ValerianRey aaf2544
Use deque to free memory asap
ValerianRey 64b06ad
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 745f707
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 5eb77f9
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 8f65caa
Use gramian_weighting in jac_to_grad
ValerianRey 6fe15a4
Merge branch 'main' into optimize_jac_to_grad
ValerianRey d5cb5c2
Merge branch 'main' into optimize_jac_to_grad
ValerianRey f986950
Only optimize when no forward hooks
ValerianRey 4cf5cbb
Make _gramian_based take aggregator instead of weighting
ValerianRey add549c
Add _can_skip_jacobian_combination helper function
ValerianRey 453971a
Add test_can_skip_jacobian_combination
ValerianRey 9d4c41c
Optimize compute_gramian for when contracted_dims=-1
ValerianRey 48cd70b
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 8f2660d
Use TypeGuard in _can_skip_jacobian_combination
ValerianRey fc9bbcf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3f9a6d1
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 9d9cbf0
Merge branch 'main' into optimize_jac_to_grad
ValerianRey b5ca226
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0baa914
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 2ed1d7c
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 86be778
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4ace19e
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 2a84bef
Add ruff if-else squeezing
ValerianRey 4b6209c
Merge branch 'main' into optimize_jac_to_grad
ValerianRey 1b1c660
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b714253
Many fixes of problems coming from the merge
ValerianRey 2bb8ab1
Fix _can_skip_jacobian_combination
ValerianRey 63c9dde
Make check_consistent_first_dimension work with Deque
ValerianRey 0f85811
Improve test_can_skip_jacobian_combination
ValerianRey 9d55215
Add optimize_gramian_computation param and add error when not compatible
ValerianRey 456510b
Fix overloads (partly) and add missing code coverage
ValerianRey 55c69d1
Fix overloads
ValerianRey 8a401a3
Fix docstring
ValerianRey b4bf7c4
fixup what @ValerianRey did wrong
PierreQuinton 24a991a
Improve error message
ValerianRey 2ea44a4
Improve docstring
ValerianRey 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
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.