Skip to content

CI: the nightly amd64 H200 x2 matrix row is never scheduled #3583

Todo

Description

@mdboom

Part of #2077.

Problem

ci/test-matrix.yml has a nightly amd64 H200 x2 row with MODE: 'nightly-standard':

# amd64 with h200 (nightly-only, as there is only one server with h200s)
- { ARCH: 'amd64', PY_VER: '3.14',  CUDA_VER: '13.5.0', LOCAL_CTK: '0', GPU: 'h200',       GPU_COUNT: '2', DRIVER: 'latest',     ENV: { MODE: 'nightly-standard' } }

.github/workflows/ci-nightly.yml only defines test-standard-linux-aarch64, which filters for MODE == "nightly-standard" on linux-aarch64. No linux-64 nightly-standard job exists, so this row is never scheduled. It produced no job in the recent nightly runs (for example, 45532608245 and 45312005410).

This matters for coverage. It would be the only amd64 Hopper multi-GPU configuration in nightly, and a second runner (after the PR-only H100 x2 row) for the multi-GPU and Hopper-specific tests.

Fix

Either add a test-standard-linux-64 job to ci-nightly.yml, mirroring test-standard-linux-aarch64 with host-platform: linux-64, and add it to the nightly status check's needs. Or, if the H200 server isn't available to this repository, remove the row so the matrix reflects what actually runs.

Done when

The H200 x2 row either runs in nightly and its results appear in the nightly artifacts, or it is removed from ci/test-matrix.yml.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CI/CDnvidia-runners

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions