Skip to content

CI: no runner has a driver as new as the CTK under test (13.5) #3579

Todo

Description

@mdboom

Part of #2077. Related: comment on #2077 about missing newer drivers on runners; #1265, #293.

Summary

CI builds and tests against CTK 13.5 (ci/versions.yml), but no runner has a driver that new.

Driver row Driver CUDA (from nvidia-smi)
DRIVER: latest (Linux, e.g. H100) 595.99.02 13.2
DRIVER: '610.43.02' (custom-install rows, added in #2176) 610.43.02 13.3 (UMD)

So nothing in CI exercises the CTK 13.5 driver-side paths.

Affected marked tests

Test Requirement
cuda_bindings_13/tests/test_cuda.py::test_graph_add_node_v3_returns_the_node driver >= 13.4.1 (cuGraphAddNode_v3)
cuda_core/tests/test_object_protocols.py::test_repr_format[sample_object_code_ptx-…], [sample_program_ptx-…] Loads NVRTC 13.5 PTX. Passes on CTK 12.9/13.0 rows, skips with "PTX version too new for current driver" on every CTK 13.5 row
cuda_core/tests/test_linker.py driver-backend tests (once #3572 forces that backend) same PTX/JIT constraint on CTK 13.5 rows

Broader impact (unmarked tests)

14 test IDs skip with "PTX version too new for current driver" on every CTK 13.5 row, for example cuda_core/tests/test_module.py::test_get_kernel. They pass on older-CTK rows, so they aren't on the never-run list, but the newest toolkit's JIT/load path is never tested against a driver that supports it. Some unexplained skips, graph host allocations (#3588) and im2col-wide (#3587), should be rechecked on a current driver too.

Proposal

  1. Bump the custom-driver rows (DRIVER: '610.43.02', one RTX PRO 6000 and one L4 on Linux) to a driver that supports CTK 13.5, with the SHA-256 procedure documented in ci/test-matrix.yml. Add an equivalent Windows row (the .ps1 installer exists).
  2. Make this part of the CTK-bump checklist: every CTK minor bump in ci/versions.yml also bumps at least one Linux and one Windows row to a matching driver.
  3. Optionally, add a CI guard that fails or warns when no row's driver CUDA version is at least the CTK version under test.
  4. Keep pursuing newer latest images with nv-gha-runners.

Done when

At least one Linux and one Windows row run a driver >= the CTK in ci/versions.yml, and test_graph_add_node_v3_returns_the_node plus the "PTX version too new" tests pass on those rows.

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.

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

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

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

Activity

  1. added
    CI/CD
    test
    on Nov 25, 2026
  2. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CI/CDnvidia-runnerstest

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions