Skip to content

Support node-local CUDA fabric IPC - #1449

Open
sara4dev wants to merge 4 commits into
kubernetes-sigs:mainfrom
sara4dev:codex/node-local-fabric-ipc
Open

sara4dev wants to merge 4 commits into
kubernetes-sigs:mainfrom
sara4dev:codex/node-local-fabric-ipc

Conversation

@sara4dev

@sara4dev sara4dev commented Sep 15, 2026 •

Copy link
Copy Markdown

What type of PR is this?

/kind feature

What this PR does / why we need it:

Adds an opt-in NodeLocalFabricIPC feature gate for exchanging CUDA fabric handles between isolated pods on a supported single-node NVLink system.

Today, a node without an MNNVL clique skips IMEX daemon management and channel injection. That also excludes systems such as HGX A100 where GPUs have node-local NVLink and the driver supports CUDA fabric handles. With this gate enabled, a node-local ComputeDomain starts a single-node nvidia-imex service, waits for it to become ready, and injects the allocated IMEX channel into its workloads. The existing no-clique behavior is unchanged by default.

The host-managed IMEX path also requires a ready host service before injecting a node-local channel.

Which issue(s) this PR is related to:

N/A

Special notes for your reviewer:

AI tooling was used to assist implementation, testing, live cluster validation, and PR drafting. The author reviewed the resulting changes and evidence.

Live validation of the simplified implementation used two nonprivileged pods on separate GPUs of an 8x A100-SXM4-80GB NVLink node. The pods had separate PID, IPC, and network namespaces but shared one ComputeDomain channel claim. CUDA fabric-handle import and full 256 MiB readback/write verification passed; 12.5 GiB of peer writes measured 254.832 GiB/s. A negative control without the client's IMEX channel failed import with CUDA_ERROR_NOT_PERMITTED. The generated ComputeDomain daemon started and supervised nvidia-imex; no standalone IMEX helper was present. This tests the CUDA transfer primitive, not end-to-end inference.

Does this PR introduce a user-facing change?

Adds the opt-in NodeLocalFabricIPC feature gate for CUDA fabric-handle exchange between isolated pods on supported single-node NVLink systems such as A100.

Additional documentation (design docs, usage docs, etc.):

https://github.com/sara4dev/dra-driver-nvidia-gpu/blob/b9443e896e772668034106073e709ce38000301a/site/content/docs/prerequisites.md#node-local-fabric-ipc

Checklist

  • make check test passes locally
  • make check-generate passes if api/ changed (CRDs, deepcopy, informers, listers, clientset)
  • make check-modules passes if go.mod / go.sum changed
  • Tests added or updated for the change
  • Helm chart (deployments/helm) updated if flags, RBAC, or defaults changed

Validation details:

  • make docker-test (Linux, race detector and coverage)
  • make docker-check-generate
  • golangci-lint v2.13.2 run ./... (0 issues)
  • helm lint deployments/helm/dra-driver-nvidia-gpu
  • A100 two-pod test above; tested source patch matches commit b9443e896e772668034106073e709ce38000301a.

@kubernetes-prow kubernetes-prow Bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 15, 2026
@kubernetes-prow kubernetes-prow Bot added the kind/feature Categorizes issue or PR as related to a new feature. label Sep 15, 2026
@netlify

netlify Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

👷 Deploy request for dra-driver-nvidia-gpu pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 9af9a67

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sara4dev
Once this PR has been reviewed and has the lgtm label, please assign dims for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

@kubernetes-prow

Copy link
Copy Markdown
Contributor

Welcome @sara4dev!

It looks like this is your first PR to kubernetes-sigs/dra-driver-nvidia-gpu 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/dra-driver-nvidia-gpu has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@kubernetes-prow kubernetes-prow Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 15, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

Hi @sara4dev. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 15, 2026
@shivamerla

Copy link
Copy Markdown
Contributor

@sara4dev can you please sign the CLA.

@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 5, 2026
@shivamerla shivamerla added this to the v0.6.0 milestone Oct 10, 2026
@shivamerla shivamerla moved this from Backlog to In-Review in DRA Driver for NVIDIA GPUs Oct 16, 2026
@shivamerla

Copy link
Copy Markdown
Contributor

@sara4dev please mark it as ready once your testing is complete.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Excluded labels (none allowed): 3

  • needs-ok-to-test
  • do-not-merge/work-in-progress
  • cncf-cla: no

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>
Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>
Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>
Signed-off-by: Saravana Periyasamy <saperiyasamy@nvidia.com>
@sara4dev
sara4dev force-pushed the codex/node-local-fabric-ipc branch from 579ca6c to 9af9a67 Compare November 25, 2026 04:31
@sara4dev
sara4dev marked this pull request as ready for review November 25, 2026 04:34
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

Status: In-Review

Development

Successfully merging this pull request may close these issues.

2 participants