torch / cutorch

A CUDA backend for Torch7
Other
337 stars 208 forks source link

out of memory #838

Open Malhabib opened 5 years ago

Malhabib commented 5 years ago

THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-5292/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory /home/alhabib/torch/install/bin/lua: ./densecap/optim_updates.lua:69: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-5292/cutorch/lib/THC/generic/THCStorage.cu:66 stack traceback: [C]: in function 'new' ./densecap/optim_updates.lua:69: in function 'adam' train.lua:123: in main chunk [C]: in function 'dofile' ...abib/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: in ? I'm using Ubuntu 16.04 , Nvidia GTX 745, any idea how to solve, even when i tried to use CPU it gives me the same error....Thaks