Skip to content

Commit

Permalink
Fix ci not set no_proxy and modify tests in pir mode (#9205)
Browse files Browse the repository at this point in the history
  • Loading branch information
fightfat authored Sep 27, 2024
1 parent 0289118 commit 1694d7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/distribute/ci_case_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ function llama_dy2st_auto_bs4_bf16_DP1-MP1-PP4-SD2-VPP3_split_bw() {

export CUDA_DEVICE_MAX_CONNECTIONS=1
export PARALLEL_CROSS_ENTROPY=true
export FLAGS_enable_pir_api=False # 暂时disable pir,后期修复后打开 @卢畅

task_name="llama_dy2st_auto_bs4_bf16_DP1-MP1-PP4-SD2-VPP3_split_bw"
case_out_dir="output/$task_name"
Expand Down Expand Up @@ -2256,6 +2257,7 @@ function before_hook_for_gpt() {
env | grep FLAGS
export http_proxy=${proxy}
export https_proxy=${proxy}
export no_proxy=bcebos.com
if [[ $FLAGS_install_deps == 0 ]];then
echo -e "\033[31m ---- Install requirements for GPT auto cases \033[0m"
cp requirements.txt requirements_nlp.txt
Expand Down Expand Up @@ -2297,6 +2299,7 @@ function before_hook_for_llama() {
env | grep FLAGS
export http_proxy=${proxy}
export https_proxy=${proxy}
export no_proxy=bcebos.com
python -m pip install -r $root_path/requirements.txt
python -m pip install -r $root_path/requirements-dev.txt
if [[ ! $FLAGS_download_data =~ "llama" ]];then
Expand Down
4 changes: 3 additions & 1 deletion scripts/distribute/ci_case_dy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function gpt_case_list_dygraph(){
gpt_generation_345M_single
gpt_generation_345M_hybrid
gpt_345M_mp8_qat
gpt_export_345M_mp1
# gpt_export_345M_mp1
# gpt_export_345M_mp2
# gpt_export_qat_345M
# gpt_inference_345M_single
Expand Down Expand Up @@ -512,6 +512,7 @@ function before_hook_for_gpt() {
env | grep FLAGS
export http_proxy=${proxy}
export https_proxy=${proxy}
export no_proxy=bcebos.com
if [[ $FLAGS_install_deps == 0 ]];then
echo -e "\033[31m ---- Install requirements for GPT dygraph cases \033[0m"
cp requirements.txt requirements_nlp.txt
Expand Down Expand Up @@ -619,6 +620,7 @@ function before_hook_for_llm_gpt() {
env | grep FLAGS
export http_proxy=${proxy}
export https_proxy=${proxy}
export no_proxy=bcebos.com
python -m pip install -r $root_path/requirements.txt
python -m pip install -r $root_path/requirements-dev.txt
if [[ ! $FLAGS_download_data =~ "llm_gpt" ]];then
Expand Down

0 comments on commit 1694d7c

Please sign in to comment.