question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support (nonsymmetric) np.linalg.eig on GPU

See original GitHub issue

Dear jax team,

this is just a friendly bump on the implementation of eigendecomposition and batched SVD on GPU. Are you planning on implementing these?

Should I want to implement it myself, would I be able to do it with the primitives in jax.lax, or would I have to hook up a new part of cuSolver? I am willing to spend the time as I would benefit a lot from these features, but I have no experience with expanding jax and would not know where to look.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

9reactions
mganahlcommented, Sep 18, 2020

Hi! Just popping up to ask if there is any progress regarding eig. I’m currently preparing a JAX implementation of implicitly restarted arnoldi (non-symmetric operators). The working CPU implementation relies on jax.numpy.linalg.eig to compute eigenvalues of the Hessenberg matrix returned by Arnoldi. Would be great to have this run on GPU eventually.

5reactions
drscookcommented, Sep 29, 2022

+1 for GPU-support for nonsymmetric eig to allow GPU-enabled numpy.roots

Read more comments on GitHub >

github_iconTop Results From Across the Web

numpy.linalg.eig() - JAX documentation
Compute the eigenvalues and right eigenvectors of a square array. LAX-backend implementation of numpy.linalg.eig() . This differs from numpy.linalg.eig() ...
Read more >
mxnet.np.linalg.eig — Apache MXNet documentation
eigenvalues of a non-symmetric array. ... This function differs from the original numpy.linalg.eig in the following way(s): * Does not support complex input ......
Read more >
tf.linalg.eigh extremely slow on GPU - normal? - Stack Overflow
Can one somehow fix this or do I have to switch from GPU to CPU for this operation? To the code: the imports...
Read more >
numpy.linalg.eig — NumPy v1.24 Manual
If the eigenvalue computation does not converge. See also. eigvals. eigenvalues of a non-symmetric array. eigh.
Read more >
Solving Large non-Symmetric Eigenvalue problems using GPUs
of basis vectors of the subspace to increase support in the region of the desired eigenvectors. The algorithm for a given matrix A...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found