[Misc] Cleanup Executor interface (#28441)

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan 2025-11-12 06:28:07 +08:00 committed by GitHub
parent df4d3a44a8
commit d4902ba56d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,12 +294,6 @@ class Executor(ABC):
"""Reset the multi-modal cache in each worker."""
self.collective_rpc("reset_mm_cache")
def start_profile(self) -> None:
self.collective_rpc("start_profile")
def stop_profile(self) -> None:
self.collective_rpc("stop_profile")
def sleep(self, level: int = 1):
if self.is_sleeping:
logger.warning("Executor is already sleeping.")