-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix device selection using CUDA_VISIBLE_DEVICES #6530
Fix device selection using CUDA_VISIBLE_DEVICES #6530
Conversation
We might need to check the docs for what we say about CUDA_VISIBLE_DEVICES on the deepspeed.ai website to see if we need to update that with these changes? |
@loadams I believe this PR aligns the launcher's behavior with the description in the document. |
The Getting Started guide says: https://www.deepspeed.ai/getting-started/
Is this correct? |
This PR addresses #5818.
Instead of contiguous numbers based on the device count, this PR uses device indices in
--include
.