Skip to content

ci: run one CUDA 12 Windows row on an RTX 4090 in WDDM mode - #3665

Merged
lijinf2 merged 1 commit into
NVIDIA:mainfrom
mdboom:issue3593
Nov 30, 2026
Merged

lijinf2 merged 1 commit into
NVIDIA:mainfrom
mdboom:issue3593

Conversation

@mdboom

@mdboom mdboom commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Closes #3593. Part of #2077.

Summary

cuda_bindings_12/tests/nvml/test_device.py::test_set_temperature_threshold never ran: on Windows, NVML supports the temperature-threshold call only on the WDDM GeForce runners, and every CUDA 12 Windows row used a V100 or an L4 in MCDM or TCC mode.

 ci/test-matrix.yml  windows / pull-request
-  { PY_VER: '3.15', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'l4',      DRIVER_MODE: 'MCDM' }
+  { PY_VER: '3.15', CUDA_VER: '12.9.1', LOCAL_CTK: '0', GPU: 'rtx4090', DRIVER_MODE: 'WDDM' }
  • The RTX 4090 WDDM runner already serves two CUDA 13 rows, so no new runner type is needed.
  • L4 MCDM stays covered for CUDA 12 by the Python 3.12 wheels row.

Evidence

CI data on main for test_set_temperature_threshold:

  • CUDA 13: passes on win-64 RTX 4090 WDDM and RTX 2080 WDDM; every other Windows row skips with "Unsupported call for device architecture ..." (A100, H100, L4, T4, RTX PRO 6000).
  • CUDA 12: skips on all 20 rows, including all 7 Windows rows ("Unsupported call for device architecture VOLTA/ADA").

Matrix selection, simulated locally (yq + ci/tools/select_test_matrix.py --platform windows, BUILD_TYPE=pull-request TEST_MODE=standard): the moved row runs all suites (pathfinder+bindings12+core12+meta12) on rtx4090 / WDDM; the other six CUDA 12 rows are unchanged. Pre-commit passes.

Confirming in CI: in this PR's CI run, the win-64 py3.15 CUDA 12.9.1 RTX 4090 WDDM cuda.bindings job should report test_set_temperature_threshold PASSED. For example:

gh run view <CI run id> --repo NVIDIA/cuda-python --log | grep -F "test_set_temperature_threshold"

Merge Danger

Door: two-way.

Blast Radius: one Windows PR-CI row. The whole CUDA 12 suite on that row now runs on a GeForce RTX 4090 (WDDM) instead of an L4 (MCDM); the CUDA 13 suites already pass on that runner type, so no new failures are expected.

Reviewers: please feel free to push commits directly to this PR to improve it.

🤖 Generated with Claude Code

On Windows, NVML supports the temperature-threshold call only on the WDDM
GeForce runners, so cuda_bindings_12's test_set_temperature_threshold
skipped on every CUDA 12 row (V100 and L4, MCDM or TCC). Move the Python
3.15 CUDA 12.9.1 wheels row from L4 MCDM to RTX 4090 WDDM, a runner type
the CUDA 13 rows already use. L4 MCDM stays covered for CUDA 12 by the
Python 3.12 wheels row.

Closes NVIDIA#3593.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mdboom mdboom added this to the CI milestone Nov 30, 2026
@mdboom mdboom added CI/CD CI/CD infrastructure test Improvements or additions to tests labels Nov 30, 2026
@mdboom mdboom self-assigned this Nov 30, 2026
@mdboom
mdboom requested review from leofang and lijinf2 November 30, 2026 20:38
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the Windows test configuration to use an RTX 4090 with WDDM for Python 3.15 and CUDA 12.9.1.

The Windows Python 3.15 CUDA 12.9.1 CI matrix row now uses an RTX 4090 with WDDM instead of an L4 with MCDM.

Changes: Windows CUDA matrix

Layer / File(s) Summary
Windows CUDA 12 runner configuration
ci/test-matrix.yml
The Python 3.15 CUDA 12.9.1 row switches from an L4 using MCDM to an RTX 4090 using WDDM.

Assessment against linked issues

Objective Addressed Explanation
Provide a CUDA 12 Windows configuration with a WDDM GeForce GPU for test_set_temperature_threshold [#3593] ❓ The row selects an RTX 4090 with WDDM, but the supplied changes do not confirm that the test ran and passed.

Suggested reviewers: leofang

Change: Other · Severity of issue fixed: Low

Merge Risk: Minimal · up to a8f5b

This moves one Windows CI test row to a different GPU and driver mode, so only CI coverage changes and production users are not affected. Merge readiness risk is minimal; check the CI result for the changed row to confirm the temperature threshold test runs.

Security architecture risk: Minimal · up to a8f5b

One CUDA 12 test job moves to an RTX 4090 pool that already runs Windows pull-request jobs in WDDM mode. The change adds no new permissions or setup mechanism, and the review found no material regression in security or failure containment.

Security review details

Security Blast Radius

  • inferred — The reassignment shifts one existing PR test workload to a runner pool already used by the same PR workflow. The repository diff does not grant a new job identity, credentials, or permissions.

Trust Boundaries and Controls

  • observed — The selected matrix value reaches machine-wide GPU setup as an environment variable. The workflow invokes the setup script from its workflow-revision checkout, configured not to persist checkout credentials; the script maps the mode to a fixed set of numeric values before invoking the driver utility.

Resilience and Maintainability Implications

  • inferred — The unchanged setup attempts to restore the prior service startup type in a finally block, but it does not undo the GPU mode change. Abrupt termination can bypass that restoration; whether a later job could inherit the state depends on runner reuse and reset behavior outside the inspected workflow.
- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 44743b5 and a8f5be7.

Files selected for processing: 1

  • ci/test-matrix.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 7 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

@lijinf2 lijinf2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed "tests\nvml\test_device.py::test_set_temperature_threshold PASSED ".

@lijinf2
lijinf2 merged commit 11cc1c6 into NVIDIA:main Nov 30, 2026
124 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD CI/CD infrastructure test Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: no CUDA 12 row runs on a Windows WDDM GeForce GPU, so test_set_temperature_threshold never runs there

2 participants