From 0d70f6fb631f96af0fc7be746abc2906e8e378c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=93=AD?= <1223398803@qq.com> Date: Thu, 5 Mar 2026 19:49:27 +0800 Subject: [PATCH] [Fix] Fix eval stage is extremely slow --- opencompass/runners/local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opencompass/runners/local.py b/opencompass/runners/local.py index 2c1589d44..f32c24706 100644 --- a/opencompass/runners/local.py +++ b/opencompass/runners/local.py @@ -216,6 +216,7 @@ def _launch(self, task, gpu_ids, index): param_file = f'{pwd}/tmp/{uuid_str}_params.py' try: + object.__setattr__(task.cfg, "_format_python_code", False) task.cfg.dump(param_file) tmpl = get_command_template(gpu_ids) get_cmd = partial(task.get_command,