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

Always out of memory, but available GPU memory is 16GB! #2

Open
binbinmeng opened this issue Jun 27, 2018 · 1 comment
Open

Always out of memory, but available GPU memory is 16GB! #2

binbinmeng opened this issue Jun 27, 2018 · 1 comment

Comments

@binbinmeng
Copy link

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

@Yijunmaverick
Copy link
Owner

@binbinmeng I modified the test.py by adding volatile=True and find that it can test large image size (e.g., 1024) now. Have a try.

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