Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
WoosukKwon committed Oct 21, 2024
1 parent f8f7d23 commit e5fb326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vllm/v1/engine/llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def start_profile(self) -> None:
def stop_profile(self) -> None:
pass

def get_tokenizer_group(self):
def get_tokenizer_group(self, *args, **kwargs):
return self.tokenizer


Expand Down
2 changes: 1 addition & 1 deletion vllm/v1/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class RequestOutput:
request_id: str
prompt: Optional[str]
prompt_token_ids: List[int]
prompt_logprobs: Optional[Dict[int, float]]
prompt_logprobs: Optional[List[Optional[Dict[int, float]]]]
outputs: List[CompletionOutput]
finished: bool
metrics: Optional[RequestMetrics] = None
Expand Down

0 comments on commit e5fb326

Please sign in to comment.