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
ffb3d553
Unverified
Commit
ffb3d553
authored
Feb 12, 2026
by
Xinyu Chen
Committed by
GitHub
Feb 11, 2026
Browse files
[Model Runner V2] Init cuda graph pool when necessary (#33217)
Signed-off-by:
Xinyu Chen
<
xinyu1.chen@intel.com
>
parent
fa7e0bfa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
vllm/v1/worker/gpu/cudagraph_utils.py
vllm/v1/worker/gpu/cudagraph_utils.py
+3
-1
vllm/v1/worker/gpu/spec_decode/eagle_cudagraph.py
vllm/v1/worker/gpu/spec_decode/eagle_cudagraph.py
+3
-1
No files found.
vllm/v1/worker/gpu/cudagraph_utils.py
View file @
ffb3d553
...
...
@@ -45,6 +45,8 @@ class CudaGraphManager:
)
self
.
graphs
:
dict
[
int
,
torch
.
cuda
.
CUDAGraph
]
=
{}
self
.
pool
=
None
if
self
.
cudagraph_mode
!=
CUDAGraphMode
.
NONE
:
self
.
pool
=
torch
.
cuda
.
graph_pool_handle
()
self
.
hidden_states
:
torch
.
Tensor
|
None
=
None
...
...
vllm/v1/worker/gpu/spec_decode/eagle_cudagraph.py
View file @
ffb3d553
...
...
@@ -44,6 +44,8 @@ class EagleCudaGraphManager:
)
self
.
graphs
:
dict
[
int
,
torch
.
cuda
.
CUDAGraph
]
=
{}
self
.
pool
=
None
if
self
.
cudagraph_mode
!=
CUDAGraphMode
.
NONE
:
self
.
pool
=
torch
.
cuda
.
graph_pool_handle
()
def
get_cudagraph_size
(
self
,
num_tokens
:
int
)
->
int
|
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