Unverified Commit 9cc64514 authored by Yi Liu's avatar Yi Liu Committed by GitHub
Browse files

[MISC] Refine no available block debug msg (#15076)


Signed-off-by: default avatarYi Liu <yiliu4@habana.ai>
Signed-off-by: default avataryiliu30 <yi4.liu@intel.com>
Co-authored-by: default avatarYi Liu <yiliu4@habana.ai>
parent 0893567d
...@@ -357,8 +357,11 @@ class MessageQueue: ...@@ -357,8 +357,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("No available block found in %s second. ", logger.debug(
VLLM_RINGBUFFER_WARNING_INTERVAL) ("No available shared memory broadcast block found"
" in %s second."),
VLLM_RINGBUFFER_WARNING_INTERVAL,
)
n_warning += 1 n_warning += 1
# if we time out, raise an exception # if we time out, raise an exception
...@@ -415,8 +418,11 @@ class MessageQueue: ...@@ -415,8 +418,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("No available block found in %s second. ", logger.debug(
VLLM_RINGBUFFER_WARNING_INTERVAL) ("No available shared memory broadcast block found"
"in %s second."),
VLLM_RINGBUFFER_WARNING_INTERVAL,
)
n_warning += 1 n_warning += 1
# if we time out, raise an exception # if we time out, raise an exception
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment