Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jun 21, 2024
1 parent 1705527 commit e06fbaf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_linux-test-cpu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: linux-test-cpu

jobs:
linux-pr-test-cpu:
linux-test-cpu:
# Don't run on forked repos
if: github.repository_owner == 'pytorch'
runs-on: [self-hosted, linux.24xlarge]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_linux-test-cuda.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: linux-test-cuda

jobs:
linux-pr-test-cuda:
linux-test-cuda:
# Don't run on forked repos
if: github.repository_owner == 'pytorch'
runs-on: [a100-runner]
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true

jobs:
cpu-test:
timeout-minutes: 120 # 2 hours
uses: ./.github/workflow/_linux-test-cpu.yml
uses: ./.github/workflows/_linux-test-cpu.yml
with:
timeout-minutes: 120 # 2 hours
timeout-minutes: 240 # 4 hours
cuda-test:
uses: ./.github/workflow/_linux-test-cuda.yml
uses: ./.github/workflows/_linux-test-cuda.yml
with:
timeout-minutes: 120 # 2 hours

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
timeout-minutes: 240 # 4 hours

0 comments on commit e06fbaf

Please sign in to comment.