Skip to content

Document additional NCCL troubleshooting options - #7344

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
AntoineRichard:antoiner/docs-nccl-device-order
Aug 26, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
AntoineRichard:antoiner/docs-nccl-device-order

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • 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

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • 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)
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

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.
@AntoineRichard
AntoineRichard requested a review from a team August 25, 2026 13:35
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team labels Aug 25, 2026

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_id command requires an accompanying --format option. Add a supported format such as --format=csv so 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``.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Adds multi-GPU troubleshooting guidance for aligning CUDA and renderer device ordering and for disabling NCCL peer-to-peer transport through a topology cutoff.

  • Documents CUDA_DEVICE_ORDER=PCI_BUS_ID for GPU enumeration mismatches.
  • Documents NCCL_P2P_LEVEL=LOC as an alternative to NCCL_P2P_DISABLE=1.
  • Adds a correctly formatted Isaac Lab changelog fragment.

Confidence Score: 5/5

The 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

Filename Overview
docs/source/features/multi_gpu.rst Adds coherent CUDA device-ordering and NCCL P2P troubleshooting instructions without an actionable correctness issue.
source/isaaclab/changelog.d/nccl-device-order.rst Adds a valid changelog fragment using the repository’s recognized section and bullet format.

Reviews (1): Last reviewed commit: "Document NCCL device ordering workaround..." | Re-trigger Greptile

@kellyguo11
kellyguo11 merged commit a04a702 into isaac-sim:develop Aug 26, 2026
44 of 46 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as b008be3.

isaaclab-bot Bot pushed a commit that referenced this pull request Aug 26, 2026
# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants