Skip to content

Commit

Permalink
Fix recv_requests (#2405)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Dec 8, 2024
1 parent 6128f7c commit cc85895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/sglang/srt/managers/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cc85895

Please sign in to comment.