This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Repository navigation
Block sparse backend - #471
Merged
mganahl merged 301 commits intoFeb 18, 2020
Merged
Conversation
Function avoids explicit full fusion of all legs, and instead only keeps track of the unique charges and their degeneracies upon fusion
re-intorduced BlockSparseTensor.dense_shape new method for fusing charges and degeneracies (faster for very rectangular matrices)
fuse_charges added
forgot to fix fusing order of charges and degeneracies
…orNetwork into block_sparse_merged
… block_sparse_merged
…ogle#427) (google#467) * BaseNode / Edge class text input protection added (google#423) BaseNode class - Add protection to name, axis_names *Protected in 3 place *Initialize stage - __init__ *Function use setting - set_name / add_axis_names *Property - Add @Property to name to protect direct adding node.name = 123 Edge class - Add protection to name *Protected in 3 place *Initialize stage - __init__ *Function use setting - set_name *Property * BaseNode / Edge class text input protection code revise (google#423) *if type(name) != str *if not isinstance(name, str) *change using type to isinstance to follow pylint * Add eigenvector=True to torch.symeig due to pytorch=1.4.0 release (google#427) Due to pytorch 1.4.0 version release the torch.symeig now return 0-element eigenvector tensor when eigenvectors=False(default) To fix this add the eigenvector=True parameter to where torch.symeig is used *1. pytorch_backend.py - pytorch_backend.eigsh_lanczos *2. pytorch_backend_test.py - test_eigsh_lanczos_1 - test_eigsh_lanczos_2 - test_eigsh_lanczos_reorthogonalize * Update requirements_travis.txt (google#427) remove pytorch version requirement (==1.3.1) and replace it to (>=1.1) Co-authored-by: Chase Roberts <chaseriley@google.com>
transposes are now lazy
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.