Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI]update blacklist for gpt3 #9555

Merged
merged 9 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions scripts/distribute/ci_case_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,22 @@ function restore_func() {
rm "functions.txt"
echo "Deleted existing functions.txt"
fi
if [ ! -f "${log_path}/blacklist.csv" ]; then
wget -P ${log_path}/ https://paddle-qa.bj.bcebos.com/Auto-Parallel/blacklist.csv --no-proxy || exit 101
echo "\033 ---- wget blacklist.csv \033"
fi
blacklist_file=${log_path}/blacklist.csv
mapfile -t blacklist < "$blacklist_file"
for function in ${fun_list[@]};do
echo "$function" >> functions.txt
if [[ " ${blacklist[@]} " == *" ${function} "* ]]; then
echo "\033 ---- Function '$function' is blacklisted and will be skipped. \033"
else
echo "$function" >> functions.txt
fi
done
}



# NOTE: Please place the new tests as much as possible after the existing tests
function llama_case_list_auto() {
fun_list=(
Expand Down
12 changes: 11 additions & 1 deletion scripts/distribute/ci_case_dy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,18 @@ function restore_func() {
rm "functions.txt"
echo "Deleted existing functions.txt"
fi
if [ ! -f "${log_path}/blacklist.csv" ]; then
wget -P ${log_path}/ https://paddle-qa.bj.bcebos.com/Auto-Parallel/blacklist.csv --no-proxy || exit 101
echo "\033 ---- wget blacklist.csv \033"
fi
blacklist_file=${log_path}/blacklist.csv
mapfile -t blacklist < "$blacklist_file"
for function in ${fun_list[@]};do
echo "$function" >> functions.txt
if [[ " ${blacklist[@]} " == *" ${function} "* ]]; then
echo "\033 ---- Function '$function' is blacklisted and will be skipped. \033"
else
echo "$function" >> functions.txt
fi
done
}

Expand Down
3 changes: 1 addition & 2 deletions scripts/distribute/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ if [[ ${#case_list[*]} -ne 0 ]];then
# Install paddlenlp
install_paddlenlp
# Install external_ops
install_external_ops

install_external_ops
case_num=1
export FLAGS_install_deps=0
export FLAGS_download_data=""
Expand Down