Jax Eigen Value Decomposition for a NOT large matrix #16075
Unanswered
bethejulia
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there
I am Using v2-8 TPU and have a code to diagonalize a symmetric Matrix.
It does Diagonalization of Symmetric Hermitian until when N=7000 (N is the size of Symm.Matrix)
But when N=8000 it crashed and give a Memory Error:
From the Documentation (https://jax.readthedocs.io/en/latest/changelog.html):
"The implementation of singular value decomposition (SVD) and symmetric/Hermitian eigendecomposition should be significantly faster on TPU, especially for matrices above 1000x1000 or so. Both now use a spectral divide-and-conquer algorithm for eigendecomposition (QDWH-eig)."
So Do I want to use v3-8 or greater TPU (like POD) to diagonalize a Matrix where N=8000 or beyond ?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions