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

Why consuming so many GPU memory #1

Open
Hai-chao-Zhang opened this issue Aug 2, 2024 · 1 comment
Open

Why consuming so many GPU memory #1

Hai-chao-Zhang opened this issue Aug 2, 2024 · 1 comment

Comments

@Hai-chao-Zhang
Copy link

I can't even run a single batch on one 40G A100.

@wang-sj16
Copy link
Collaborator

Hi @Hai-chao-Zhang , the finetuning codes can run with a single 40G A100, just change --nproc_per_node to 1 and adjust the --accum_iter accordingly. If you met OOM error during training, consider decreasing the batch size.

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