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
fb915bd1
Unverified
Commit
fb915bd1
authored
Nov 27, 2024
by
Lianmin Zheng
Committed by
GitHub
Nov 27, 2024
Browse files
Disable overlap scheduler for multimodal models (#2235)
parent
09798b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+4
-0
No files found.
python/sglang/srt/managers/scheduler.py
View file @
fb915bd1
...
...
@@ -170,6 +170,10 @@ class Scheduler:
self
.
enable_overlap
=
False
logger
.
info
(
"Overlap scheduler is disabled for embedding models."
)
if
self
.
model_config
.
is_multimodal
:
self
.
enable_overlap
=
False
logger
.
info
(
"Overlap scheduler is disabled for multimodal models."
)
if
self
.
enable_overlap
:
self
.
disable_jump_forward
=
True
...
...
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