Skip to content

Commit

Permalink
adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed May 22, 2024
1 parent 57dfb63 commit 0fa13cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
runs-on: linux.8xlarge.nvidia.gpu
timeout-minutes: 45
timeout-minutes: 85

steps:
- name: Clean workspace
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
uses: nick-fields/retry@v3
with:
max_attempts: 5
timeout_minutes: 30
timeout_minutes: 25
shell: bash
command: docker exec -t pthd /bin/bash -xec 'tests/run_gpu_tests.sh 2'
new_command_on_retry: docker exec -e USE_LAST_FAILED=1 -t pthd /bin/bash -xec 'tests/run_gpu_tests.sh 2'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hvd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: nick-fields/retry@v3
with:
max_attempts: 5
timeout_minutes: 25
timeout_minutes: 15
shell: bash
command: bash tests/run_cpu_tests.sh
new_command_on_retry: USE_LAST_FAILED=1 bash tests/run_cpu_tests.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytorch-version-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 45
timeout-minutes: 85
strategy:
max-parallel: 5
fail-fast: false
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
uses: nick-fields/retry@v3
with:
max_attempts: 5
timeout_minutes: 25
timeout_minutes: 15
shell: bash
command: bash tests/run_cpu_tests.sh "not test_time_profilers"
new_command_on_retry: USE_LAST_FAILED=1 bash tests/run_cpu_tests.sh "not test_time_profilers"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ concurrency:
jobs:
cpu-tests:
runs-on: ${{ matrix.os }}
timeout-minutes: 45
timeout-minutes: 85
defaults:
run:
shell: bash
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
uses: nick-fields/retry@v3
with:
max_attempts: 5
timeout_minutes: 25
timeout_minutes: 15
shell: bash
command: SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh
new_command_on_retry: USE_LAST_FAILED=1 SKIP_DISTRIB_TESTS=${{ matrix.skip-distrib-tests }} bash tests/run_cpu_tests.sh
Expand Down

0 comments on commit 0fa13cc

Please sign in to comment.