Skip to content

Commit

Permalink
[ci] Relax timeout for gpu jobs and memory limit (taichi-dev#6601)
Browse files Browse the repository at this point in the history
  • Loading branch information
ailzhang authored Nov 15, 2022
1 parent 505cc38 commit 5c6c460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
build_and_test_gpu_linux:
name: Build and Test (GPU)
needs: check_files
timeout-minutes: ${{ github.event.schedule != '0 18 * * *' && 60 || 120 }}
timeout-minutes: ${{ github.event.schedule != '0 18 * * *' && 90 || 120 }}
strategy:
matrix:
tags:
Expand Down
4 changes: 2 additions & 2 deletions tests/python/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ def get_process_memory():
X().run()
gc.collect()
curr_mem = get_process_memory()
assert (curr_mem - ref_mem < 1E-1
) # shouldn't increase more than 0.1 MB each loop
assert (curr_mem - ref_mem < 6E-1
) # shouldn't increase more than 0.6 MB each loop

0 comments on commit 5c6c460

Please sign in to comment.