Skip to content

CI: hardware needed for tests that never run (3+ GPUs, NVLink, Tegra/DLA, vGPU) #3584

Todo

Description

@mdboom

Part of #2077, under "Hardware/platform coverage".

Summary

These tests need hardware configurations that no CI runner has, neither PR nor nightly. This list is meant to inform runner requests. Hardware we already have but haven't configured is covered separately: IMEX in #3580, MIG in #3581, and privileged NVML in #3582.

Hardware Tests Notes
>= 3 GPUs with P2P cuda_core/tests/test_memory_peer_access.py::test_peer_access_transitions Largest runners today are x2 (T4, H100, L4; H200 x2 is unscheduled, see #3583). A 4-GPU runner would also exercise ordinal/topology paths that 2 GPUs can't.
2 GPUs in the nightly-pytorch job cuda_core/tests/example_tests/test_samples.py::test_sample[cuda_core/multiGPUGradientAverage] The samples' optional packages, including mpi4py/Open MPI for this sample, are installed only in the nightly-pytorch job (#3578), and every nightly-pytorch row is a single L4. 2-GPU runners already exist elsewhere (PR T4 x2 and H100 x2; nightly-standard linux-aarch64 L4 x2), so moving one nightly-pytorch row to one of them may be enough.
NVLink-connected multi-GPU with link management exposed cuda_bindings_{12,13}/tests/nvml/test_device.py::test_get_nv_link_supported_bw_modes NotSupported on every runner, including GB300 x1, GH200, and H100 NVL x2. Confirm with the NVML team which SKU/topology supports nvmlDeviceGetNvlinkSupportedBwModes (likely NVLink-connected Blackwell, e.g. HGX B200).
Jetson/Tegra with DLA (Orin or Thor) cuda_pathfinder/tests/test_driver_lib_loading.py::test_real_load_driver_lib[nvcudla], cuda_pathfinder/tests/test_load_nvidia_dynamic_lib.py::test_load_nvidia_dynamic_lib[nvcudla] libnvcudla.so ships only on Tegra. A Tegra runner would also cover the Orin-specific NVML paths, such as the UUID handling in test_device_get_handle_by_uuid.
vGPU host (hypervisor with the NVIDIA vGPU manager) cuda_bindings_{12,13}/tests/nvml/test_device.py: test_device_get_{supported,creatable,active}_vgpus_no_namerror, test_device_get_vgpu_utilization_sized_array, test_device_get_vgpu_process_utilization_returns_array, test_device_vgpu_get_heterogeneous_mode Several of these are regression tests for bindings marshalling (a NameError on the success path, wrongly sized arrays), which only runs when NVML returns vGPU data. Without a vGPU host they stay QA-only.
Multi-GPU board (several GPUs on one card, e.g. A16) cuda_bindings_13/tests/nvml/test_pci.py::test_bridge_chip_info nvmlDeviceGetBridgeChipInfo is "only applicable to multi-GPU products"; it returns NOT_SUPPORTED on every single-GPU card in CI. Confirm that a current board (A16) actually reports bridge chips before requesting one.

Tests for hardware that no supported driver runs on (S-class units, Kepler auto-boost) are proposed for removal in #3577, not listed here.

Done when

Each row has a decision: request the runner (with a tracking link), or mark the tests QA-only.

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
    cuda.pathfinder
    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/CDcuda.pathfindernvidia-runnerstest

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions