Skip to content

Backport #1585 to 12.9.x#1749

Merged
leofang merged 1 commit intoNVIDIA:12.9.xfrom
mdboom:backport-1585
Mar 10, 2026
Merged

Backport #1585 to 12.9.x#1749
leofang merged 1 commit intoNVIDIA:12.9.xfrom
mdboom:backport-1585

Conversation

@mdboom
Copy link
Contributor

@mdboom mdboom commented Mar 10, 2026

This backports just the cuda_bindings part of #1585 to 12.9.x

* Skip NVML tests if the hardware doesn't support NVML

* Also skip converting between Device types

* Fix test_to_system_device test

* Update cuda_bindings/cuda/bindings/_test_helpers/arch_check.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix test

* Simplify check

* Fix import when cuda_bindings is incompatible

* Fix logic

* Move over a single test from NVIDIA#1583

* Fix check

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Mar 10, 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
Copy link
Contributor Author

mdboom commented Mar 10, 2026

/ok to test

@leofang leofang enabled auto-merge (squash) March 10, 2026 15:34
@leofang leofang added this to the cuda.bindings 13.2.0 & 12.9.6 milestone Mar 10, 2026
@leofang leofang added the cuda.bindings Everything related to the cuda.bindings module label Mar 10, 2026
@leofang leofang added the P0 High priority - Must do! label Mar 10, 2026
@leofang leofang merged commit 1e0ae86 into NVIDIA:12.9.x Mar 10, 2026
45 checks passed
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 P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants