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 to use distributed trainning? #1

Open
haoyan14 opened this issue Aug 16, 2023 · 2 comments
Open

How to use distributed trainning? #1

haoyan14 opened this issue Aug 16, 2023 · 2 comments

Comments

@haoyan14
Copy link

Why when I use distributed training, I get stuck here in "model = torch.nn.parallel.DistributedDataParallel(model.to(local_rank), device_ids=[local_rank], output_device=local_rank, find_unused_parameters=False)"?

@boheumd
Copy link
Owner

boheumd commented Aug 17, 2023

Hello, I did not come across this problem before. Can you provide more information about this issue? If you change to the single gpu training, will it have the similar problem?

@haoyan14
Copy link
Author

Sorry,i have solved the problem. The reason for this situation is that I mixed the use of "torchrun" and "-d".

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