mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-07 08:27:02 +08:00
fix hang
This commit is contained in:
parent
9c60a6299d
commit
2a7f25fbe2
@ -64,9 +64,9 @@ class UBatchContext:
|
||||
self.cpu_signal_event.set()
|
||||
|
||||
def _wait(self):
|
||||
self.stream.wait_event(self.gpu_wait_event)
|
||||
self.cpu_wait_event.wait()
|
||||
self.cpu_wait_event.clear()
|
||||
self.stream.wait_event(self.gpu_wait_event)
|
||||
self._restore_context()
|
||||
|
||||
_CURRENT_CONTEXT: dict = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user