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
ec8e3c69
Unverified
Commit
ec8e3c69
authored
Apr 13, 2024
by
zspo
Committed by
GitHub
Apr 13, 2024
Browse files
[Bugfix] fix_log_time_in_metrics (#4050)
parent
98afde19
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/engine/metrics.py
vllm/engine/metrics.py
+1
-1
No files found.
vllm/engine/metrics.py
View file @
ec8e3c69
...
@@ -130,7 +130,7 @@ class StatLogger:
...
@@ -130,7 +130,7 @@ class StatLogger:
def
__init__
(
self
,
local_interval
:
float
,
labels
:
Dict
[
str
,
str
])
->
None
:
def
__init__
(
self
,
local_interval
:
float
,
labels
:
Dict
[
str
,
str
])
->
None
:
# Metadata for logging locally.
# Metadata for logging locally.
self
.
last_local_log
=
time
.
monotonic
()
self
.
last_local_log
=
time
.
time
()
self
.
local_interval
=
local_interval
self
.
local_interval
=
local_interval
# Tracked stats over current local logging interval.
# Tracked stats over current local logging interval.
...
...
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