Skip to content

Fix small bug in nvml.unit_get_devices() - #2278

Merged
leofang merged 2 commits into
NVIDIA:mainfrom
mdboom:nvml-unit-get-devices
Jun 30, 2026
Merged

Fix small bug in nvml.unit_get_devices()#2278
leofang merged 2 commits into
NVIDIA:mainfrom
mdboom:nvml-unit-get-devices

Conversation

@mdboom

Copy link
Copy Markdown
Contributor

This fixes a small bug in the hand-written wrappers for NVML, that was discovered while rebuilding cuda.bindings.nvml by including the upstream header while investigating #1663. (A nice side-effect of that is that it finds real bugs!).

Unfortunately, I don't know if this test can/will run on any of our hardware.

@mdboommdboom added bug Something isn't working P0 High priority - Must do! cuda.bindings Everything related to the cuda.bindings module labels Jun 29, 2026
@github-actions

This comment has been minimized.

@leofangleofang assigned leofang and mdboom and unassigned leofangJun 30, 2026
@leofang
leofang self-requested a review June 30, 2026 03:53
@leofang
leofang enabled auto-merge (squash) June 30, 2026 03:57
@leofang
leofang disabled auto-merge June 30, 2026 03:57
@leofang

Copy link
Copy Markdown
Member

Well... I clicked merge on the cybind MR 🤷 Since the Window CI failures are known (due to the new CUPTI release which #2276 fixed), let me just admin-merge (and try to backport).

@leofangleofang added the to-be-backported Trigger the bot to raise a backport PR upon merge label Jun 30, 2026
@leofang
leofang merged commit 77f2757 into NVIDIA:mainJun 30, 2026
40 checks passed
@github-actions

Copy link
Copy Markdown

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-2278-to-12.9.x origin/12.9.x
cd .worktree/backport-2278-to-12.9.x
git switch --create backport-2278-to-12.9.x
git cherry-pick -x 77f2757c9426ae11f36192e1b385ac194f35a4b6

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

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

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

Labels

bugSomething isn't workingcuda.bindingsEverything related to the cuda.bindings moduleP0High priority - Must do!to-be-backportedTrigger the bot to raise a backport PR upon merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mdboom@leofang