Skip to content

Add NCCL/NV vendor-specific sysfs serialization and virtualization#13318

Open
atoniolo76 wants to merge 3 commits into
google:masterfrom
modal-labs:alessio/add-nv-nccl-sysfs-serialization
Open

Add NCCL/NV vendor-specific sysfs serialization and virtualization#13318
atoniolo76 wants to merge 3 commits into
google:masterfrom
modal-labs:alessio/add-nv-nccl-sysfs-serialization

Conversation

@atoniolo76
Copy link
Copy Markdown

Stacks on #13312 and based on #13114. Adds necessary GPU/NIC/NVSwitch topology information for NVIDIA NCCL discovery in GDRDMA.

image image

Files modified:

  • pkg/sentry/fsimpl/sys/pci_devices.go: add 0680 and 0207 class for NVSwitch. Make NIC-filtering IB-aware. Add InfiniBand symlinks in PCI tree.
  • pkg/sentry/fsimpl/sys/rdma.go: Add /sys/module/nvidia_peermem/version for NCCL to check if GDRDMA is available. Collect InfiniBand netdevs as symlink into PCI tree. Add /sys/class/net/ entries.
  • pkg/sentry/fsimpl/sys/sys.go: build PCI sysfs tree before RDMA devices to resolve symlinks from RDMA -> PCI. Collect all previously serialized information and reconstruct in chroot virtual sysfs tree.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 29, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@atoniolo76 atoniolo76 force-pushed the alessio/add-nv-nccl-sysfs-serialization branch from 358e542 to 86cd2a3 Compare May 29, 2026 19:32
@atoniolo76 atoniolo76 marked this pull request as ready for review May 29, 2026 19:33
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

Successfully merging this pull request may close these issues.

1 participant