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) #10

Open
KevinQian97 opened this issue Sep 9, 2018 · 0 comments
Open

RuntimeError: cuda runtime error (2) #10

KevinQian97 opened this issue Sep 9, 2018 · 0 comments

Comments

@KevinQian97
Copy link

Hi,thanks for your code.
I am having a weird problem about GPU memory.
I have four Titanx GPU, but when I use your code for training Pascal data set , even if I have reduced the batch size to 1 and use mGPUs, it still gives feed back about

RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1513363039688/work/torch/lib/THC/generic/THCStorage.cu:58

Would you mind tell me why? I am not sure if that's because some part of the code has some problem>
And my cuda version is 8.0, pytorch 0.3.0,

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

1 participant