Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/scripts/common-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ install_taichi_wheel() {
python3 -m pip install -r requirements_test.txt
python3 -m pip install "torch>1.12.0; python_version < '3.10'"
# Paddle's develop package doesn't support CI's MACOS machine at present
if [[ $OSTYPE == "linux-"* ]]; then
python3 -m pip install "paddlepaddle==2.3.0; python_version < '3.10'"
fi
# if [[ $OSTYPE == "linux-"* ]]; then
# python3 -m pip install "paddlepaddle==2.3.0; python_version < '3.10'"
# fi
else
## Only GPU machine uses system python.
export PATH=$PATH:$HOME/.local/bin
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/scripts/unix_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ if [ -z "$GPU_TEST" ]; then
else
echo "::warning:: Hitting Running CPU tests only"
# Fail fast, give priority to the error-prone tests
if [[ $OSTYPE == "linux-"* ]]; then
run-it cpu 1 "paddle"
fi
# FIXME(proton): Disable paddle tests, out of sync for too long
# if [[ $OSTYPE == "linux-"* ]]; then
# run-it cpu 1 "paddle"
# fi
run-it cpu $N
run-it cpu 1 "torch"
fi
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/scripts/win_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Invoke ti diagnose
# Invoke ti changelog
echo wanted arch: $env:TI_WANTED_ARCHS
Invoke pip install -r requirements_test.txt
Invoke pip install "paddlepaddle==2.3.0; python_version < '3.10'"
# Invoke pip install "paddlepaddle==2.3.0; python_version < '3.10'"

if ($env:EXTRA_TEST_MARKERS) {
$EXTRA_TEST_MARKERS_SOLO = @("-m", $env:EXTRA_TEST_MARKERS)
Expand All @@ -47,7 +47,8 @@ if ($env:EXTRA_TEST_MARKERS) {
Invoke python tests/run_tests.py --cpp -vr2 -t4 @EXTRA_TEST_MARKERS_SOLO

# Fail fast, give priority to the error-prone tests
Invoke python tests/run_tests.py -vr2 -t1 -k "paddle" -a cpu @EXTRA_TEST_MARKERS_SOLO
# FIXME(proton): Disable paddle tests, out of sync for too long.
# Invoke python tests/run_tests.py -vr2 -t1 -k "paddle" -a cpu @EXTRA_TEST_MARKERS_SOLO

# Disable paddle for the remaining test
$env:TI_ENABLE_PADDLE = "0"
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake
cmake<4.0.0
colorama
coverage
Pillow
Expand Down