mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-07 17:42:21 +08:00
[MISC] Refine no available block debug msg (#15076)
Signed-off-by: Yi Liu <yiliu4@habana.ai> Signed-off-by: yiliu30 <yi4.liu@intel.com> Co-authored-by: Yi Liu <yiliu4@habana.ai>
This commit is contained in:
parent
0893567db9
commit
9cc645141d
@ -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:
|
|||||||
# 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user