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
b419937c
Unverified
Commit
b419937c
authored
Sep 19, 2025
by
Hyogeun Oh (오효근)
Committed by
GitHub
Sep 18, 2025
Browse files
[Docs] Fix warnings in mkdocs build (continued) (#25163)
Signed-off-by:
Zerohertz
<
ohg3417@gmail.com
>
parent
5f696c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
vllm/distributed/device_communicators/shm_object_storage.py
vllm/distributed/device_communicators/shm_object_storage.py
+1
-1
vllm/entrypoints/openai/serving_engine.py
vllm/entrypoints/openai/serving_engine.py
+2
-6
No files found.
vllm/distributed/device_communicators/shm_object_storage.py
View file @
b419937c
...
...
@@ -253,7 +253,7 @@ class SingleWriterShmRingBuffer:
Args:
nbytes (int, optional): The size of the buffer to free. If None,
frees the maximum size of the ring buffer.
frees the maximum size of the ring buffer.
'''
assert
self
.
is_writer
,
"Only the writer can free buffers."
...
...
vllm/entrypoints/openai/serving_engine.py
View file @
b419937c
...
...
@@ -697,9 +697,7 @@ class OpenAIServing:
add_special_tokens
:
bool
=
True
,
)
->
TextTokensPrompt
:
"""
A simpler implementation of
[`_tokenize_prompt_input_or_inputs`][vllm.entrypoints.openai.serving_engine.OpenAIServing._tokenize_prompt_input_or_inputs]
that assumes single input.
A simpler implementation that tokenizes a single prompt input.
"""
async
for
result
in
self
.
_tokenize_prompt_inputs_async
(
request
,
...
...
@@ -718,9 +716,7 @@ class OpenAIServing:
add_special_tokens
:
bool
=
True
,
)
->
AsyncGenerator
[
TextTokensPrompt
,
None
]:
"""
A simpler implementation of
[`_tokenize_prompt_input_or_inputs`][vllm.entrypoints.openai.serving_engine.OpenAIServing._tokenize_prompt_input_or_inputs]
that assumes multiple inputs.
A simpler implementation that tokenizes multiple prompt inputs.
"""
for
prompt
in
prompt_inputs
:
if
isinstance
(
prompt
,
str
):
...
...
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