-
Notifications
You must be signed in to change notification settings - Fork 126
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
Tensor Decomposition Using GPU #14
Comments
Did you check that the computation is indeed done on GPU? It also depends on the size (and rank) of your tensors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be a stupid question but I couldn't find a solution anywhere.
When I use gpu to run non-negative decompositions for a random tensor, it is much slower than using a cpu (for various sizes). For reference it takes 0.4 seconds on cpu while it takes more than 10 seconds on gpu to run a single decomposition (size 3x2x2, but the same holds for 100 x 100 x 1000). I have pytorch and cuda 11.1 as well as cudnn on my computer and my gpu is rtx 3070 so it should theoretically beat my cpu?
The text was updated successfully, but these errors were encountered: