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

@mdboom mdboom commented Jun 29, 2026

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.

@mdboom mdboom 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.

@leofang leofang assigned leofang and mdboom and unassigned leofang Jun 30, 2026
@leofang leofang self-requested a review June 30, 2026 03:53
@leofang leofang added this to the cuda.bindings 13.4.0 & 12.9.8 milestone Jun 30, 2026
@leofang leofang enabled auto-merge (squash) June 30, 2026 03:57
@leofang leofang disabled auto-merge June 30, 2026 03:57
@leofang

leofang commented Jun 30, 2026

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).

@leofang leofang 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:main Jun 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

Copy link
Copy Markdown
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

bug Something isn't working cuda.bindings Everything related to the cuda.bindings module P0 High priority - Must do! 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