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
6c340da4
Unverified
Commit
6c340da4
authored
Sep 25, 2025
by
youkaichao
Committed by
GitHub
Sep 25, 2025
Browse files
[misc] log info messages by default for hanging / busy / idle (#25627)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
2f171176
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
vllm/distributed/device_communicators/shm_broadcast.py
vllm/distributed/device_communicators/shm_broadcast.py
+6
-4
No files found.
vllm/distributed/device_communicators/shm_broadcast.py
View file @
6c340da4
...
@@ -390,10 +390,11 @@ class MessageQueue:
...
@@ -390,10 +390,11 @@ class MessageQueue:
# if we wait for a long time, log a message
# if we wait for a long time, log a message
if
(
time
.
monotonic
()
-
start_time
if
(
time
.
monotonic
()
-
start_time
>
VLLM_RINGBUFFER_WARNING_INTERVAL
*
n_warning
):
>
VLLM_RINGBUFFER_WARNING_INTERVAL
*
n_warning
):
logger
.
debug
(
logger
.
info
(
(
"No available shared memory broadcast block found"
(
"No available shared memory broadcast block found"
" in %s seconds. This typically happens when some"
" in %s seconds. This typically happens when some"
" processes are hanging."
),
" processes are hanging, doing some time-consuming"
" work (e.g. compilation), or sitting idle."
),
VLLM_RINGBUFFER_WARNING_INTERVAL
,
VLLM_RINGBUFFER_WARNING_INTERVAL
,
)
)
n_warning
+=
1
n_warning
+=
1
...
@@ -454,10 +455,11 @@ class MessageQueue:
...
@@ -454,10 +455,11 @@ class MessageQueue:
# if we wait for a long time, log a message
# if we wait for a long time, log a message
if
(
time
.
monotonic
()
-
start_time
if
(
time
.
monotonic
()
-
start_time
>
VLLM_RINGBUFFER_WARNING_INTERVAL
*
n_warning
):
>
VLLM_RINGBUFFER_WARNING_INTERVAL
*
n_warning
):
logger
.
debug
(
logger
.
info
(
(
"No available shared memory broadcast block found"
(
"No available shared memory broadcast block found"
" in %s seconds. This typically happens when some"
" in %s seconds. This typically happens when some"
" processes are hanging."
),
" processes are hanging, doing some time-consuming"
" work (e.g. compilation), or sitting idle."
),
VLLM_RINGBUFFER_WARNING_INTERVAL
,
VLLM_RINGBUFFER_WARNING_INTERVAL
,
)
)
n_warning
+=
1
n_warning
+=
1
...
...
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