[Misc] Fix logger format typo (#4396)

This commit is contained in:
Roy 2024-04-27 13:45:02 +08:00 committed by GitHub
parent 8947bc3c15
commit 87f545ba6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,8 +230,8 @@ class StatLogger:
"Avg prompt throughput: %.1f tokens/s, "
"Avg generation throughput: %.1f tokens/s, "
"Running: %d reqs, Swapped: %d reqs, "
"Pending: %d reqs, GPU KV cache usage: %.1f%, "
"CPU KV cache usage: %.1f%",
"Pending: %d reqs, GPU KV cache usage: %.1f%%, "
"CPU KV cache usage: %.1f%%",
prompt_throughput,
generation_throughput,
stats.num_running,