sped up Eig Decomposition w/ cupy 40 min => 40 secs#42
sped up Eig Decomposition w/ cupy 40 min => 40 secs#42Eugene29 wants to merge 5 commits intorampasek:mainfrom
Conversation
|
Thanks for the experiment and reproduction, the speedups look impressive! On the other hand, hardcoding Instead, users should decide on their own whether they'd like to use it on the hardware they have. Perhaps there is a way to re-write those functions in the device-agnostic manner as suggested by cupy here in the docs? |
|
Sorry for the delay. I worked on the device-agnostic part. Now it can run either on GPU or CPU. By default, the preprocessing will be done in GPU, but it will be done in Numpy(CPU) if you do not have a GPU or if you wish to override the default behavior by passing |


Dear Authors,
Hi, I'm a student from UCSD, and as I try to extend on you guys' GPS architecture for one of my projects, I was able to shorten down the preprocess by ~60 times.
I have checked that the eigenvectors are approximately the same up to a sign flip and the np.sum difference between eigvalues are negligble. Furthermore, I was also able to reproduce one of the results (peptides-struc) w/ this sped up preprocess. Hope this helps!
One question though is that I noticed for the L_heat, that you guys are using
normalization=None. Is this as intended?experiments
checking eigvectors from np.eigh and cp.eigh(two lists in a contiguous manner)
result reproduced
