|
36 | 36 | description: > |
37 | 37 | Test mode: 'standard' (default), 'nightly-pytorch', |
38 | 38 | 'nightly-numba-cuda', 'nightly-numba-cuda-mlir', or |
39 | | - 'nightly-cuda-core'. Temporary PR3436 diagnostics use |
40 | | - 'diagnostic-watermark'. |
| 39 | + 'nightly-cuda-core'. |
41 | 40 | type: string |
42 | 41 | default: 'standard' |
43 | 42 | sha: |
|
46 | 45 | Defaults to github.sha (current run) when empty. |
47 | 46 | type: string |
48 | 47 | default: '' |
49 | | - source-ref: |
50 | | - description: > |
51 | | - Optional test-source ref override. Defaults to the artifact SHA, |
52 | | - or github.sha when the artifact SHA is empty. |
53 | | - type: string |
54 | | - default: '' |
55 | 48 |
|
56 | 49 | jobs: |
57 | 50 | compute-matrix: |
@@ -116,9 +109,9 @@ jobs: |
116 | 109 | - name: Checkout ${{ github.event.repository.name }} |
117 | 110 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
118 | 111 | with: |
119 | | - # Normally sources match the wheels; diagnostics can override only |
120 | | - # test sources while retaining the original binary artifacts. |
121 | | - ref: ${{ inputs.source-ref || inputs.sha || github.sha }} |
| 112 | + # Test sources must match the wheels under test (nightly runs |
| 113 | + # reuse wheels built from an older commit of main). |
| 114 | + ref: ${{ inputs.sha || github.sha }} |
122 | 115 |
|
123 | 116 | - name: Setup proxy cache |
124 | 117 | uses: nv-gha-runners/setup-proxy-cache@main |
@@ -364,21 +357,6 @@ jobs: |
364 | 357 | shell: bash --noprofile --norc -xeuo pipefail {0} |
365 | 358 | run: echo "PYTEST_ADDOPTS=\"--count=${{ inputs.nruns }}\"" >> "$GITHUB_ENV" |
366 | 359 |
|
367 | | - - name: Install cuda.core diagnostic dependencies |
368 | | - if: ${{ inputs.test-mode == 'diagnostic-watermark' }} |
369 | | - env: |
370 | | - CUDA_VER: ${{ matrix.CUDA_VER }} |
371 | | - LOCAL_CTK: ${{ matrix.LOCAL_CTK }} |
372 | | - PYTEST_ADDOPTS: --collect-only |
373 | | - SKIP_CYTHON_TEST: '1' |
374 | | - shell: bash --noprofile --norc -xeuo pipefail {0} |
375 | | - run: run-tests core |
376 | | - |
377 | | - - name: Diagnose PR3436 watermark teardown |
378 | | - if: ${{ inputs.test-mode == 'diagnostic-watermark' }} |
379 | | - shell: bash --noprofile --norc -xeuo pipefail {0} |
380 | | - run: python ci/tools/diagnose_pr3436_watermark.py |
381 | | - |
382 | 360 | # ── Standard test steps (skipped for nightly modes) ── |
383 | 361 | - name: Run cuda.pathfinder tests with see_what_works |
384 | 362 | if: ${{ inputs.test-mode == 'standard' && env.TEST_PATHFINDER == 'true' }} |
@@ -619,14 +597,3 @@ jobs: |
619 | 597 | path: test-results/ |
620 | 598 | if-no-files-found: ignore |
621 | 599 | retention-days: 14 |
622 | | - |
623 | | - - name: Upload PR3436 watermark diagnostics |
624 | | - if: ${{ !cancelled() && inputs.test-mode == 'diagnostic-watermark' }} |
625 | | - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 |
626 | | - with: |
627 | | - name: pr3436-watermark-diagnostic-${{ github.run_id }}-${{ github.run_attempt }} |
628 | | - path: | |
629 | | - watermark-diagnostic/ |
630 | | - cuda_core/cuda_core_oom_diagnostics.txt |
631 | | - if-no-files-found: ignore |
632 | | - retention-days: 14 |
0 commit comments