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
0fb2551c
Unverified
Commit
0fb2551c
authored
Sep 17, 2025
by
Michael Yao
Committed by
GitHub
Sep 17, 2025
Browse files
[Docs] Fix griffe warning in base_static_graph.py (#25018)
Signed-off-by:
windsonsea
<
haifeng.yao@daocloud.io
>
parent
6c47f6bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
vllm/compilation/base_static_graph.py
vllm/compilation/base_static_graph.py
+8
-3
No files found.
vllm/compilation/base_static_graph.py
View file @
0fb2551c
...
...
@@ -12,8 +12,13 @@ class AbstractStaticGraphWrapper(Protocol):
to be captured as a static graph.
"""
def
__init__
(
self
,
runnable
:
Callable
,
vllm_config
:
VllmConfig
,
runtime_mode
:
CUDAGraphMode
,
**
kwargs
):
def
__init__
(
self
,
runnable
:
Callable
[...,
Any
],
vllm_config
:
VllmConfig
,
runtime_mode
:
CUDAGraphMode
,
**
kwargs
:
Any
,
)
->
None
:
"""
Initializes the StaticGraphWrapper class with graph capturing and
execution-related configurations.
...
...
@@ -31,7 +36,7 @@ class AbstractStaticGraphWrapper(Protocol):
"""
raise
NotImplementedError
def
__call__
(
self
,
*
args
,
**
kwargs
)
->
Any
:
def
__call__
(
self
,
*
args
:
Any
,
**
kwargs
:
Any
)
->
Any
:
"""
Executes the wrapped callable.
...
...
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