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

torch.OutOfMemoryError: CUDA out of memory. even for BS =1 #33

Open
ManuBN786 opened this issue Oct 23, 2024 · 2 comments
Open

torch.OutOfMemoryError: CUDA out of memory. even for BS =1 #33

ManuBN786 opened this issue Oct 23, 2024 · 2 comments

Comments

@ManuBN786
Copy link

ManuBN786 commented Oct 23, 2024

Even with a batch size of 1 for train & val , I still get Out of Memory error
Screenshot from 2024-10-23 10-18-47

My config yaml file is like this : SinSR.txt

Training log is: training.log

How to fix this please ?

Screenshot from 2024-10-23 10-28-10

@y2k0999
Copy link

y2k0999 commented Nov 25, 2024

what's your image shape?

@zouiner
Copy link

zouiner commented Jan 31, 2025

what's your image shape?

I got the same problem with image size 64,64
@y2k0999

@ManuBN786 Can you fix it out?

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