diff --git a/.github/workflows/scripts/win_test.ps1 b/.github/workflows/scripts/win_test.ps1 index 5dd3872333491..64f6fee21eab8 100644 --- a/.github/workflows/scripts/win_test.ps1 +++ b/.github/workflows/scripts/win_test.ps1 @@ -17,16 +17,20 @@ if ("$env:TI_WANTED_ARCHS".Contains("cuda")) { # Fail fast, give priority to the error-prone tests python tests/run_tests.py -vr2 -t1 -k "paddle" -a "$env:TI_WANTED_ARCHS" if (-not $?) { exit 1 } + +# Disable paddle for the remaining test +$env:TI_ENABLE_PADDLE = "0" + if ("$env:TI_WANTED_ARCHS".Contains("cuda")) { - python tests/run_tests.py -vr2 -t2 -k "not torch and not paddle" -a cuda + python tests/run_tests.py -vr2 -t4 -k "not torch and not paddle" -a cuda if (-not $?) { exit 1 } } if ("$env:TI_WANTED_ARCHS".Contains("cpu")) { - python tests/run_tests.py -vr2 -t1 -k "not torch and not paddle" -a cpu + python tests/run_tests.py -vr2 -t6 -k "not torch and not paddle" -a cpu if (-not $?) { exit 1 } } if ("$env:TI_WANTED_ARCHS".Contains("opengl")) { - python tests/run_tests.py -vr2 -t2 -k "not torch and not paddle" -a opengl + python tests/run_tests.py -vr2 -t4 -k "not torch and not paddle" -a opengl if (-not $?) { exit 1 } } python tests/run_tests.py -vr2 -t1 -k "torch" -a "$env:TI_WANTED_ARCHS" diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 0cbb04aee29fa..a34de5b8581fb 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -361,7 +361,7 @@ jobs: TI_SKIP_VERSION_CHECK: ON TI_CI: 1 PYTHON: '3.7' - TI_DEVICE_MEMORY_GB: '2.0' + TI_DEVICE_MEMORY_GB: '0.7' build_and_test_m1: name: Build and Test (Apple M1)