Skip to content

Commit b550b96

Browse files
authored
Revert "[Feature Enhancement] Install nightly built paddlepaddle of develop o…" (#171)
This reverts commit fffa91c.
1 parent fffa91c commit b550b96

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

tools/ci/check_validate.sh

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ function prepare_env() {
2828
env http_proxy="" https_proxy="" pip install -U pip > /dev/null
2929
[ $? -ne 0 ] && LOG "[FATAL] Update pip failed!" && exit -1
3030
# install torch
31-
LOG "[INFO] Install torch==2.7.0 ..."
32-
pip install torch==2.7.0 --index-url https://download.pytorch.org/whl/cu118 > /dev/null
33-
[ $? -ne 0 ] && LOG "[FATAL] Install torch2.7.0 failed!" && exit -1
34-
python -c "import torch; print('[PyTorch Version]', torch.__version__)"
35-
# install paddlepaddle of develop
36-
LOG "[INFO] Install paddlepaddle-develop ..."
37-
python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/ > /dev/null
38-
[ $? -ne 0 ] && LOG "[FATAL] Install paddlepaddle-develop failed!" && exit -1
39-
python -c "import paddle; print('[PaddlePaddle Commit]', paddle.version.commit)"
31+
pip install torch==2.7.0 --index-url https://download.pytorch.org/whl/cu118
4032
}
4133

4234
function check_validation() {
@@ -58,7 +50,7 @@ function check_validation() {
5850
done
5951
if [ ${#fail_name[@]} -ne 0 ]
6052
then
61-
LOG "[FATAL] Failed samples: ${fail_name[@]}"
53+
LOG "[FATAL] Failed tests: ${fail_name[@]}"
6254
echo ${fail_name[@]}
6355
exit -1
6456
fi
@@ -71,7 +63,7 @@ function summary_problems() {
7163
then
7264
LOG "[FATAL] ============================================"
7365
LOG "[FATAL] Summary problems:"
74-
LOG "[FATAL] === Sample validate error - Please fix the failed samples according to fatal log:"
66+
LOG "[FATAL] === API test error - Please fix the failed API tests accroding to fatal log:"
7567
LOG "[FATAL] $check_validation_info"
7668
exit $check_validation_code
7769
fi

0 commit comments

Comments
 (0)