Skip to content

Commit

Permalink
Revert "Check if paddle test leaks memory"
Browse files Browse the repository at this point in the history
This reverts commit e0522b0.
  • Loading branch information
qiao-bo committed May 5, 2022
1 parent e4821e6 commit 6b6b9cd
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,6 +14,9 @@ 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 -t2 -k "not torch and not paddle" -a cuda
if (-not $?) { exit 1 }
Expand All @@ -28,6 +31,3 @@ 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 6b6b9cd

Please sign in to comment.