-
Notifications
You must be signed in to change notification settings - Fork 35
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
Padelpy GPU version? #36
Comments
Hi @AnjaliSetiya, The source code for PaDEL-Descriptor, while open source, is written in Java which, I will not lie, is not a language I have much experience with. I'm going to leave this issue open, hopefully someone with more familiarity with Java and/or PaDEL-Descriptor's source code can chime in (and let us know if this is possible!). Best, |
I don't about GPU programming to accelerate this, which I think would need to be done upstream in the actual PaDEL-Descriptor source code, but what could be done here is using Python's Please let me know if this is of any interest and I can open a PR @tjkessler @AnjaliSetiya |
Hi @JacksonBurns, Please let me know what contributes for a PR. |
@AnjaliSetiya after further investigation I realized that This code snippet takes about 3.5 minutes to run: smiles = ['C'*50]*100
from padelpy import from_smiles
for smi in smiles:
from_smiles(smi) whereas this takes only 11 seconds: smiles = ['C'*50]*100
from padelpy import from_smiles
from_smiles(smiles) As far as a GPU version goes, I'm not sure if that's really possible. I can't even find the source code to begin with, but on top of that the calculation of descriptors is a lot of short, 'bursty' calculations that probably won't benefit much. You could also consider looking at this reimplementation that seems to be much faster. Another compelling option would be to just use PaDel directly, rather than through this Python wrapper, and save the output file to later be read into Python. |
Hello
I want to know if the library is compatible on GPU? The PadelPy library on CPU is quite slow to generate fingerprints of around ~10000 molecules it takes me around 3-4 hours or even more sometimes. if GPU version isn't available, how can the process be speed up?
Please let me know
Thanks
Anjali
The text was updated successfully, but these errors were encountered: