Open
Description
cog version 0.14.4, async predict , enable concurrency.max = 8
and the async predict func, return a async generator, yield a base64 encoded image with high FPS (10).
And I found mainthread of childworker stuck there :
_apredict
AsyncConnection.send
and finnaly stuck on mutiprocessing/connection.py/Connection.py:_send
def _send(self, buf, write=_write):
remaining = len(buf)
while True:
n = write(self._handle, buf)
remaining -= n
if remaining == 0:
break
buf = buf[n:]
n = write(self._handle, buf)
Metadata
Metadata
Assignees
Labels
No labels