Skip to content

Commit

Permalink
fix auto_parallel CI exit -6 (PaddlePaddle#65909)
Browse files Browse the repository at this point in the history
  • Loading branch information
fightfat authored Jul 11, 2024
1 parent 92989e9 commit f3d4a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/auto_parallel/ci_auto_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ done
}

print_info(){
if [ $1 -ne 0 ];then
#解决异常退出-6的问题,CI中的偶现问题,无法发现
if [[ $1 -ne 0 ]] && [[ $1 -ne 250 ]];then
EXCODE=2
if [ ! -f ${log_path}/$2 ];then
echo -e "\033[31m run $2 CI FAIL \033"
Expand Down

0 comments on commit f3d4a62

Please sign in to comment.