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

RuntimeError: cuda runtime error (2) : out of memory at /pytorch/torch/lib/THC/generic/THCStorage.cu:58 #5

Open
Tomingz opened this issue Dec 13, 2018 · 3 comments

Comments

@Tomingz
Copy link

Tomingz commented Dec 13, 2018

ubuntu16.04 ++940mx(2gb)+cuda8.0+py27+pytorch0.3.0post4 .I have changed batch_test=1 in option.py .but it is always out of memory,how to solve it?

@SMZCC
Copy link

SMZCC commented Dec 19, 2018

You can change a computer 😅 2gb GPU is too small

@Tomingz
Copy link
Author

Tomingz commented Dec 21, 2018

@SMZCC I think too

@Tomingz
Copy link
Author

Tomingz commented Dec 21, 2018

I have solved this problem by changing the batch in option.py

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