File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4381,6 +4381,7 @@ function before_hook_for_gpt() {
43814381}
43824382
43834383function 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
44324433function 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:打开新执行器
Original file line number Diff line number Diff line change @@ -605,6 +605,7 @@ function check_result() {
605605}
606606
607607function 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
712713function 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
You can’t perform that action at this time.
0 commit comments