From a54e077fd2b9cffb7949d71b6fd2266f31abd753 Mon Sep 17 00:00:00 2001 From: Lianmin Zheng Date: Sun, 8 Dec 2024 04:07:49 -0800 Subject: [PATCH] Fix recv_requests --- python/sglang/srt/managers/scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/managers/scheduler.py b/python/sglang/srt/managers/scheduler.py index d98499d6278..a3316503b9a 100644 --- a/python/sglang/srt/managers/scheduler.py +++ b/python/sglang/srt/managers/scheduler.py @@ -445,6 +445,7 @@ def recv_requests(self): recv_req = self.recv_from_tokenizer.recv_pyobj(zmq.NOBLOCK) except zmq.ZMQError: break + recv_reqs.append(recv_req) else: recv_reqs = None