Conversation
…ar that Rsvd is the common truncated randomized SVD
…e between Svd and Gesvd
0ec4111 to
a8ee89c
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #744 +/- ##
==========================================
+ Coverage 32.35% 36.88% +4.53%
==========================================
Files 215 215
Lines 36363 33600 -2763
Branches 14597 13561 -1036
==========================================
+ Hits 11764 12395 +631
+ Misses 22659 19203 -3456
- Partials 1940 2002 +62 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 519cbf74b1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (is_U) { | ||
| U = Matmul(Q, U); | ||
| out.push_back(U); |
There was a problem hiding this comment.
Guard GPU U back-projection behind applyQ
When keepdim >= min(m, n) (or block-level svalnum exceeds block rank), the code skips randomized projection and leaves Q uninitialized, but the GPU branch still executes U = Matmul(Q, U). This introduces invalid behavior specifically on CUDA runs for non-truncated RSVD (and for truncated symmetric RSVD too, since it calls this path), whereas the CPU path correctly checks applyQ first.
Useful? React with 👍 / 👎.
|
To use Codex here, create a Codex account and connect to github. |
Implementing Rsvd for symmetric tensors
Cleaning up Svd, Gesvd, Rsvd and unifying the implementations