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
74540961
Unverified
Commit
74540961
authored
Mar 19, 2026
by
Wentao Ye
Committed by
GitHub
Mar 19, 2026
Browse files
[Log] Log once in local node by default (#37568)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
fb8b5e05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
vllm/logger.py
vllm/logger.py
+3
-6
No files found.
vllm/logger.py
View file @
74540961
...
...
@@ -103,7 +103,6 @@ def _should_log_with_scope(scope: LogScope) -> bool:
from
vllm.distributed.parallel_state
import
is_local_first_rank
return
is_local_first_rank
()
# default "process" scope: always log
return
True
...
...
@@ -116,9 +115,7 @@ class _VllmLogger(Logger):
`intel_extension_for_pytorch.utils._logger`.
"""
def
debug_once
(
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"process"
)
->
None
:
def
debug_once
(
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"local"
)
->
None
:
"""
As [`debug`][logging.Logger.debug], but subsequent calls with
the same message are silently dropped.
...
...
@@ -127,7 +124,7 @@ class _VllmLogger(Logger):
return
_print_debug_once
(
self
,
msg
,
*
args
)
def
info_once
(
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"
process
"
)
->
None
:
def
info_once
(
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"
local
"
)
->
None
:
"""
As [`info`][logging.Logger.info], but subsequent calls with
the same message are silently dropped.
...
...
@@ -137,7 +134,7 @@ class _VllmLogger(Logger):
_print_info_once
(
self
,
msg
,
*
args
)
def
warning_once
(
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"
process
"
self
,
msg
:
str
,
*
args
:
Hashable
,
scope
:
LogScope
=
"
local
"
)
->
None
:
"""
As [`warning`][logging.Logger.warning], but subsequent calls with
...
...
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