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
13dd93c6
Unverified
Commit
13dd93c6
authored
Sep 25, 2025
by
Russell Bryant
Committed by
GitHub
Sep 25, 2025
Browse files
[Core] Force PIECEWISE CUDAGraph mode for encoder-decoder (#25701)
Signed-off-by:
Russell Bryant
<
rbryant@redhat.com
>
parent
53a30845
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/config/__init__.py
vllm/config/__init__.py
+4
-2
No files found.
vllm/config/__init__.py
View file @
13dd93c6
...
@@ -364,9 +364,11 @@ class VllmConfig:
...
@@ -364,9 +364,11 @@ class VllmConfig:
self
.
compilation_config
.
cudagraph_mode
=
\
self
.
compilation_config
.
cudagraph_mode
=
\
CUDAGraphMode
.
FULL_AND_PIECEWISE
CUDAGraphMode
.
FULL_AND_PIECEWISE
# pooling model does not support full cudagraphs
# pooling models and encoder-decoder models
# do not support full cudagraphs
if
self
.
model_config
is
not
None
and
\
if
self
.
model_config
is
not
None
and
\
self
.
model_config
.
pooler_config
is
not
None
:
(
self
.
model_config
.
pooler_config
is
not
None
or
self
.
model_config
.
is_encoder_decoder
):
self
.
compilation_config
.
cudagraph_mode
=
\
self
.
compilation_config
.
cudagraph_mode
=
\
CUDAGraphMode
.
PIECEWISE
CUDAGraphMode
.
PIECEWISE
else
:
else
:
...
...
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