From 4ea64d283a31cad88562da74a06798df68f5a8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=89=B9=E9=A9=B9?= Date: Sat, 17 May 2025 16:46:19 +0800 Subject: [PATCH 1/4] =?UTF-8?q?[bugfix][PyTorch][Fairseq=5FTransformer]=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfull=5F8p=5Ffp16=E8=AE=AD=E7=BB=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/train_full_8p_fp16.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/built-in/nlp/Fairseq_Transformer_wmt18_for_PyTorch/test/train_full_8p_fp16.sh b/PyTorch/built-in/nlp/Fairseq_Transformer_wmt18_for_PyTorch/test/train_full_8p_fp16.sh index 42451b6220..c95ae71393 100644 --- a/PyTorch/built-in/nlp/Fairseq_Transformer_wmt18_for_PyTorch/test/train_full_8p_fp16.sh +++ b/PyTorch/built-in/nlp/Fairseq_Transformer_wmt18_for_PyTorch/test/train_full_8p_fp16.sh @@ -133,7 +133,7 @@ echo "Final Performance words/sec : $WPS" echo "train_wall : $TRAIN_WALL" #输出训练精度,需要模型审视修改 -train_accuracy=`grep 'valid ' ${test_path_dir}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log|awk -F "best_bleu" '{print $NF}'|awk -F "best_bleu" '{print $1}'|awk -F "," '{print $1}'|awk 'END {print}'` +train_accuracy=`grep 'best_bleu' ${test_path_dir}/output/${ASCEND_DEVICE_ID}/train_${ASCEND_DEVICE_ID}.log | tail -n1 | awk -F 'best_bleu ' '{print $2}'` #打印,不需要修改 echo "Final Train Accuracy : ${train_accuracy}" echo "E2E Training Duration sec : $e2e_time" -- Gitee From 3d92631e65426f1b54579fa1b37728e9ae98926f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=89=B9=E9=A9=B9?= Date: Sat, 17 May 2025 16:49:33 +0800 Subject: [PATCH 2/4] =?UTF-8?q?[bugfix][PyTorch][albert]=20=E6=8F=90?= =?UTF-8?q?=E9=AB=98numpy=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyTorch/contrib/nlp/albert_ID0335_for_PyTorch/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/nlp/albert_ID0335_for_PyTorch/requirements.txt b/PyTorch/contrib/nlp/albert_ID0335_for_PyTorch/requirements.txt index 49d62263c6..7136ba31e1 100644 --- a/PyTorch/contrib/nlp/albert_ID0335_for_PyTorch/requirements.txt +++ b/PyTorch/contrib/nlp/albert_ID0335_for_PyTorch/requirements.txt @@ -5,6 +5,6 @@ boto3==1.17.97 botocore==1.20.97 requests==2.25.1 tqdm==4.61.1 -numpy==1.20.2 +numpy==1.23.4 matplotlib==3.4.3 scikit_learn==0.24.2 -- Gitee From ffb6ff526d15f67a1f1d221f520f0dfbf1d3ec51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=89=B9=E9=A9=B9?= Date: Sat, 17 May 2025 16:56:51 +0800 Subject: [PATCH 3/4] =?UTF-8?q?[bugfix][PyTorch][roberta]=20=E6=8F=90?= =?UTF-8?q?=E9=AB=982.0=5Frequirements.txt=E7=9A=84typing-extensions?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PyTorch/contrib/nlp/roberta_for_PyTorch/2.0_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/nlp/roberta_for_PyTorch/2.0_requirements.txt b/PyTorch/contrib/nlp/roberta_for_PyTorch/2.0_requirements.txt index 4d7d46b5b5..97b7cf8219 100644 --- a/PyTorch/contrib/nlp/roberta_for_PyTorch/2.0_requirements.txt +++ b/PyTorch/contrib/nlp/roberta_for_PyTorch/2.0_requirements.txt @@ -14,5 +14,5 @@ regex==2021.7.6 sacrebleu==1.5.1 tabulate==0.8.9 tqdm==4.62.2 -typing-extensions==3.10.0.2 +typing-extensions==4.9.0 zipp==3.5.0 \ No newline at end of file -- Gitee From fdd04c12e84cc6818a44d3eda457e9eb1a52babd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=89=B9=E9=A9=B9?= Date: Mon, 19 May 2025 15:18:53 +0800 Subject: [PATCH 4/4] =?UTF-8?q?[bugfix][PyTorch][HRNet]=20=E6=8F=90?= =?UTF-8?q?=E9=AB=98shapely=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cv/classification/HRNet_ID1780_for_PyTorch/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTorch/contrib/cv/classification/HRNet_ID1780_for_PyTorch/requirements.txt b/PyTorch/contrib/cv/classification/HRNet_ID1780_for_PyTorch/requirements.txt index 09cbc34310..6dbac0eb3c 100644 --- a/PyTorch/contrib/cv/classification/HRNet_ID1780_for_PyTorch/requirements.txt +++ b/PyTorch/contrib/cv/classification/HRNet_ID1780_for_PyTorch/requirements.txt @@ -1,6 +1,6 @@ EasyDict==1.7 opencv-python==4.4.0.46 -shapely==1.6.4 +shapely==2.0.7 Cython==0.29.15 scipy==1.3.3 pandas==1.1.4 -- Gitee