Open roman-romanov-o opened 2 months ago
In the script above, if we leave only one task
sync_tasks = [
lambda: ChatModel.from_pretrained("chat-bison@001"),
#lambda: ChatModel.from_pretrained("chat-bison-32k@002"),
]
everything will proceed normally
Deadlock is caused, when there are multiple sync_tasks
in thread pool
Running multiple
.from_pretrained
in ThreadPool executor cases deadlock during grpc callEnvironment details
Steps to reproduce
Code example
Script, that reproduces deadlock:
Stack trace
gdb stack trace:
py-bt stack