Sglang Tracing: optimize trace_event_batch() (#13036)

Signed-off-by: Feng Su <sufeng@linux.alibaba.com>
This commit is contained in:
Feng Su
2025-11-11 15:02:20 +08:00
committed by GitHub
parent 6a7322ffbc
commit fc8cda14cf
4 changed files with 9 additions and 8 deletions
+1 -2
View File
@@ -1702,8 +1702,7 @@ class Scheduler(
ret = self.prepare_mlp_sync_batch(ret)
if ret:
attrs = {"bid": hex(id(ret)), "batch_size": ret.batch_size()}
trace_event_batch("schedule", ret.reqs, attrs=attrs)
trace_event_batch("schedule", ret.reqs)
return ret