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
e3f3aee6
Unverified
Commit
e3f3aee6
authored
May 15, 2025
by
Nicolò Lucchesi
Committed by
GitHub
May 15, 2025
Browse files
[Misc] Avoid cuda graph log when sizes still match (#18202)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
92540529
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
vllm/config.py
vllm/config.py
+6
-5
No files found.
vllm/config.py
View file @
e3f3aee6
...
...
@@ -3950,11 +3950,12 @@ class CompilationConfig:
self
.
cudagraph_capture_sizes
=
cudagraph_capture_sizes
else
:
# de-duplicate the sizes provided by the config
self
.
cudagraph_capture_sizes
=
list
(
set
(
self
.
cudagraph_capture_sizes
)
)
dedup_sizes
=
list
(
set
(
self
.
cudagraph_capture_sizes
))
if
len
(
dedup_sizes
)
<
len
(
self
.
cudagraph_capture_sizes
)
:
logger
.
info
((
"cudagraph sizes specified by model runner"
" %s is overridden by config %s"
),
cudagraph_capture_sizes
,
self
.
cudagraph_capture_sizes
)
cudagraph_capture_sizes
,
dedup_sizes
)
self
.
cudagraph_capture_sizes
=
dedup_sizes
computed_compile_sizes
=
[]
if
self
.
compile_sizes
is
not
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