[executor] feat: add supports_pp attr to executors (#21786)
Signed-off-by: Haibin Lin <haibin.lin@bytedance.com>
This commit is contained in:
@@ -41,6 +41,8 @@ logger = init_logger(__name__)
|
||||
|
||||
class MultiprocExecutor(Executor):
|
||||
|
||||
supports_pp: bool = True
|
||||
|
||||
def _init_executor(self) -> None:
|
||||
# Call self.shutdown at exit to clean up
|
||||
# and ensure workers will be terminated.
|
||||
|
||||
Reference in New Issue
Block a user