From 073a7d9b86049afaae0563bd59480a8334b0e3bc Mon Sep 17 00:00:00 2001 From: zhangyubo0722 Date: Fri, 3 Mar 2023 08:23:41 +0000 Subject: [PATCH] add tipc config4 --- test_tipc/configs/DLA/DLA169_train_infer_python.txt | 7 +++++++ .../DeiT/DeiT_base_patch16_224_train_infer_python.txt | 9 ++++++++- .../DeiT/DeiT_tiny_patch16_224_train_infer_python.txt | 9 ++++++++- .../GhostNet/GhostNet_x1_3_train_infer_python.txt | 7 +++++++ test_tipc/configs/MixNet/MixNet_L_train_infer_python.txt | 7 +++++++ .../configs/ReXNet/ReXNet_1_0_train_infer_python.txt | 7 +++++++ .../configs/Twins/alt_gvt_small_train_infer_python.txt | 2 +- .../configs/Twins/pcpvt_small_train_infer_python.txt | 7 +++++++ 8 files changed, 52 insertions(+), 3 deletions(-) diff --git a/test_tipc/configs/DLA/DLA169_train_infer_python.txt b/test_tipc/configs/DLA/DLA169_train_infer_python.txt index e01a74cc..a6646202 100644 --- a/test_tipc/configs/DLA/DLA169_train_infer_python.txt +++ b/test_tipc/configs/DLA/DLA169_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:64 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file diff --git a/test_tipc/configs/DeiT/DeiT_base_patch16_224_train_infer_python.txt b/test_tipc/configs/DeiT/DeiT_base_patch16_224_train_infer_python.txt index fb44f6a7..9877a1d4 100644 --- a/test_tipc/configs/DeiT/DeiT_base_patch16_224_train_infer_python.txt +++ b/test_tipc/configs/DeiT/DeiT_base_patch16_224_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:256 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/DeiT/DeiT_tiny_patch16_224_train_infer_python.txt b/test_tipc/configs/DeiT/DeiT_tiny_patch16_224_train_infer_python.txt index b0d4efd1..cc60e29e 100644 --- a/test_tipc/configs/DeiT/DeiT_tiny_patch16_224_train_infer_python.txt +++ b/test_tipc/configs/DeiT/DeiT_tiny_patch16_224_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:256 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== -random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file +random_infer_input:[{float32,[3,224,224]}] diff --git a/test_tipc/configs/GhostNet/GhostNet_x1_3_train_infer_python.txt b/test_tipc/configs/GhostNet/GhostNet_x1_3_train_infer_python.txt index 769761b1..6e3f56d6 100644 --- a/test_tipc/configs/GhostNet/GhostNet_x1_3_train_infer_python.txt +++ b/test_tipc/configs/GhostNet/GhostNet_x1_3_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:512 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file diff --git a/test_tipc/configs/MixNet/MixNet_L_train_infer_python.txt b/test_tipc/configs/MixNet/MixNet_L_train_infer_python.txt index 66e9170f..400796ff 100644 --- a/test_tipc/configs/MixNet/MixNet_L_train_infer_python.txt +++ b/test_tipc/configs/MixNet/MixNet_L_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:64 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file diff --git a/test_tipc/configs/ReXNet/ReXNet_1_0_train_infer_python.txt b/test_tipc/configs/ReXNet/ReXNet_1_0_train_infer_python.txt index 63045f7d..57c3429c 100644 --- a/test_tipc/configs/ReXNet/ReXNet_1_0_train_infer_python.txt +++ b/test_tipc/configs/ReXNet/ReXNet_1_0_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:64 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file diff --git a/test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt b/test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt index d174ca3f..df3ad865 100644 --- a/test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt +++ b/test_tipc/configs/Twins/alt_gvt_small_train_infer_python.txt @@ -54,7 +54,7 @@ null:null batch_size:128 fp_items:fp32|fp16 epoch:1 -model_type:norm_train +model_type:norm_train|to_static_train --profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== diff --git a/test_tipc/configs/Twins/pcpvt_small_train_infer_python.txt b/test_tipc/configs/Twins/pcpvt_small_train_infer_python.txt index 61e25436..9af3deb2 100644 --- a/test_tipc/configs/Twins/pcpvt_small_train_infer_python.txt +++ b/test_tipc/configs/Twins/pcpvt_small_train_infer_python.txt @@ -50,5 +50,12 @@ inference:python/predict_cls.py -c configs/inference_cls.yaml -o Global.benchmark:False null:null null:null +===========================train_benchmark_params========================== +batch_size:128 +fp_items:fp32|fp16 +epoch:1 +model_type:norm_train|to_static_train +--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile +flags:FLAGS_eager_delete_tensor_gb=0.0;FLAGS_fraction_of_gpu_memory_to_use=0.98;FLAGS_conv_workspace_size_limit=4096 ===========================infer_benchmark_params========================== random_infer_input:[{float32,[3,224,224]}] \ No newline at end of file -- GitLab