snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 398 forks source link

memory error #178

Closed Jay7 closed 3 years ago

Jay7 commented 3 years ago

Hello, when I run the file: ogb-master/examples/lsc/mag240m/gnn.py, this error (RuntimeError: [enforce fail at CPUAllocator.cpp:67] . DefaultCPUAllocator: can't allocate memory)appears when converting the adjacency matrix(gnn.py line 61) I want to ask, is there some way to run this code while reducing memory usage? For example, is it possible to run on 64G memory? Thank you very much!

weihua916 commented 3 years ago

See https://github.com/snap-stanford/ogb/discussions/121