Skip to content

Commit

Permalink
[V1] Enable profile for LLMEngine (vllm-project#10665)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikunshang authored and weilong.yu committed Dec 13, 2024
1 parent 7b4d327 commit 849fddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vllm/v1/engine/llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ def step(self) -> List[RequestOutput]:
# TODO(rob): Can we get rid of these?

def get_model_config(self):
pass
return self.model_config

def start_profile(self):
pass
self.engine_core.profile(True)

def stop_profile(self):
pass
self.engine_core.profile(False)

def get_tokenizer_group(self, group_type):
pass

0 comments on commit 849fddd

Please sign in to comment.