Tiny fix EPLB assertion about rebalancing period and recorder window size (#6813)
This commit is contained in:
@@ -24,8 +24,8 @@ class EPLBManager:
|
|||||||
# Otherwise, the circular buffer will contain stale data. If the case is needed, it can be implemented.
|
# Otherwise, the circular buffer will contain stale data. If the case is needed, it can be implemented.
|
||||||
assert (
|
assert (
|
||||||
self._server_args.eplb_rebalance_num_iterations
|
self._server_args.eplb_rebalance_num_iterations
|
||||||
<= self._server_args.expert_distribution_recorder_buffer_size
|
>= self._server_args.expert_distribution_recorder_buffer_size
|
||||||
), "eplb_rebalance_num_iterations must be less than 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:
|
if not get_global_expert_distribution_recorder().recording:
|
||||||
get_global_expert_distribution_recorder().start_record()
|
get_global_expert_distribution_recorder().start_record()
|
||||||
|
|||||||
Reference in New Issue
Block a user