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

Running experiments completely on CPU #12

Closed
AndyJZhao opened this issue Nov 27, 2020 · 1 comment
Closed

Running experiments completely on CPU #12

AndyJZhao opened this issue Nov 27, 2020 · 1 comment

Comments

@AndyJZhao
Copy link

Hi, thanks for the inspiring work of GCC.

I wonder if there is a way to run GCC pretrain on CPU-only. As it appears to me, there is no easy way (such as specifying an option in the arguments) to do this.

P.S. Installation of RDKit is really painful for servers inside mainland china. Through checking the code, I found that there is no need to install RDKit, all one have to do is to copy the GAT and GCN layer code of DGL to the models/gat.py and models/gcn.py respectively. Please kindly correct me if I was wrong.

Any help is highly appreciated : )

@AndyJZhao AndyJZhao changed the title Running experiments completely on GPU Running experiments completely on CPU Nov 28, 2020
@qibinc
Copy link
Collaborator

qibinc commented Dec 13, 2020

Hi @Andy-Border ,

Thanks for your comment. You're right. CPU-only training and testing are not implemented in this repo though it is possible to do. However, we suggest using GPUs because the matrix factorization in the dataloading consumes CPUs and can bottleneck training if the NNs are on CPU.

Thanks for your comment on RDKit. I've add your suggestion to README.

@qibinc qibinc closed this as completed Dec 24, 2020
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