diff --git a/python/sglang/srt/managers/eplb_manager.py b/python/sglang/srt/managers/eplb_manager.py index fd136df20..44fcd4555 100644 --- a/python/sglang/srt/managers/eplb_manager.py +++ b/python/sglang/srt/managers/eplb_manager.py @@ -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()