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

some question about CUDA_VISIBLE_DEVICES #11

Open
wangfakang opened this issue May 6, 2024 · 4 comments
Open

some question about CUDA_VISIBLE_DEVICES #11

wangfakang opened this issue May 6, 2024 · 4 comments
Assignees

Comments

@wangfakang
Copy link

Why is the value of CUDA_VISIBLE_DEVICES not configured in ascending order? For example, CUDA_VISIBLE-DEVICES=0,1,2,3,4,5,6,7 better suited for PXN?

@wangfakang
Copy link
Author

friendly ping @nathanw-mlc @nv-rborkar

@erhoo82
Copy link

erhoo82 commented May 6, 2024

We used CUDA_VISIBLE_DEVICES=0,4,2,6,1,5,3,7 to work around a bug in NCCL that causes NIC port usage conflict at a specific tensor-parallel size. We fixed the bug and using the ascending order mapping should yield the same performance.

@wangfakang
Copy link
Author

We used CUDA_VISIBLE_DEVICES=0,4,2,6,1,5,3,7 to work around a bug in NCCL that causes NIC port usage conflict at a specific tensor-parallel size. We fixed the bug and using the ascending order mapping should yield the same performance.

@erhoo82 Thank you for your reply. Can you explain why used CUDA_VISIBLE_DEVICES=0,4,2,6,1,5,3,7 can work around it? or is there a PR related to NCCL repair? Thank you.

@wangfakang
Copy link
Author

wangfakang commented May 10, 2024

@pgmpablo157321 @hiwotadese @nv-rborkar @erhoo82 have any updates? and another question that why we need to disable NVLS and CUMEM feature ?

export NCCL_CUMEM_ENABLE=0
export NCCL_NVLS_ENABLE=0

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

5 participants