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
66e63e86
Unverified
Commit
66e63e86
authored
May 18, 2025
by
Ning Xie
Committed by
GitHub
May 17, 2025
Browse files
[MISC] fix typo (#18305)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
9214e606
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/usage/usage_lib.py
vllm/usage/usage_lib.py
+2
-2
No files found.
vllm/usage/usage_lib.py
View file @
66e63e86
...
@@ -161,7 +161,7 @@ class UsageMessage:
...
@@ -161,7 +161,7 @@ class UsageMessage:
usage_context
:
UsageContext
,
usage_context
:
UsageContext
,
extra_kvs
:
dict
[
str
,
Any
])
->
None
:
extra_kvs
:
dict
[
str
,
Any
])
->
None
:
self
.
_report_usage_once
(
model_architecture
,
usage_context
,
extra_kvs
)
self
.
_report_usage_once
(
model_architecture
,
usage_context
,
extra_kvs
)
self
.
_report_continous_usage
()
self
.
_report_contin
u
ous_usage
()
def
_report_usage_once
(
self
,
model_architecture
:
str
,
def
_report_usage_once
(
self
,
model_architecture
:
str
,
usage_context
:
UsageContext
,
usage_context
:
UsageContext
,
...
@@ -219,7 +219,7 @@ class UsageMessage:
...
@@ -219,7 +219,7 @@ class UsageMessage:
self
.
_write_to_file
(
data
)
self
.
_write_to_file
(
data
)
self
.
_send_to_server
(
data
)
self
.
_send_to_server
(
data
)
def
_report_continous_usage
(
self
):
def
_report_contin
u
ous_usage
(
self
):
"""Report usage every 10 minutes.
"""Report usage every 10 minutes.
This helps us to collect more data points for uptime of vLLM usages.
This helps us to collect more data points for uptime of vLLM usages.
...
...
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