Skip to content

Out of memory (GPU) #21

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

Closed
Z-Pengcheng opened this issue Apr 8, 2025 · 2 comments
Closed

Out of memory (GPU) #21

Z-Pengcheng opened this issue Apr 8, 2025 · 2 comments

Comments

@Z-Pengcheng
Copy link

Hi, good work. I have a problem when training the net. This is out of memory in GPU (3090 24 GB). How much memory was used in your training? Thanks to release the code again. Looking forward to your reply.

@kabouzeid
Copy link
Contributor

We used H100 with 96GB, but at some point also A40 with 48GB. If you only have 24GB, you can probably set batch size to 1 and gradient accumulation to 32. #20 (comment)

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