Skip to content

Commit

Permalink
Check if paddle test leaks memory
Browse files Browse the repository at this point in the history
  • Loading branch information
qiao-bo committed May 5, 2022
1 parent 1394896 commit e0522b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ if ("$env:TI_WANTED_ARCHS".Contains("cuda")) {
pip install "torch; python_version < '3.10'"
pip install "paddlepaddle==0.0.0; python_version < '3.10'" -f https://www.paddlepaddle.org.cn/whl/windows/cpu-mkl-avx/develop.html
}
# 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 }
if ("$env:TI_WANTED_ARCHS".Contains("cuda")) {
python tests/run_tests.py -vr2 -t4 -k "not torch and not paddle" -a cuda
if (-not $?) { exit 1 }
Expand All @@ -31,3 +28,6 @@ if ("$env:TI_WANTED_ARCHS".Contains("opengl")) {
}
python tests/run_tests.py -vr2 -t1 -k "torch" -a "$env:TI_WANTED_ARCHS"
if (-not $?) { exit 1 }
# Delay paddle tests
python tests/run_tests.py -vr2 -t1 -k "paddle" -a "$env:TI_WANTED_ARCHS"
if (-not $?) { exit 1 }

0 comments on commit e0522b0

Please sign in to comment.