RuntimeError: [enforce fail at C:\cb\pytorch_1000000000000\work\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 52428800 bytes.

#2
by LordYoda - opened

The error is: "RuntimeError: [enforce fail at C:\cb\pytorch_1000000000000\work\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 52428800 bytes."
I'm getting this error whenever I try to run the model.
Is this usual? It doesn't tell me any way to allocate memory.

Windows + R and search this "SystemPropertiesAdvanced.exe" without ",
In the Performance tab click Settings and go to Advance In the Virtual Memory tab click Change, and
turn off the "Automatically manage paging file size for all drives" Set all your Drive to System Managed Size click Set then Restart your device.

alright, that solved that issue.

Sign up or log in to comment