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
b00e69f8
Unverified
Commit
b00e69f8
authored
Aug 26, 2025
by
Harry Mellor
Committed by
GitHub
Aug 26, 2025
Browse files
Fix nits from #20059 (#23548)
Signed-off-by:
Harry Mellor
<
19981378+hmellor@users.noreply.github.com
>
parent
50fede66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
vllm/config/compilation.py
vllm/config/compilation.py
+6
-8
No files found.
vllm/config/compilation.py
View file @
b00e69f8
...
@@ -225,7 +225,8 @@ class CompilationConfig:
...
@@ -225,7 +225,8 @@ class CompilationConfig:
# CudaGraph compilation
# CudaGraph compilation
cudagraph_mode
:
Optional
[
CUDAGraphMode
]
=
None
cudagraph_mode
:
Optional
[
CUDAGraphMode
]
=
None
"""
"""
The mode of the cudagraph.
The mode of the cudagraph:
- NONE, no cudagraph capture.
- NONE, no cudagraph capture.
- PIECEWISE. (v1 default)
- PIECEWISE. (v1 default)
- FULL.
- FULL.
...
@@ -384,13 +385,10 @@ class CompilationConfig:
...
@@ -384,13 +385,10 @@ class CompilationConfig:
if
pass_config_exclude
:
if
pass_config_exclude
:
exclude
[
"pass_config"
]
=
pass_config_exclude
exclude
[
"pass_config"
]
=
pass_config_exclude
# The cast to string is necessary because Pydantic is mocked in docs
return
TypeAdapter
(
CompilationConfig
).
dump_json
(
# builds and sphinx-argparse doesn't know the return type of decode()
self
,
return
str
(
exclude
=
exclude
,
# type: ignore[arg-type]
TypeAdapter
(
CompilationConfig
).
dump_json
(
exclude_unset
=
True
).
decode
()
self
,
exclude
=
exclude
,
# type: ignore[arg-type]
exclude_unset
=
True
).
decode
())
__str__
=
__repr__
__str__
=
__repr__
...
...
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