mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-15 05:47:02 +08:00
[Bugfix] Fix missing parentheses (#13263)
This commit is contained in:
parent
185cc19f92
commit
83481ceb49
@ -381,7 +381,7 @@ class SequenceData(msgspec.Struct,
|
||||
f"prompt_token_ids={self._prompt_token_ids}, "
|
||||
f"output_token_ids={self.output_token_ids}, "
|
||||
f"cumulative_logprob={self.cumulative_logprob}, "
|
||||
f"get_num_computed_tokens={self.get_num_computed_tokens()}")
|
||||
f"get_num_computed_tokens={self.get_num_computed_tokens()})")
|
||||
|
||||
|
||||
class Sequence:
|
||||
@ -606,7 +606,7 @@ class Sequence:
|
||||
def __repr__(self) -> str:
|
||||
return (f"Sequence(seq_id={self.seq_id}, "
|
||||
f"status={self.status.name}, "
|
||||
f"num_blocks={self.n_blocks}, ")
|
||||
f"num_blocks={self.n_blocks})")
|
||||
|
||||
|
||||
class SequenceGroupState(msgspec.Struct,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user