What algorithm is used for eigh?

Hello,

I would like to know exactly how are the eigenvalues and eigenvectors computed when calling torch.linalg.eigh. I tried to look into the C source code but I could not find the information, hence my post.

Thanks in advance !

1 Like

On the CPU LAPACK would be used as seen here on the GPU either MAGMA or cuSOLVER would be used as seen here.

1 Like

Thank you very much !