[misc] [doc] [frontend] LLM torch profiler support (#7943)
This commit is contained in:
@@ -169,6 +169,12 @@ class GPUExecutor(ExecutorBase):
|
||||
# it's running.
|
||||
return
|
||||
|
||||
def start_profile(self) -> None:
|
||||
self.driver_worker.start_profile()
|
||||
|
||||
def stop_profile(self) -> None:
|
||||
self.driver_worker.stop_profile()
|
||||
|
||||
|
||||
class GPUExecutorAsync(GPUExecutor, ExecutorAsyncBase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user