Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
s5u13b committed Oct 15, 2024
1 parent 6ffdb06 commit 5260f8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llumnix/backends/vllm/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def __init__(self, request_id, server_info, expected_steps: int, *args, **kwargs
def prompt_len(self) -> int:
return self.get_seqs()[0].get_prompt_len()

def is_finished(self) -> bool:
return self.get_seqs()[0].is_finished()

@property
def request_len(self) -> int:
return self.get_seqs()[0].get_len()
Expand Down

0 comments on commit 5260f8e

Please sign in to comment.