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
6d7b6696
Unverified
Commit
6d7b6696
authored
Jun 03, 2025
by
fzyzcjy
Committed by
GitHub
Jun 02, 2025
Browse files
Tiny fix EPLB assertion about rebalancing period and recorder window size (#6813)
parent
6376b632
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/managers/eplb_manager.py
python/sglang/srt/managers/eplb_manager.py
+2
-2
No files found.
python/sglang/srt/managers/eplb_manager.py
View file @
6d7b6696
...
...
@@ -24,8 +24,8 @@ class EPLBManager:
# Otherwise, the circular buffer will contain stale data. If the case is needed, it can be implemented.
assert
(
self
.
_server_args
.
eplb_rebalance_num_iterations
<
=
self
.
_server_args
.
expert_distribution_recorder_buffer_size
),
"eplb_rebalance_num_iterations must be
less
than expert_distribution_recorder_buffer_size"
>
=
self
.
_server_args
.
expert_distribution_recorder_buffer_size
),
"eplb_rebalance_num_iterations must be
greater
than expert_distribution_recorder_buffer_size"
if
not
get_global_expert_distribution_recorder
().
recording
:
get_global_expert_distribution_recorder
().
start_record
()
...
...
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