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

The issue with training on multiple GPUs. #66

Open
longfafffa opened this issue Aug 21, 2024 · 0 comments
Open

The issue with training on multiple GPUs. #66

longfafffa opened this issue Aug 21, 2024 · 0 comments

Comments

@longfafffa
Copy link

Thank you for your great work. When I tried to reproduce your code with multiple GPUs, I encountered the problem: 'Duplicate GPU detected: rank 2 and rank 0 both on CUDA device 52000.' From the code print(f"Process {os.getpid()} CUDA_VISIBLE_DEVICES: {os.getenv('CUDA_VISIBLE_DEVICES')}"), I found that each process is on the same GPU. How can I solve this problem?

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

1 participant