Unverified Commit d4902ba5 authored by wangxiyuan's avatar wangxiyuan Committed by GitHub
Browse files

[Misc] Cleanup Executor interface (#28441)


Signed-off-by: default avatarwangxiyuan <wangxiyuan1007@gmail.com>
parent df4d3a44
......@@ -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.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment