Skip to content

Commit b39e4b7

Browse files
committed
fix
1 parent 079c216 commit b39e4b7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/distribute/ci_case_auto.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4381,6 +4381,7 @@ function before_hook_for_gpt() {
43814381
}
43824382

43834383
function before_hook_for_llama() {
4384+
set -e
43844385
echo -e "\033[31m ---- Set FLAGS for LLaMA auto cases \033[0m"
43854386
cd ${llama_case_path}
43864387
export FLAGS_new_executor_micro_batching=True # True:打开新执行器
@@ -4430,6 +4431,7 @@ function before_hook_for_llama() {
44304431
}
44314432

44324433
function before_hook_for_deepseek() {
4434+
set -e
44334435
echo -e "\033[31m ---- Set FLAGS for LLaMA auto cases \033[0m"
44344436
cd ${deepseek_case_path}
44354437
export FLAGS_new_executor_micro_batching=True # True:打开新执行器

scripts/distribute/ci_case_dy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ function check_result() {
605605
}
606606

607607
function before_hook_for_gpt() {
608+
set -e
608609
echo -e "\033[31m ---- Set FLAGS for GPT dygraph cases \033[0m"
609610
cd ${gpt_case_path}
610611
env | grep FLAGS
@@ -710,6 +711,7 @@ function before_hook_for_gpt() {
710711
}
711712

712713
function before_hook_for_llm_gpt() {
714+
set -e
713715
echo -e "\033[31m ---- Set FLAGS for llm GPT cases \033[0m"
714716
cd ${llm_gpt_case_path}
715717
export FLAGS_cudnn_deterministic=1

0 commit comments

Comments
 (0)