-
Notifications
You must be signed in to change notification settings - Fork 3k
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
GCMC with 350M edges CUDA OOM #957
Comments
Hi @burness , the memory consumption of GCMC is mainly from storing the user and mlog features. You have 3.6M users and 67K mlogs. The default hidden size is 500 so storing user features alone takes ~7GB. You also have 4 types of relations so that number needs to be multipled by 4. Two possible solutions:
|
Hi @jermainewang Thanks for your solution mentioned above. I will change the BTW, the data reader in the gcmc example has very low performance and I change some code to speedup. But it still need 40mins or more to read data. |
❓ Questions and Help
Hi DGLer,
I use your gcmc code to train on my dataset and build an graph as shown in the figure
.
Maybe the graph is too large to fit in one 1080ti card.
So I change the ctx to use 8 1080ti cards, but I found that your code can't use the multi cards although you have the config with ctx. But you only use gpu0 in https://github.com/dmlc/dgl/blob/master/examples/mxnet/gcmc/train.py#L223.
Is there any multi cards solution or distributed solution?
The text was updated successfully, but these errors were encountered: