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

GPU out of memory #21

Open
Backdrop9019 opened this issue Jul 30, 2024 · 1 comment
Open

GPU out of memory #21

Backdrop9019 opened this issue Jul 30, 2024 · 1 comment

Comments

@Backdrop9019
Copy link

Hello, thank you for your excellent code.

I am trying to reproduce your results, but I keep encountering a GPU OOM (Out of Memory) error. I am using 16 A100 GPUs (each with 40GB of memory) for training. Even after reducing the batch size from 16 to 8, I still face CUDA OOM errors. Your paper mentions that you used 8 A100 GPUs for training. Could you please share the specific GPU settings you used?

Thank you.

@farewellthree
Copy link
Collaborator

Thank you for your interest in our work. We used A100 GPUs with 80GB of memory. You can try setting DeepSpeed to zero3, disabling BT-Adapter, reducing the number of frames, or using LoRA to manage memory usage.

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