Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory #7

Closed
Santubasa opened this issue Sep 12, 2017 · 1 comment
Closed

Out of memory #7

Santubasa opened this issue Sep 12, 2017 · 1 comment

Comments

@Santubasa
Copy link

Hi,
I was just evaluating the pretrained model and encountered the following issue regarding the memory space of the gpu,
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-1355/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/home/sbasavaraju/torch/install/bin/luajit: ...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:351: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-1355/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'read'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:351: in function <...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:245>
[C]: in function 'read'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/sbasavaraju/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/sbasavaraju/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...e/sbasavaraju/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
scripts/eval_quant_test.lua:63: in main chunk
[C]: in function 'dofile'
...raju/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670

I have Ubuntu 14,04 with graphics model NVIDIA GeForce GTX 470 1 GB , is the graphics not sufficient to run the program ?

Thanks

@xcyan
Copy link
Owner

xcyan commented Sep 12, 2017 via email

@xcyan xcyan closed this as completed Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants