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

Optimize AbelianBackend split_legs #49

Open
Jakob-Unfried opened this issue Feb 2, 2025 · 0 comments
Open

Optimize AbelianBackend split_legs #49

Jakob-Unfried opened this issue Feb 2, 2025 · 0 comments
Assignees

Comments

@Jakob-Unfried
Copy link
Member

From comment that was in the code:

# TODO (JH) below, we implement it by first generating the block_inds of the splitted tensor and
# then extract subblocks from the original one.
# Why not go the other way around and implement
# block_views = self.block_backend.block_split(block, block_sizes, axis) similar as np.array_split()
# and call that for each axis to be split for each block?
# we do a lot of numpy index tricks below, but does that really save time for splitting?
# block_split should just be views anyways, not data copies?
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

No branches or pull requests

2 participants