refine stdout logging codes (#13015)

This commit is contained in:
yinghui
2025-11-12 00:16:14 +08:00
committed by GitHub
parent a06c44f905
commit 38a704bccb
7 changed files with 227 additions and 341 deletions
+2 -2
View File
@@ -1968,7 +1968,7 @@ class Scheduler(
if batch.forward_mode == ForwardMode.EXTEND:
current_time = time.perf_counter()
for req in batch.reqs:
req.time_stats.prefill_start_time = current_time
req.time_stats.prefill_start_time_host = current_time
# Place holder handling for pd-disagg decode event loop
if batch.forward_mode.is_prebuilt():
@@ -2077,7 +2077,7 @@ class Scheduler(
if batch.forward_mode == ForwardMode.EXTEND:
current_time = time.perf_counter()
for req in batch.reqs:
req.time_stats.prefill_end_time = current_time
req.time_stats.prefill_end_time_host = current_time
return ret