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

Runtime error CUDA out of memory #75

Open
IUUI11 opened this issue Nov 20, 2022 · 5 comments
Open

Runtime error CUDA out of memory #75

IUUI11 opened this issue Nov 20, 2022 · 5 comments

Comments

@IUUI11
Copy link

IUUI11 commented Nov 20, 2022

image
I was trying to run this model on 2080ti,but it always said I do not have enough GPU memory.
There is no other process using GPU
image

@kirill-ionkin
Copy link

Hello, are you sure, you check nvidia-smi, than the procces still working?
I'm checking and rewriting this repo few time and this repo unfortunately has a little bit small mistackes, like CUDA out of memory when evaluating model, because there isn't with torch.no_grad().

Also, be sure, you use light version of model, only batch_size=1 and other paramaters, which are affect to the model architecture - try to decrease them until your model can stored on GPU device.

@vasyza
Copy link

vasyza commented Dec 14, 2022

Same problem

@gogobd
Copy link

gogobd commented Nov 19, 2023

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

@kirill-ionkin
Copy link

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

On my opinion, there is better solution to unpaired transfer style, like VSAIT: Unpaired Image Translation via Vector Symbolic Architectures for example.

@gogobd
Copy link

gogobd commented Nov 23, 2023

Same problem, even with "--light=True" memory is running out after 1k steps... NVIDIA GeForce RTX 3060, 12GB GPU Memory...

On my opinion, there is better solution to unpaired transfer style, like VSAIT: Unpaired Image Translation via Vector Symbolic Architectures for example.

Thanks @kirill-ionkin for pointing it out, I was trying VSAIT recently; for reference I found it here: https://github.com/facebookresearch/vsait

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

4 participants