CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

请添加docker部署项目使用CosyVoice2-0.5B模型的方式,十分感谢

Open angel-heart opened this issue 4 months ago • 3 comments

windows平台部署项目的效果非常差,我想通过docker部署查看最终的效果。目前文档里通过docker部署的是CosyVoice-300M模型,非常希望能增加docker部署CosyVoice2-0.5B模型。

angel-heart avatar Aug 11 '25 01:08 angel-heart

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

github-actions[bot] avatar Sep 10 '25 02:09 github-actions[bot]

请对我表达感谢。。。。。。/CosyVoice2-0.5B取huggingface上下载。

FROM docker.1ms.run/pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel ENV DEBIAN_FRONTEND=noninteractive ENV PYTHONPATH=/data/CosyVoice/third_party/Matcha-TTS

COPY CosyVoice /data/CosyVoice COPY CosyVoice2-0.5B /data/CosyVoice2-0.5B

WORKDIR /data/CosyVoice

RUN mkdir -p /root/.triton/autotune RUN cd /data/CosyVoice && pip3 install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com RUN cd /data/CosyVoice && pip3 install matcha RUN cd /data/CosyVoice/runtime/python/grpc && python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. cosyvoice.proto

CMD ["bash", "-c", "python3 webui.py --port 8390 --model_dir /data/CosyVoice2-0.5B"]

caolicaoli avatar Sep 19 '25 07:09 caolicaoli

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

github-actions[bot] avatar Nov 11 '25 02:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Dec 10 '25 02:12 github-actions[bot]