-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoupledCluster Support #88
Comments
Good question! I believe there are several in-house implementations of CCSD(T) in different groups. But as far as I know, they either are designed for specific problems or have low speedup against the CPU version. We have no plan to add CCSD(T) in the near future. I label this as a feature request, in case anyone in the community want to contribute. |
If you just need some CC code with GPU for matrix multiplication, I'd recommend copy the code from pyscf.cc module, replacing lib.einsum with cupy.einsum (plus some conversion from numpy array to cupy array). This will give you some speedup, but not 1000x as the mean-field modules. I can upload a RCCSD implementation following the pyscf/cc/ccsd.py later. But for other CC functionalities, GPU memory size is a main restriction. I don't think more CC modules will come soon. |
Thank you very much, you both, for your valuable responses. @sunqm I'd really appreciate it if you do this I was just curious about it and indeed I tried before you suggested this. I replaced all Numpy occurrences with Cupy. Luckily it executed without any error but I didn't find any difference and I think it wasn't even using GPU at that time. Now I'll try the trick you mentioned. |
It would be very helpful to discuss other modules such as df ccsd, ccsd_t, and ccsd_rdm with your code. |
@shah-xad Qiming has uploaded his CCSD code. |
Should we expect coupled-cluster support any soon?
The text was updated successfully, but these errors were encountered: