Replies: 1 comment 5 replies
-
I'm not sure exactly when you measured the free RAM relative to when the error occurred, but the error just reports how much RAM torch was trying to allocate in the call that ran out of RAM. It's likely that there were already other tensors in RAM taking up enough space that the 87 gigs couldn't be allocated. It's also possible that if you have other software running at the same time, less RAM was free when topaz was running. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Everyone, I tried to run denoise3d with (-d -1) to use cpu only. The MRC file is 10221440500 voxels. I got the following error message:
RuntimeError: [enforce fail at alloc_cpu.cpp:117] err == 0. DefaultCPUAllocator: can't allocate memory: you tried to allocate 87205216256 bytes. Error code 12 (Cannot allocate memory)
But free -h showed the following:
total used free shared buff/cache available
Mem: 250Gi 136Gi 110Gi 69Mi 4.7Gi 112Gi
Swap: 31Gi 282Mi 31Gi
free memory is 110G, larger than 87,205,216,256 bytes.
Any suggestions to make it run?
Thanks.
Liguo
Beta Was this translation helpful? Give feedback.
All reactions