Nodes Browser
ComfyDeploy: How ComfyUI-CSM-Nodes works in ComfyUI?
What is ComfyUI-CSM-Nodes?
Custom nodes for ComfyUI implementing the csm model for text-to-speech generation.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-CSM-Nodes
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI-CSM-Nodes
Custom nodes for ComfyUI implementing the CSM
model for text-to-speech generation.
Features
- Node
Load CSM Checkpoint
: Loads a model checkpoint fromComfyUI/models/sesame/
. - Node
Load CSM Tokenizer
: Loads a tokenizer fromComfyUI/models/sesame_tokenizer/
. - Node
CSM Text-to-Speech
: Generates audio from text using the CSM-1B model.
Requirements
- Installed ComfyUI.
- Python 3.10+.
- CUDA-compatible GPU (recommended).
- Model weights (
ckpt.pt
) from sesame/csm-1b inComfyUI/models/sesame/
. - Tokenizer files (e.g., from Llama-3.2-1B) in
ComfyUI/models/sesame_tokenizer/<tokenizer_dir>/
. - Dependencies listed in
requirements.txt
.
Installation
- Clone the repository:
Clone this repo into custom_nodes folder
Install dependenciesgit clone https://github.com/thezveroboy/ComfyUI-CSM-Nodes.git
or if you use the portable install, run this in ComfyUI_windows_portable folderpip install -r requirements.txt
python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-CSM-Nodes\requirements.txt