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

How many GB memory is required to train the 7b model using DDP mode with galore? #40

Open
zhangqijun opened this issue Apr 23, 2024 · 1 comment

Comments

@zhangqijun
Copy link

in sigle gpu mode,I success run the train by RTX3090.but it took too long。
in ddp mode,we got OOM in LlamaForCausalLM = torch.nn.parallel.DistributedDataParallel(
model,
device_ids=[local_rank],
output_device=local_rank,
broadcast_buffers=False,
)
.

@xinpengzz
Copy link

same issue. I found that it seems related with the initialization of the DDP.

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