From d484591ef0fab89c86e49b5ecffa41a1542c9ccc Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Thu, 10 Nov 2022 10:23:28 +0000 Subject: [PATCH 1/5] update TensorFlow/built-in/cv/image_classification/VGG16_ID0068_for_TensorFlow/vgg16/trainer.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../VGG16_ID0068_for_TensorFlow/vgg16/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/cv/image_classification/VGG16_ID0068_for_TensorFlow/vgg16/trainer.py b/TensorFlow/built-in/cv/image_classification/VGG16_ID0068_for_TensorFlow/vgg16/trainer.py index 12b81531c..07dbfe97b 100644 --- a/TensorFlow/built-in/cv/image_classification/VGG16_ID0068_for_TensorFlow/vgg16/trainer.py +++ b/TensorFlow/built-in/cv/image_classification/VGG16_ID0068_for_TensorFlow/vgg16/trainer.py @@ -40,7 +40,7 @@ class Trainer(object): from npu_bridge.estimator.npu.npu_estimator import NPUEstimator run_config = NPURunConfig( - auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), + #auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), hcom_parallel=True, precision_mode="allow_mix_precision", enable_data_pre_proc=True, -- Gitee From 29417d8a04a5b9c1ed9cfebf0f4acdc1a0b77663 Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Thu, 10 Nov 2022 10:26:22 +0000 Subject: [PATCH 2/5] update EfficientNet_B0_ID0009_for_TensorFlow/efficientnet/main_npu.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../efficientnet/main_npu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/efficientnet/main_npu.py b/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/efficientnet/main_npu.py index e8131ad31..6c4560105 100644 --- a/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/efficientnet/main_npu.py +++ b/TensorFlow/built-in/cv/image_classification/EfficientNet_B0_ID0009_for_TensorFlow/efficientnet/main_npu.py @@ -684,7 +684,7 @@ def main(unused_argv): os.environ['TF_ENABLE_WINOGRAD_NONFUSED'] = '1' config = NPURunConfig( - auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), + #auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), hcom_parallel=True, precision_mode="allow_mix_precision", enable_data_pre_proc=True, -- Gitee From 17eb42fa83ada569d18f88d43f5db0655c24880b Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Thu, 10 Nov 2022 10:29:54 +0000 Subject: [PATCH 3/5] update TensorFlow/built-in/nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py b/TensorFlow/built-in/nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py index 5ae6f4eed..3104db37e 100644 --- a/TensorFlow/built-in/nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py +++ b/TensorFlow/built-in/nlp/BertNV_Series_for_TensorFlow/src/run_classifier.py @@ -614,7 +614,7 @@ def main(_): precision_mode=FLAGS.precision_mode, keep_checkpoint_max=5, log_step_count_steps=10, - auto_tune_mode=auto_tune_mode, + #auto_tune_mode=auto_tune_mode, profiling_config=profiling_config, dump_config=dump_config ) -- Gitee From 0f29a4e57a680640b87113d2fef07cb47d7db0f6 Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Thu, 10 Nov 2022 10:33:15 +0000 Subject: [PATCH 4/5] update TensorFlow/built-in/nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/built-in/nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py b/TensorFlow/built-in/nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py index 297fac09f..454503ad0 100644 --- a/TensorFlow/built-in/nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py +++ b/TensorFlow/built-in/nlp/BertCOLA_ID1629_for_TensorFlow/run_classifier.py @@ -922,7 +922,7 @@ def main(_): hcom_parallel=True, precision_mode=FLAGS.precision_mode, keep_checkpoint_max=5, - auto_tune_mode=auto_tune_mode, + #auto_tune_mode=auto_tune_mode, profiling_config=profiling_config, dump_config=dump_config ) -- Gitee From ef2a16e42af298f2e4b2cf25178f5bb0ec46a4af Mon Sep 17 00:00:00 2001 From: jiangxing001 <1484736931@qq.com> Date: Thu, 10 Nov 2022 10:37:00 +0000 Subject: [PATCH 5/5] update TensorFlow/contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py. Signed-off-by: jiangxing001 <1484736931@qq.com> --- .../contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TensorFlow/contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py b/TensorFlow/contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py index 79895712d..0057db0f1 100644 --- a/TensorFlow/contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py +++ b/TensorFlow/contrib/cv/VGG19_ID0374_for_TensorFlow/vgg19/trainer.py @@ -40,7 +40,7 @@ class Trainer(object): from npu_bridge.estimator.npu.npu_estimator import NPUEstimator run_config = NPURunConfig( - auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), + #auto_tune_mode=os.getenv("FLAG_AUTOTUNE"), hcom_parallel=True, precision_mode="allow_mix_precision", enable_data_pre_proc=True, -- Gitee