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 error: out of memory #14

Open
Sxx1995 opened this issue Dec 10, 2018 · 2 comments
Open

RuntimeError: CUDA error: out of memory #14

Sxx1995 opened this issue Dec 10, 2018 · 2 comments

Comments

@Sxx1995
Copy link

Sxx1995 commented Dec 10, 2018

I ran the command "python train.py -useGPU -trainMode sl-abot". However, I got such error "RuntimeError: CUDA error: out of memory". How much GPU memory is needed when training the model? The memory of my GPU is 12212MiB. Thanks!

@Jiaqiang-Ruan
Copy link

Hi, I encountered the same problem. Is the problem solved?

@sinhprous
Copy link

please wrap the rankABot calling (https://github.com/batra-mlp-lab/visdial-rl/blob/master/train.py#L409) with with torch.no_grad():

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

3 participants