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
7f6c5ee0
Unverified
Commit
7f6c5ee0
authored
Mar 16, 2025
by
Woosuk Kwon
Committed by
GitHub
Mar 16, 2025
Browse files
[V1][Minor] Add __repr__ to ConstantList (#14907)
Signed-off-by:
Woosuk Kwon
<
woosuk.kwon@berkeley.edu
>
parent
faa02757
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/v1/utils.py
vllm/v1/utils.py
+3
-0
No files found.
vllm/v1/utils.py
View file @
7f6c5ee0
...
...
@@ -86,6 +86,9 @@ class ConstantList(Generic[T], Sequence):
def
__len__
(
self
):
return
len
(
self
.
_x
)
def
__repr__
(
self
):
return
f
"ConstantList(
{
self
.
_x
}
)"
class
BackgroundProcHandle
:
"""
...
...
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