Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zhaoyu6
sglang
Commits
99aefa03
"test/vscode:/vscode.git/clone" did not exist on "3c06b673aff98b2e3f3ae311f39f76445ff24e5f"
Unverified
Commit
99aefa03
authored
Jul 20, 2025
by
Jay Zhou
Committed by
GitHub
Jul 20, 2025
Browse files
Fix eagle3 cuda graph (#8163)
parent
bbcfbc1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
python/sglang/srt/speculative/eagle_draft_extend_cuda_graph_runner.py
...g/srt/speculative/eagle_draft_extend_cuda_graph_runner.py
+9
-1
No files found.
python/sglang/srt/speculative/eagle_draft_extend_cuda_graph_runner.py
View file @
99aefa03
...
@@ -84,7 +84,15 @@ class EAGLEDraftExtendCudaGraphRunner:
...
@@ -84,7 +84,15 @@ class EAGLEDraftExtendCudaGraphRunner:
self
.
hidden_states
=
torch
.
zeros
(
self
.
hidden_states
=
torch
.
zeros
(
(
(
self
.
max_num_token
,
self
.
max_num_token
,
self
.
model_runner
.
model_config
.
hidden_size
*
3
,
(
self
.
model_runner
.
model_config
.
hf_config
.
target_hidden_size
*
3
if
hasattr
(
self
.
model_runner
.
model_config
.
hf_config
,
"target_hidden_size"
,
)
else
self
.
model_runner
.
model_config
.
hidden_size
*
3
),
),
),
dtype
=
self
.
model_runner
.
dtype
,
dtype
=
self
.
model_runner
.
dtype
,
)
)
...
...
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