mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
[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
This commit is contained in:
@@ -285,12 +285,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
gpu_id = args.device_id
|
gpu_id = args.device_id
|
||||||
enable_collect_memory_info = args.enable_collect_memory_info
|
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()
|
dump_result = dict()
|
||||||
end2end_statis = list()
|
|
||||||
prepost_statis = list()
|
|
||||||
h2d_d2h_statis = list()
|
|
||||||
cpu_mem = list()
|
cpu_mem = list()
|
||||||
gpu_mem = list()
|
gpu_mem = list()
|
||||||
gpu_util = list()
|
gpu_util = list()
|
||||||
|
Reference in New Issue
Block a user