📜  运行时错误:CUDA 内存不足. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:15.878000             🧑  作者: Mango

代码示例1
Your GPU is out of memory, 
reduce your batch size until your code runs without this error

# also, find any processes using gpu and kill them with: 
nvidia-smi
kill -9 [pid]