[bug] fix code formatting which blocks ci (#15780)
This commit is contained in:
@@ -1104,7 +1104,11 @@ class Req:
|
||||
if self.has_log_time_stats:
|
||||
return
|
||||
|
||||
bootstrap_info = f", bootstrap_room={self.bootstrap_room}" if self.bootstrap_room is not None else ""
|
||||
bootstrap_info = (
|
||||
f", bootstrap_room={self.bootstrap_room}"
|
||||
if self.bootstrap_room is not None
|
||||
else ""
|
||||
)
|
||||
prefix = f"Req Time Stats(rid={self.rid}{bootstrap_info}, input len={len(self.origin_input_ids)}, output len={len(self.output_ids)}, type={self.time_stats.disagg_mode_str()})"
|
||||
logger.info(f"{prefix}: {self.time_stats.convert_to_duration()}")
|
||||
self.has_log_time_stats = True
|
||||
|
||||
Reference in New Issue
Block a user