我正在使用Python运行一个PyTorch自然语言处理模型,但是一直遇到以下奇怪的错误:
RuntimeError: [enforce fail at ..\c10\core\CPUAllocator.cpp:75] data. DefaultCPUAllocator: not enough
memory: you tried to allocate 364742208 bytes. Buy new RAM!
考虑到我有16GB的内存,但只分配了0.3GB,所以我不理解这个内存错误是为什么。
如有任何帮助,将不胜感激。