Skip to content

Commit

Permalink
[CI] add fast gpt test (#4432)
Browse files Browse the repository at this point in the history
* add opencv-contrib-python

* enable Faster gpt transformer

* add FT FG test

* fix fast path

* update

* disable  new model_zoo test

* disable gpt

* add fast gpt
  • Loading branch information
zjjlivein committed Jan 11, 2023
1 parent 37dc101 commit 2ecdb66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion scripts/regression/ci_case.sh
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,10 @@ else
pytest ${nlp_dir}/model_zoo/gpt/ >${log_path}/gpt >>${log_path}/gpt 2>&1
print_info $? gpt
fi

fast_gpt
cd ${nlp_dir}/fast_generation/samples
python gpt_sample.py >${log_path}/fast_generation_gpt >>${log_path}/fast_generation_gpt 2>&1
print_info $? fast_generation_gpt
}
# 9 ernie-1.0
ernie-1.0 (){
Expand Down
2 changes: 1 addition & 1 deletion scripts/regression/run_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export all_P0case_time=0
declare -A all_P0case_dic
get_diff_TO_P0case(){
if [[ ${Testcase} =~ "all" ]];then
P0case_list=(waybill_ie msra_ner glue bert skep bigbird electra gpt ernie-1.0 xlnet ofa squad tinybert lexical_analysis seq2seq \
P0case_list=(waybill_ie msra_ner glue bert skep bigbird electra ernie-1.0 xlnet ofa squad tinybert lexical_analysis seq2seq \
word_embedding ernie-ctm distilbert stacl transformer simbert ernie-doc transformer-xl pointer_summarizer question_matching ernie-csc \
nptag ernie-m clue taskflow transformers fast_generation ernie-3.0)
elif [[ ${Testcase} =~ "p0" ]];then
Expand Down

0 comments on commit 2ecdb66

Please sign in to comment.