ComfyUI for CosyVoice

By SshunWangView on GitHub →

Support both CosyVoice1.0 and CosyVoice2.0. Referenced [a/CosyVoice-ComfyUI](https://github.com/AIFSH/CosyVoice-ComfyUI), the following modifications have been made: Add support for CosyVoice2.0, Add whether to use stream processing options, Use speed control by CosyVoice, Add model path check to avoid duplicate downloads, Provide two ways of use

VRAM Requirements

Direct Answer: The ComfyUI node ComfyUI for CosyVoice requires a minimum base VRAM of 128MB and is optimized for GPUs with at least 4GB of VRAM. Low VRAM mode is fully supported for resource-constrained setups.

High (2-4GB)
Base VRAM:
128MB (0.1GB)
Recommended GPU:
4GB+ VRAM
Low VRAM Mode:
✓ Supported
Estimation Confidence:
MEDIUM

🧮 Interactive VRAM Compatibility Estimator

Estimated Total VRAM: 3.00 GBTarget: 8 GB
✅ Comfortable Fit

Your GPU has plenty of headroom. You can run this node safely with your active configurations!

Deploy on High-Performance GPUs

Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance GPUs on Vast.ai instantly.

🚀 Deploy on Vast.ai

Deploy on Cloud GPUs

Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance cloud GPUs on RunPod instantly.

🚀 Deploy on RunPod

Python Dependencies

Direct Answer: Running ComfyUI for CosyVoice requires installing the following Python package dependencies: conformer==0.3.2, deepspeed==0.14.2; sys_platform == 'linux', diffusers==0.29.0, fastapi==0.115.6, fastapi-cli==0.0.4, gdown==5.1.0, gradio==5.4.0, grpcio==1.57.0, grpcio-tools==1.57.0, hydra-core==1.3.2, hyperpyyaml==1.2.2, inflect==7.3.1, librosa==0.10.2, lightning==2.2.4, matplotlib==3.7.5, modelscope==1.15.0, networkx==3.1, omegaconf==2.3.0, onnx==1.16.0, onnxruntime==1.18.0; sys_platform == 'darwin' or sys_platform == 'windows', onnxruntime-gpu==1.18.0; sys_platform == 'linux', openai-whisper==20231117, protobuf==4.25, pydantic==2.7.0, rich==13.7.1, soundfile==0.12.1, tensorboard==2.14.0, tensorrt-cu12==10.0.1; sys_platform == 'linux', tensorrt-cu12-bindings==10.0.1; sys_platform == 'linux', tensorrt-cu12-libs==10.0.1; sys_platform == 'linux', torch==2.3.1, torchaudio==2.3.1, transformers==4.40.1, uvicorn==0.30.0, wetextprocessing==1.0.3, wget==3.2. Ensure your ComfyUI environment has these packages active before launching.

requirements.txt
conformer==0.3.2
deepspeed==0.14.2; sys_platform == 'linux'
diffusers==0.29.0
fastapi==0.115.6
fastapi-cli==0.0.4
gdown==5.1.0
gradio==5.4.0
grpcio==1.57.0
grpcio-tools==1.57.0
hydra-core==1.3.2
hyperpyyaml==1.2.2
inflect==7.3.1
librosa==0.10.2
lightning==2.2.4
matplotlib==3.7.5
modelscope==1.15.0
networkx==3.1
omegaconf==2.3.0
onnx==1.16.0
onnxruntime==1.18.0; sys_platform == 'darwin' or sys_platform == 'windows'
onnxruntime-gpu==1.18.0; sys_platform == 'linux'
openai-whisper==20231117
protobuf==4.25
pydantic==2.7.0
rich==13.7.1
soundfile==0.12.1
tensorboard==2.14.0
tensorrt-cu12==10.0.1; sys_platform == 'linux'
tensorrt-cu12-bindings==10.0.1; sys_platform == 'linux'
tensorrt-cu12-libs==10.0.1; sys_platform == 'linux'
torch==2.3.1
torchaudio==2.3.1
transformers==4.40.1
uvicorn==0.30.0
wetextprocessing==1.0.3
wget==3.2

🛠️ Interactive Setup & Dependency Resolver

Operating System:
Environment Type:
Run this terminal command in your ComfyUI root folder:
# Loading command...