Skip to content

Fix 2 cuda.bindings.nvml tests#1727

Merged
rwgk merged 1 commit intoNVIDIA:mainfrom
mdboom:nvbug5880275
Mar 5, 2026
Merged

Fix 2 cuda.bindings.nvml tests#1727
rwgk merged 1 commit intoNVIDIA:mainfrom
mdboom:nvbug5880275

Conversation

@mdboom
Copy link
Contributor

@mdboom mdboom commented Mar 5, 2026

This addresses two failing tests reported in nvbug 5880275. Both of these tests are skipped in our CI due to not having the appropriate NvLink hardware, so were only caught by QA.

One test is simply a typo (exacerbated by the fact that the capitalization of Nvlink in the original nvml.h is inconsistent).

The other test was ported from the upstream NVML test suite, which accepted a NULL pointer as the input. The new NVML bindings don't accept NULLs, so this test is basically invalid over here, so it's removed.

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Mar 5, 2026

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@mdboom mdboom added test Improvements or additions to tests cuda.bindings Everything related to the cuda.bindings module to-be-backported Trigger the bot to raise a backport PR upon merge labels Mar 5, 2026
@mdboom
Copy link
Contributor Author

mdboom commented Mar 5, 2026

/ok to test

@github-actions

This comment has been minimized.

@rwgk rwgk enabled auto-merge (squash) March 5, 2026 23:33
@rwgk rwgk merged commit 637e4eb into NVIDIA:main Mar 5, 2026
253 of 258 checks passed
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

Backport failed for 12.9.x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 12.9.x
git worktree add -d .worktree/backport-1727-to-12.9.x origin/12.9.x
cd .worktree/backport-1727-to-12.9.x
git switch --create backport-1727-to-12.9.x
git cherry-pick -x 637e4eb7d76f9f090bc86ab74b5df34b8ee4cb1e

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Doc Preview CI
Preview removed because the pull request was closed or merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.bindings Everything related to the cuda.bindings module test Improvements or additions to tests to-be-backported Trigger the bot to raise a backport PR upon merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants