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
2e37fa07
Unverified
Commit
2e37fa07
authored
May 24, 2025
by
Neo
Committed by
GitHub
May 23, 2025
Browse files
[FIX]remove ServerArgs duplicate code (#6485)
parent
2d831c6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+0
-8
No files found.
python/sglang/srt/server_args.py
View file @
2e37fa07
...
...
@@ -324,12 +324,6 @@ class ServerArgs:
if
self
.
grammar_backend
is
None
:
self
.
grammar_backend
=
"xgrammar"
if
self
.
pp_size
>
1
:
self
.
disable_overlap_schedule
=
True
logger
.
warning
(
"Overlap scheduler is disabled because of using pipeline parallelism."
)
# Data parallelism attention
if
self
.
enable_dp_attention
:
self
.
schedule_conservativeness
=
self
.
schedule_conservativeness
*
0.3
...
...
@@ -1444,8 +1438,6 @@ class ServerArgs:
# FIXME pp constraints
if
self
.
pp_size
>
1
:
logger
.
warning
(
f
"Turn off overlap scheule for pipeline parallelism."
)
self
.
disable_overlap_schedule
=
True
assert
(
self
.
disable_overlap_schedule
and
self
.
speculative_algorithm
is
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