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
ebf6ef1a
Unverified
Commit
ebf6ef1a
authored
Oct 08, 2025
by
Zhuohan Li
Committed by
GitHub
Oct 08, 2025
Browse files
[Minor] Change warning->warning_once in preprocess (#26455)
Signed-off-by:
Zhuohan Li
<
zhuohan123@gmail.com
>
parent
0c52d6ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/inputs/preprocess.py
vllm/inputs/preprocess.py
+2
-2
No files found.
vllm/inputs/preprocess.py
View file @
ebf6ef1a
...
...
@@ -69,7 +69,7 @@ class InputPreprocessor:
def
get_bos_token_id
(
self
)
->
Optional
[
int
]:
if
self
.
tokenizer
is
None
:
logger
.
warning
(
logger
.
warning
_once
(
"Using None for BOS token id because tokenizer is not initialized"
)
return
None
...
...
@@ -78,7 +78,7 @@ class InputPreprocessor:
def
get_eos_token_id
(
self
)
->
Optional
[
int
]:
if
self
.
tokenizer
is
None
:
logger
.
warning
(
logger
.
warning
_once
(
"Using None for EOS token id because tokenizer is not initialized"
)
return
None
...
...
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