Repository navigation
Document additional NCCL troubleshooting options - #7344
Conversation
Explain how to align CUDA ordinals with PCI bus IDs for rendered multi-GPU tasks and document NCCL_P2P_LEVEL=LOC as an alternative to NCCL_P2P_DISABLE. This captures the remaining troubleshooting guidance from isaac-sim#4011 while clarifying that both NCCL settings disable peer-to-peer transport.
There was a problem hiding this comment.
Isaac Lab Review Bot
The documentation adds relevant troubleshooting guidance for CUDA device ordering and NCCL P2P topology, but one inspection command is incomplete and will fail as written.
- Design and architecture: The additions fit the existing symptom, mitigation, and verification flow without changing code architecture or documentation structure.
- API: No Python APIs, CLI arguments, defaults, exports, or Sphinx labels are changed. The update includes the expected changelog fragment.
- Implementation: The documented
nvidia-smi --query-gpu=name,pci.bus_idcommand requires an accompanying--formatoption. Add a supported format such as--format=csvso users can obtain the GPU-to-PCI-bus mapping described by the guide.
Minor fixes needed. Posted 1 actionable finding inline.
Automated review; human maintainers own approval decisions.
| export CUDA_DEVICE_ORDER=PCI_BUS_ID | ||
|
|
||
| This changes the CUDA device ordinals, but not which GPUs are visible. The PCI bus IDs and their | ||
| corresponding GPUs can be inspected with ``nvidia-smi --query-gpu=name,pci.bus_id``. |
There was a problem hiding this comment.
🟡 Warning · Implementation — nvidia-smi query command missing required format flag
nvidia-smi --query-gpu=name,pci.bus_id is rejected because query mode requires an accompanying --format argument. As written, users following this troubleshooting step get a usage error instead of the PCI bus ID listing they need to correlate GPUs. Add --format=csv (or another supported format) to the documented command.
Greptile SummaryAdds multi-GPU troubleshooting guidance for aligning CUDA and renderer device ordering and for disabling NCCL peer-to-peer transport through a topology cutoff.
Confidence Score: 5/5The documentation-only change appears safe to merge. The new guidance is consistent with the repository’s distributed launch behavior, and the changelog fragment conforms to the enforced format and package placement. Important Files Changed
Reviews (1): Last reviewed commit: "Document NCCL device ordering workaround..." | Re-trigger Greptile |
|
Backported to |
# Description Documents the remaining multi-GPU troubleshooting mitigations reported in #4011: - Use `CUDA_DEVICE_ORDER=PCI_BUS_ID` when CUDA and the renderer enumerate GPUs differently. - Use `NCCL_P2P_LEVEL=LOC` as an alternative to `NCCL_P2P_DISABLE=1`. The guide also clarifies that both P2P settings disable direct peer-to-peer communication and make NCCL select another transport. No new dependencies are required. Related to #4011. ## Type of change - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` ## Screenshots Not applicable; this is a text-only documentation update. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works (documentation-only; verified with a warning-as-error Sphinx build) - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit a04a702)
Description
Documents the remaining multi-GPU troubleshooting mitigations reported in #4011:
CUDA_DEVICE_ORDER=PCI_BUS_IDwhen CUDA and the renderer enumerate GPUs differently.NCCL_P2P_LEVEL=LOCas an alternative toNCCL_P2P_DISABLE=1.The guide also clarifies that both P2P settings disable direct peer-to-peer communication and make NCCL select another transport. No new dependencies are required.
Related to #4011.
Type of change
Release backport
developScreenshots
Not applicable; this is a text-only documentation update.
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there