Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b7954776
Unverified
Commit
b7954776
authored
Dec 02, 2024
by
cduk
Committed by
GitHub
Dec 02, 2024
Browse files
[core] Avoid metrics log noise when idle - include speculative decodi… (#10809)
parent
b18c9bba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/engine/metrics.py
vllm/engine/metrics.py
+2
-2
No files found.
vllm/engine/metrics.py
View file @
b7954776
...
...
@@ -473,13 +473,13 @@ class LoggingStatLogger(StatLoggerBase):
)
if
(
stats
.
cpu_prefix_cache_hit_rate
>=
0
or
stats
.
gpu_prefix_cache_hit_rate
>=
0
):
log
ger
.
info
(
log
_fn
(
"Prefix cache hit rate: GPU: %.2f%%, CPU: %.2f%%"
,
stats
.
gpu_prefix_cache_hit_rate
*
100
,
stats
.
cpu_prefix_cache_hit_rate
*
100
,
)
if
self
.
spec_decode_metrics
is
not
None
:
log
ger
.
info
(
log
_fn
(
self
.
_format_spec_decode_metrics_str
(
self
.
spec_decode_metrics
))
...
...
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