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
69db16a4
Unverified
Commit
69db16a4
authored
Mar 26, 2025
by
Chenyaaang
Committed by
GitHub
Mar 27, 2025
Browse files
add platform check back (#15578)
Signed-off-by:
Chenyaaang
<
llccyy1212@gmail.com
>
parent
ce78f9af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/v1/engine/processor.py
vllm/v1/engine/processor.py
+3
-0
No files found.
vllm/v1/engine/processor.py
View file @
69db16a4
...
...
@@ -137,6 +137,9 @@ class Processor:
f
" !=
{
engine_level_backend
}
"
)
else
:
params
.
guided_decoding
.
backend
=
engine_level_backend
import
vllm.platforms
if
vllm
.
platforms
.
current_platform
.
is_tpu
():
raise
ValueError
(
"Structured output is not supported on TPU."
)
# Request content validation
...
...
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