Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
8a382fd3
"examples/community/stable_diffusion_controlnet_img2img.py" did not exist on "0c39f53cbb2724b9706a5a8397e8c5ace414aa96"
Unverified
Commit
8a382fd3
authored
Oct 18, 2025
by
fzyzcjy
Committed by
GitHub
Oct 18, 2025
Browse files
Super tiny fix missing input throughput (#11607)
parent
62797440
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/managers/scheduler_metrics_mixin.py
python/sglang/srt/managers/scheduler_metrics_mixin.py
+1
-0
No files found.
python/sglang/srt/managers/scheduler_metrics_mixin.py
View file @
8a382fd3
...
...
@@ -135,6 +135,7 @@ class SchedulerMetricsMixin:
if
self
.
disaggregation_mode
==
DisaggregationMode
.
PREFILL
:
f
+=
f
"#prealloc-req:
{
len
(
self
.
disagg_prefill_bootstrap_queue
.
queue
)
}
, "
f
+=
f
"#inflight-req:
{
len
(
self
.
disagg_prefill_inflight_queue
)
}
, "
f
+=
f
"input throughput (token/s):
{
self
.
last_input_throughput
:.
2
f
}
, "
logger
.
info
(
f
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment