Revert "[Scheduler] Decouple maybe_send_health_check_signal from process_batch_result" (#20259)
This commit is contained in:
@@ -139,8 +139,6 @@ class SchedulerPPMixin:
|
||||
|
||||
self.pp_outputs = next_pp_outputs
|
||||
|
||||
self.maybe_send_health_check_signal()
|
||||
|
||||
# When the server is idle, self-check and re-init some states
|
||||
if server_is_idle:
|
||||
self.self_check_during_idle()
|
||||
@@ -316,8 +314,6 @@ class SchedulerPPMixin:
|
||||
|
||||
self.running_batch.batch_is_full = False
|
||||
|
||||
self.maybe_send_health_check_signal()
|
||||
|
||||
# When the server is idle, self-check and re-init some states
|
||||
if server_is_idle and len(self.disagg_prefill_inflight_queue) == 0:
|
||||
self.self_check_during_idle()
|
||||
@@ -508,8 +504,6 @@ class SchedulerPPMixin:
|
||||
if self.server_args.disaggregation_decode_enable_offload_kvcache:
|
||||
queue_size += len(self.decode_offload_manager.ongoing_offload)
|
||||
|
||||
self.maybe_send_health_check_signal()
|
||||
|
||||
if server_is_idle and queue_size == 0:
|
||||
self.self_check_during_idle()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user