Skip to content

Try to do SVD truncation on GPU with _ind_intersect#148

Merged
lkdvos merged 6 commits into
mainfrom
gpu-intersect
Jan 8, 2026
Merged

Try to do SVD truncation on GPU with _ind_intersect#148
lkdvos merged 6 commits into
mainfrom
gpu-intersect

Conversation

@kshyatt

@kshyatt kshyatt commented Jan 8, 2026

Copy link
Copy Markdown
Member

I think this should be ok because the svd values should always be sorted (and the tests passed) but I'm not sure if that continues to be true for all the block-sparse tensors that may rely on this.

@kshyatt
kshyatt requested a review from lkdvos January 8, 2026 06:24
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Your PR no longer requires formatting changes. Thank you for your contribution!

@kshyatt kshyatt mentioned this pull request Jan 8, 2026

@lkdvos lkdvos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say that if the tests pass here, we can revert the GPUArrays source thing and then just force-merge, since these changes have nothing to do with this PR to begin with (but it would be nice to verify that this implementation actually works).

I have no strong opinions on merging this before or after a tag.

Comment thread src/implementations/truncation.jl Outdated
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
@lkdvos
lkdvos enabled auto-merge (squash) January 8, 2026 15:20
@lkdvos
lkdvos disabled auto-merge January 8, 2026 15:21
@lkdvos

lkdvos commented Jan 8, 2026

Copy link
Copy Markdown
Member

test failure is unrelated, will remove the GPUArrays source and merge this.

@lkdvos
lkdvos merged commit f0c5c50 into main Jan 8, 2026
7 of 9 checks passed
@lkdvos
lkdvos deleted the gpu-intersect branch January 8, 2026 16:00
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

Successfully merging this pull request may close these issues.

2 participants