You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we check in advance whether an SVD calculation can fit into the memory, so that I can fall back to jax.pure_callback and call np.linalg.svd in NumPy? Trying to catch an exception isn't very convenient (if not possible) in a JIT'ed function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Let's say you want to SVD on a skinny matrix.
That works as expected, but if we make the matrix sufficiently tall
How can we check in advance whether an SVD calculation can fit into the memory, so that I can fall back to
jax.pure_callback
and callnp.linalg.svd
in NumPy? Trying to catch an exception isn't very convenient (if not possible) in a JIT'ed function.Beta Was this translation helpful? Give feedback.
All reactions