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
change
sglang
Commits
944f1ea0
Unverified
Commit
944f1ea0
authored
Sep 22, 2025
by
feng397
Committed by
GitHub
Sep 22, 2025
Browse files
fix capture_bs when speculative decoding enabled (#10730)
parent
9d7e82a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_executor/cuda_graph_runner.py
python/sglang/srt/model_executor/cuda_graph_runner.py
+1
-1
No files found.
python/sglang/srt/model_executor/cuda_graph_runner.py
View file @
944f1ea0
...
...
@@ -179,7 +179,7 @@ def get_batch_sizes_to_capture(model_runner: ModelRunner):
capture_bs
=
(
list
(
range
(
1
,
9
))
+
list
(
range
(
10
,
33
,
2
))
+
list
(
range
(
40
,
6
4
,
8
))
+
list
(
range
(
40
,
6
5
,
8
))
+
list
(
range
(
80
,
161
,
16
))
)
...
...
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