Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
83481ceb
Unverified
Commit
83481ceb
authored
Feb 14, 2025
by
Xu Song
Committed by
GitHub
Feb 14, 2025
Browse files
[Bugfix] Fix missing parentheses (#13263)
parent
185cc19f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/sequence.py
vllm/sequence.py
+2
-2
No files found.
vllm/sequence.py
View file @
83481ceb
...
@@ -381,7 +381,7 @@ class SequenceData(msgspec.Struct,
...
@@ -381,7 +381,7 @@ class SequenceData(msgspec.Struct,
f
"prompt_token_ids=
{
self
.
_prompt_token_ids
}
, "
f
"prompt_token_ids=
{
self
.
_prompt_token_ids
}
, "
f
"output_token_ids=
{
self
.
output_token_ids
}
, "
f
"output_token_ids=
{
self
.
output_token_ids
}
, "
f
"cumulative_logprob=
{
self
.
cumulative_logprob
}
, "
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
:
class
Sequence
:
...
@@ -606,7 +606,7 @@ class Sequence:
...
@@ -606,7 +606,7 @@ class Sequence:
def
__repr__
(
self
)
->
str
:
def
__repr__
(
self
)
->
str
:
return
(
f
"Sequence(seq_id=
{
self
.
seq_id
}
, "
return
(
f
"Sequence(seq_id=
{
self
.
seq_id
}
, "
f
"status=
{
self
.
status
.
name
}
, "
f
"status=
{
self
.
status
.
name
}
, "
f
"num_blocks=
{
self
.
n_blocks
}
,
"
)
f
"num_blocks=
{
self
.
n_blocks
}
)
"
)
class
SequenceGroupState
(
msgspec
.
Struct
,
class
SequenceGroupState
(
msgspec
.
Struct
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment