lmstudio>=1.5.0 snac>=1.2.1 torch>=2.1 numpy>=1.23 transformers

A custom node for ComfyUI that generates high-quality, natural-sounding speech using Orpheus TTS models running in LM Studio.
I tried all the other Orpheus nodes for ComfyUI, and they were either slow (2+min for 15s), or I couldn’t get them to install right. Unlike those, this doesn’t try to run the LLM model with all the different settings via some cli thing, I just rely on LM Studio where you can handle all the loading there. I got this to be as fast as I could, about 0.5x realtime on a RTX3090. Voices sound so good.
And now for your regularly scheduled LLM generated readme:
This node is designed for performance and user experience, featuring a highly-responsive, parallelized workflow. It streams audio tokens from LM Studio while decoding them into sound in a separate thread, ensuring your ComfyUI interface remains smooth. The state-of-the-art progress bar intelligently displays the real-time progress of the entire operation, not just one part of it.
*(Note: You will need to replace this with an actual screenshot of the node in your workflow.)*
temperature, top_p, seed, etc.) are exposed for fine-tuning your results.isaiahbjork/orpheus-3b-0.1-ft-Q4_K_M-GGUF. You can search for and download this directly from the LM Studio app.lmstudio and transformers Python libraries.custom_nodes directory:“`bash
cd ComfyUI/custom_nodes/
“`
“`bash
git clone https://github.com/phazei/ComfyUI-OrpheusTTS-LMStudio.git
“`
*(Note: Replace the URL with your actual repository URL after publishing.)*
“`bash
cd ComfyUI-OrpheusTTS-LMStudio
pip install -r requirements.txt
“`
*(You should create a requirements.txt file in your repo with the following content:)*
“`
lmstudio>=0.2.20
transformers
torch
numpy
“`
orpheus-3b-0.1-ft).<-> icon) and click Start Server. This is the crucial step that allows ComfyUI to communicate with the model.text field.voice dropdown.model_key field tells the node which specific model to use in LM Studio.orpheus-3b-0.1-ft).model_key field. If you leave it blank, the node will use whichever model is currently loaded in LM Studio by default.AUDIO artifact that can be used with video nodes or saved.debug flag on the node and check the logs in your console. The performance timers will show you whether the slowdown is happening during the LLM phase or the SNAC decoding phase.This project is licensed under the Apache 2.0 License