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
0678beaa
Unverified
Commit
0678beaa
authored
Nov 04, 2025
by
Liangsheng Yin
Committed by
GitHub
Nov 04, 2025
Browse files
[sepc-v2] Fix imcompatibility with constrained decoding (#12615)
parent
c2d4716d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/managers/tp_worker.py
python/sglang/srt/managers/tp_worker.py
+2
-0
No files found.
python/sglang/srt/managers/tp_worker.py
View file @
0678beaa
...
...
@@ -311,6 +311,7 @@ class TpModelWorker(BaseTpWorker):
set_random_seed
(
self
.
random_seed
)
self
.
enable_overlap
=
not
server_args
.
disable_overlap_schedule
self
.
enable_spec
=
server_args
.
speculative_algorithm
is
not
None
self
.
hicache_layer_transfer_counter
=
None
@
property
...
...
@@ -383,6 +384,7 @@ class TpModelWorker(BaseTpWorker):
if
(
self
.
enable_overlap
and
not
self
.
enable_spec
and
model_worker_batch
.
sampling_info
.
grammars
is
not
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