CI: no CUDA 12 row runs on a Windows WDDM GeForce GPU, so test_set_temperature_threshold never runs there
Maintainer antworten meist innerhalb von 1 Tag
@mdboom arbeitet bereits daran.
Seit 25.11.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Part of #2077.
Problem
cuda_bindings_12/tests/nvml/test_device.py::test_set_temperature_threshold never runs in CI. On every CUDA 12 GPU (L4, T4, V100, A100, RTX PRO 6000), NVML reports the temperature-threshold call as unsupported, and the test skips.
The cuda_bindings_13 copy runs, but only on the Windows WDDM GeForce runners (win-64 RTX 4090 and RTX 2080, both WDDM). Every CUDA 12 Windows row in ci/test-matrix.yml uses a V100 or an L4 in MCDM or TCC mode, so no CUDA 12 configuration has a GPU where the call is supported.
The test has no "not currently run in any CI job" marker: until #3590 fixed toolshed/find_skipped_tests.py, CUDA 12 results were filed under cuda_bindings_13, where this test passes.
Fix
Move one CUDA 12 Windows row in ci/test-matrix.yml to an RTX 4090 or RTX 2080 WDDM runner. Both runner types already exist in the CUDA 13 Windows rows.
If that isn't worth a runner change for one test, add a "not currently run in any CI job" marker to the CUDA 12 copy instead, so the gap stays visible.
Done when
test_set_temperature_threshold passes on a CUDA 12 configuration, or the CUDA 12 copy carries the marker and the decision is recorded here.
Guidance for PRs that address this issue
- When making a fix that allows a test to run in CI, remove the comment about the test not running in CI from the code.
- When making a test run only in nightly CI, we need to concretely confirm that in nightly CI. Include instructions in the PR about how to kick off a nightly run for the specific PR in order to test that (see below).
- For every PR note that the reviewer should feel free to push commits directly to the PR to improve things. @mdboom does not have the bandwidth to shepard each of them through.
- Every PR should include a way to confirm automatically that the tests are now running in at least one CI configuration.
Running the nightly test suites for a PR
The nightly workflow can test a PR's own wheels and tests, but it has to be started by hand. Starting it needs write access to NVIDIA/cuda-python, so ask a maintainer if you don't have it.
-
Wait for the PR's CI workflow run to finish successfully, and note its run ID, the number in its URL (
.../actions/runs/<run-id>). -
Start CI: Nightly optional-deps on the PR's mirror branch, with that run ID. Either:
-
In the GitHub UI: Actions → CI: Nightly optional-deps → Run workflow. Set Use workflow from to
pull-request/<PR number>, enter the run ID in the run-ID field, and leave the link-checker-only box unchecked. -
From the command line:
gh workflow run ci-nightly.yml --repo NVIDIA/cuda-python --ref pull-request/<PR number> -f run-id=<run-id>
Supply the run ID. Without it, the nightly run tests
main's latest wheels and tests, not the PR's. -
-
Link the nightly run in the PR. Then confirm that the affected tests ran and passed, rather than skipped, in the relevant nightly jobs.
The nightly run tests the commit of that CI run. Repeat these steps after pushing changes that affect the nightly-only tests.
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 353
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 163
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA/cuda-python
-
[BUG]: the `__cuda_stream__` deprecation warning points to `Stream(obj)`, which always raisesEvtl. vergeben @Iamsohungrynow hat das vor 5 Tagen übernommen. Offenbug cuda.core P1
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
NVIDIA/cuda-python#3505 · 3 Kommentare · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: ProcessInfo.used_gpu_memory returns the NVML_VALUE_NOT_AVAILABLE sentinel as a byte countOffentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
NVIDIA/cuda-python#3468 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
NVIDIA/cuda-python#3409 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: cleanup-pr-previews never removes previews of deleted PRsEvtl. wieder frei @rwgk hat das vor 48 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
NVIDIA/cuda-python#2952 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: LocatedHeaderDir is mutable, so callers can poison the cached header-directory lookupEvtl. vergeben @rwgk hat das vor 62 Tagen übernommen. Offentriage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NVIDIA/cuda-python#2646 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag