Skip to content

Commit 127b445

Browse files
Attempt to disable only ROCm matrix entries for non-push-to-main
1 parent 14bd4cc commit 127b445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/regression_test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
gpu-arch-version: ""
3636
- name: ROCM Nightly
3737
runs-on: linux.rocm.gpu.torchao
38-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main') }}
3938
torch-spec: '--pre torch --index-url https://download.pytorch.org/whl/nightly/rocm6.3'
4039
gpu-arch-type: "rocm"
4140
gpu-arch-version: "6.3"
4241
permissions:
4342
id-token: write
4443
contents: read
4544
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
45+
if: ${{ matrix.gpu-arch-type != 'rocm' || (github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main') }}
4646
with:
4747
timeout: 120
4848
no-sudo: ${{ matrix.gpu-arch-type == 'rocm' }}

0 commit comments

Comments
 (0)