From 1f7c45e0ef06c6f7ffdae4363ae76646319b4f71 Mon Sep 17 00:00:00 2001 From: yongchao1 <297389370@qq.com> Date: Fri, 10 Feb 2023 07:44:47 +0000 Subject: [PATCH 1/2] add TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh. Signed-off-by: yongchao1 <297389370@qq.com> --- .../nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh diff --git a/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh b/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh new file mode 100644 index 000000000..55087d862 --- /dev/null +++ b/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/set_conda.sh @@ -0,0 +1,2 @@ +export PATH=/home/anaconda3/bin:$PATH +export LD_LIBRARY_PATH=/home/anaconda3/lib:$LD_LIBRARY_PATH \ No newline at end of file -- Gitee From f3397d6660ae74f320ac9a6314e7eddd88b97808 Mon Sep 17 00:00:00 2001 From: yongchao1 <297389370@qq.com> Date: Fri, 10 Feb 2023 07:48:45 +0000 Subject: [PATCH 2/2] update /built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/train_performance_8p_192bs_bucket.sh. Signed-off-by: yongchao1 <297389370@qq.com> --- .../test/train_performance_8p_192bs_bucket.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/train_performance_8p_192bs_bucket.sh b/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/train_performance_8p_192bs_bucket.sh index bb44c5f9a..28144e763 100644 --- a/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/train_performance_8p_192bs_bucket.sh +++ b/TensorFlow2/built-in/nlp/BertLarge_ID0634_for_TensorFlow2.X/test/train_performance_8p_192bs_bucket.sh @@ -79,6 +79,10 @@ do elif [[ $para == --bind_core* ]]; then bind_core=`echo ${para#*=}` name_bind="_bindcore" + elif [[ $para == --conda_name* ]];then + conda_name=`echo ${para#*=}` + source set_conda.sh + source activate $conda_name fi done -- Gitee