mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-12 12:39:09 +08:00
updated
Signed-off-by: Robert Shaw <robshaw@redhat.com>
This commit is contained in:
parent
7742eb6c59
commit
f4331d1b8b
@ -641,8 +641,8 @@ class WorkerProc:
|
|||||||
|
|
||||||
def worker_busy_loop(self, cancel: Optional[threading.Event] = None):
|
def worker_busy_loop(self, cancel: Optional[threading.Event] = None):
|
||||||
"""Main busy loop for Multiprocessing Workers"""
|
"""Main busy loop for Multiprocessing Workers"""
|
||||||
import os
|
import os, psutil
|
||||||
p = os.getpid()
|
p = psutil.Process(os.getpid())
|
||||||
i = 0
|
i = 0
|
||||||
while True:
|
while True:
|
||||||
if i % 100 == 0:
|
if i % 100 == 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user