Skip to content
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

Question about CPU usage #14

Open
SejeongPark8354 opened this issue Jan 6, 2023 · 1 comment
Open

Question about CPU usage #14

SejeongPark8354 opened this issue Jan 6, 2023 · 1 comment

Comments

@SejeongPark8354
Copy link

SejeongPark8354 commented Jan 6, 2023

First of all, thank you for sharing your wonderful research.
After I run the Pocket2Mol, I have a question about CPU usage.
I think that Pocket2Mol doesn't require large memory in GPU but uses CPU a lot.
Is there any reason for specifying Pocket2Mol use CPU a lot rather than GPU?
Wouldn't it cause a problem if I change the code to run process mainly using GPU?

@pengxingang
Copy link
Owner

Thanks for your interest in the work. Some parts of the algorithm use multiple CPUs , e.g. calculation of the KNN graph edges. However, actually we found that the sampling also worked well if we restricted it only on one CPU using the command taskset -c 0 python samplexxx.py. It seemed that the number of CPUs did not influence sampling too much. So we actually recommend using one CPU for sampling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants