-
Notifications
You must be signed in to change notification settings - Fork 115
add tips to force NCCL comm to go through EFA #531
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -316,3 +316,25 @@ The formula defines the maximum theoretical bandwidth that can be achieved on di | |
* `t` : time to complete the operation. (similar to sec for Algbw and Busbw) | ||
* `S` : number of elements being communicated (similar to count for Algbw and Busbw) | ||
* `B` : theoretical peak bandwidth. | ||
|
||
## 4. Tips and Tricks | ||
|
||
This section demonstrates NCCL tests tips and tricks useful to diagnose cluster nodes. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How do we know if this is bad or good? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the test works till the end -> good. Otherwise bad? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should set expected performance on single instance. |
||
|
||
#### Test EFA | ||
|
||
You can force inter-GPU communications to go through EFA network interfaces instead of shared memory of NVLink with the following environment variables: | ||
|
||
|
||
```bash | ||
#Single node EFA | ||
# libfabric flags | ||
export FI_PROVIDER=efa | ||
export FI_EFA_USE_DEVICE_RDMA=1 | ||
|
||
# NCCL Environment force disable P2P through NVlink, PCI and SHM. | ||
mhuguesaws marked this conversation as resolved.
Show resolved
Hide resolved
|
||
export NCCL_P2P_DISABLE=1 | ||
export NCCL_SHM_DISABLE=1 | ||
export NCCL_NVLS_ENABLE=0 | ||
export NCCL_NET='AWS Libfabric' | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please find another title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other usages?