Open Robot-2020 opened 2 years ago
When I evaluate ogbl-biokg by cpu There is an error saying that: RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:75] data. DefaultCPUAllocator: not enough memory: you tried to allocate 3917082528 bytes. Buy new RAM!
How can I resolve it? Please!
Hi! I haven't encountered the ninja issue you post here. It looks like ninja reports some internal compiler error
?
For the memory error, it tries to allocate around 3GB memory. I think that's a expected behavior for large datasets like ogbl-biokg. Maybe you don't have enough memory in your machine?
I'm thinking about whether the ninja issue was caused by the gcc version? Unfortunately I'm just a normal student in Chineses college, I can only borrow the school's server. No permission to update gcc. So, when I change to run the code on the Windows, I can successfully trained the model. But in the test result, the report memory is not enough error. I have checked it, it still has about 10GB memory, so, I don't know why it reports this error. By the way, How can I do it so I can only test a part to get the result? Thank you so much.
I also met something wrong about ninja on a windows10 +python3.7+torch1.8 machine
@Robot-2020 Hi~ Recently, I met the same issue as yours. I think the problem is caused by the gcc version. My original gcc version in my lab server machine is 5.3. Now I use anaconda to install gcc & g++ (their version is 7.3). And now there is no such issue:) Maybe you can refer to this website.
Hi, Doctor. I meet some problems when I run the code on the Linux. I do really need your help. Could you help me? It really troubles me a lot.