From a0ff2a6ff60fb094d189e5007480012b236475e4 Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Mon, 15 Jul 2024 23:35:50 +0000 Subject: [PATCH] wip --- superbench/executor/executor.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/superbench/executor/executor.py b/superbench/executor/executor.py index 3f61385cc..c4a812a9c 100644 --- a/superbench/executor/executor.py +++ b/superbench/executor/executor.py @@ -240,7 +240,9 @@ def exec(self): model, platform=self.__get_platform(), framework=Framework(framework.lower()), - parameters=self.__get_arguments({} if 'parameters' not in benchmark_config else benchmark_config.parameters) + parameters=self.__get_arguments( + {} if 'parameters' not in benchmark_config else benchmark_config.parameters + ) ) result = self.__exec_benchmark(full_name, context) benchmark_results.append(result) @@ -251,7 +253,9 @@ def exec(self): benchmark_real_name, platform=self.__get_platform(), framework=Framework(framework.lower()), - parameters=self.__get_arguments({} if 'parameters' not in benchmark_config else benchmark_config.parameters) + parameters=self.__get_arguments( + {} if 'parameters' not in benchmark_config else benchmark_config.parameters + ) ) result = self.__exec_benchmark(full_name, context) benchmark_results.append(result)