mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-06 00:37:08 +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):
|
||||
"""Main busy loop for Multiprocessing Workers"""
|
||||
import os
|
||||
p = os.getpid()
|
||||
import os, psutil
|
||||
p = psutil.Process(os.getpid())
|
||||
i = 0
|
||||
while True:
|
||||
if i % 100 == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user