From 89e0e8e803ad055fca188a513d06dfb300d0a8ea Mon Sep 17 00:00:00 2001 From: zjgemi Date: Fri, 26 Jan 2024 09:20:37 +0800 Subject: [PATCH] allow executor in debug mode Signed-off-by: zjgemi --- dpgen2/utils/step_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpgen2/utils/step_config.py b/dpgen2/utils/step_config.py index ed295b09..591f474e 100644 --- a/dpgen2/utils/step_config.py +++ b/dpgen2/utils/step_config.py @@ -157,7 +157,7 @@ def gen_doc(*, make_anchor=True, make_link=True, **kwargs): def init_executor( executor_dict, ): - if executor_dict is None or config["mode"] == "debug": + if executor_dict is None: return None etype = executor_dict.pop("type") if etype == "dispatcher":