Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 committed Sep 20, 2024
1 parent 94ace38 commit 065a304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/entrypoints/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def generate(
def generate(
self,
prompts: Union[PromptType, Sequence[PromptType]],
/, # We may enable `inputs` keyword after removing the old API
/,
*,
sampling_params: Optional[Union[SamplingParams,
Sequence[SamplingParams]]] = None,
Expand Down Expand Up @@ -498,7 +498,7 @@ def encode(
def encode(
self,
prompts: Union[PromptType, Sequence[PromptType]],
/, # We may enable `inputs` keyword after removing the old API
/,
*,
pooling_params: Optional[Union[PoolingParams,
Sequence[PoolingParams]]] = None,
Expand Down

0 comments on commit 065a304

Please sign in to comment.