Skip to content

Commit

Permalink
Disable overlap scheduler for multimodal models (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Nov 28, 2024
1 parent 09798b3 commit fb915bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/sglang/srt/managers/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ def __init__(
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

Expand Down

0 comments on commit fb915bd

Please sign in to comment.