Accelerating repeated eigenvalue searches

Not sure why this happens, but you can disable the multithreading that is within KrylovKit using KrylovKit.disable_threads(). I assume there is some conflict between the threading of BLAS in the matrix vector multiplication, and the threading in KrylovKit, although the latter is purely restricted to the “native KrylovKit” parts of the code where there are no BLAS calls or function calls to the linear operator going on.

1 Like