fix: add install.py to prevent omnivoice from overwriting ComfyUI's torch

This commit is contained in:
2026-04-05 14:53:33 +02:00
parent b273f8f2d7
commit f647a24988
3 changed files with 38 additions and 5 deletions
+3 -4
View File
@@ -18,15 +18,14 @@ A ComfyUI custom node for [OmniVoice](https://github.com/k2-fsa/OmniVoice) — a
git clone https://github.com/ethanfel/ComfyUI-Omnivoice.git
```
2. Install dependencies:
2. Install dependencies **without overwriting ComfyUI's torch**:
```bash
pip install omnivoice
python install.py
```
> **Warning:** Do NOT run `pip install omnivoice` directly — it pins `torch==2.8.*` from a CUDA 12.8 index and will overwrite ComfyUI's torch installation.
3. Restart ComfyUI. The nodes will appear under the **OmniVoice** category.
> **Note:** OmniVoice requires PyTorch 2.8+ and a CUDA-capable GPU (or Apple Silicon).
## Nodes
### OmniVoice Model Loader