From a18cc0f94cc4e7bf876f9da7f955ea79c07c0a35 Mon Sep 17 00:00:00 2001 From: DefTruth <31974251+DefTruth@users.noreply.github.com> Date: Tue, 7 Feb 2023 16:37:13 +0800 Subject: [PATCH] [Benchmark] remove redundant args in benchmark_ppdet (#1238) * [backend] support bechmark mode for runtime and backend * [backend] support bechmark mode for runtime and backend * [pybind11] add benchmark methods pybind * [pybind11] add benchmark methods pybind * [Other] Update build scripts * [Other] Update cmake/summary.cmake * [Other] update build scripts * [Other] add ENABLE_BENCHMARK option -> setup.py * optimize backend time recording * optimize backend time recording * optimize trt backend time record * [backend] optimze backend_time recording for trt * [benchmark] remove redundant logs * fixed ov_backend confilct * [benchmark] fixed paddle_backend conflicts * [benchmark] fixed paddle_backend conflicts * [benchmark] fixed paddle_backend conflicts * [benchmark] remove use_gpu option from ort backend option * [benchmark] update benchmark_ppdet.py * [benchmark] update benchmark_ppcls.py * fixed lite backend conflicts * [Lite] fixed lite xpu * add benchmark macro * add RUNTIME_PROFILE_LOOP macros * add comments for RUNTIME_PROFILE macros * add comments for new apis * add comments for new apis * update benchmark_ppdet.py * afixed bugs * remove unused codes * optimize RUNTIME_PROFILE_LOOP macros * optimize RUNTIME_PROFILE_LOOP macros * add comments for benchmark option and result * add docs for benchmark namespace * remove redundant args in benchmark_ppdet --- benchmark/benchmark_ppdet.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/benchmark/benchmark_ppdet.py b/benchmark/benchmark_ppdet.py index ab25a1da4..eb0b0f4a8 100755 --- a/benchmark/benchmark_ppdet.py +++ b/benchmark/benchmark_ppdet.py @@ -285,12 +285,7 @@ if __name__ == '__main__': gpu_id = args.device_id enable_collect_memory_info = args.enable_collect_memory_info - enable_record_time_of_backend = args.enable_record_time_of_backend - backend_repeat = args.backend_repeat dump_result = dict() - end2end_statis = list() - prepost_statis = list() - h2d_d2h_statis = list() cpu_mem = list() gpu_mem = list() gpu_util = list()