CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

请问,fastapi如何同cosyvoice结合实现并发?

Open yourengod opened this issue 1 year ago • 6 comments

fastapi如何同cosyvoice结合实现并发?是多进程实现吗,还是说cosyvoice有批大小,可以通过批大小实现?

yourengod avatar Feb 21 '25 03:02 yourengod

fastapi应该不支持线程并发,可以研究一下结合unicorn实现进程并发

aluminumbox avatar Feb 23 '25 09:02 aluminumbox

建议用triton部署,并发拉满

AIStorm-boop avatar Feb 24 '25 14:02 AIStorm-boop

建议用triton部署,并发拉满

老哥又看到你了,有triton部署例子吗?

niaoyu123 avatar Feb 24 '25 14:02 niaoyu123

建议用triton部署,并发拉满

老哥又看到你了,有triton部署例子吗?

同问。

yourengod avatar Feb 26 '25 03:02 yourengod

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 29 '25 02:03 github-actions[bot]

目前fastapi增加workers的方法貌似不行,大家现在有什么办法吗

WangVertex avatar Apr 18 '25 06:04 WangVertex