File size: 6,076 Bytes
1b2499c d3a8285 ed0fdcc 67e512a a92ce0b 67e512a a92ce0b 67e512a a92ce0b 67e512a a92ce0b 67e512a a92ce0b 67e512a a92ce0b 67e512a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | ---
license: mit
language:
- en
- multilingual
library_name: transformers
tags:
- text-to-speech
- audio
- tts
- voice
- quantized
- 8bit
- bitsandbytes
- vibevoice
pipeline_tag: text-to-audio
model-index:
- name: VibeVoice-Large-Q8
results: []
---
# VibeVoice-Large-Q8 - Selective 8bit Quantization
<div align="center">
**The first 8-bit VibeVoice model that actually works**
[](LICENSE)
[](https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8)
[](https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8)
[π€ Model](https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8) β’ [π» ComfyUI](https://github.com/Enemyx-net/VibeVoice-ComfyUI) β’ [π Docs](https://github.com/Enemyx-net/VibeVoice-ComfyUI/blob/main/README.md)
</div>
---
## π― Why This Model is Different
If you've tried other 8-bit quantized VibeVoice models, you probably got nothing but static noise. **This one actually works.**
The secret? **Selective quantization**: I only quantized the language model (the most robust part), while keeping audio-critical components (diffusion head, VAE, connectors) at full precision.
### Results
- β
Perfect audio, identical to the original model
- β
11.6 GB instead of 18.7 GB (-38%)
- β
Uses ~12 GB VRAM instead of 20 GB
- β
Works on 12 GB GPUs (RTX 3060, 4070 Ti, etc.)
---
## π¨ The Problem with Other 8-bit Models
Most 8-bit models you'll find online quantize **everything** aggressively:
**Result:** Audio components get quantized β numerical errors propagate β audio = pure noise.
---
## β
The Solution: Selective Quantization
I only quantized what can be safely quantized without losing quality.
**Result:** 52% of parameters quantized, 48% at full precision = perfect audio quality.
---
## π Quick Comparison
| Model | Size | Audio Quality | Status |
|-------|------|---------------|--------|
| Original VibeVoice | 18.7 GB | βββββ | Full precision |
| Other 8-bit models | 10.6 GB | π₯ NOISE | β Don't work |
| **This model** | **11.6 GB** | βββββ | β
**Perfect** |
+1.0 GB vs other 8-bit models = perfect audio instead of noise. Worth it.
---
## π» How to Use It
### With Transformers
```python
from transformers import AutoModelForCausalLM, AutoProcessor
import torch
import scipy.io.wavfile as wavfile
# Load model
model = AutoModelForCausalLM.from_pretrained(
"FabioSarracino/VibeVoice-Large-Q8",
device_map="auto",
trust_remote_code=True,
torch_dtype=torch.bfloat16,
)
processor = AutoProcessor.from_pretrained(
"FabioSarracino/VibeVoice-Large-Q8",
trust_remote_code=True
)
# Generate audio
text = "Hello, this is VibeVoice speaking."
inputs = processor(text, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=None)
# Save
audio = output.speech_outputs[0].cpu().numpy()
wavfile.write("output.wav", 24000, audio)
```
### With ComfyUI (recommended)
1. Install the custom node:
```bash
cd ComfyUI/custom_nodes
git clone https://github.com/Enemyx-net/VibeVoice-ComfyUI
```
2. Download this model to `ComfyUI/models/vibevoice/`
3. Restart ComfyUI and use it normally!
---
## πΎ System Requirements
### Minimum
- **VRAM:** 12 GB
- **RAM:** 16 GB
- **GPU:** NVIDIA with CUDA (required)
- **Storage:** 11 GB
### Recommended
- **VRAM:** 16+ GB
- **RAM:** 32 GB
- **GPU:** RTX 3090/4090, A5000 or better
β οΈ **Not supported:** CPU, Apple Silicon (MPS), AMD GPUs
---
## β οΈ Limitations
1. **Requires NVIDIA GPU with CUDA** - won't work on CPU or Apple Silicon
2. **Inference only** - don't use for fine-tuning
3. **Requires:**
- `transformers>=4.51.3`
- `bitsandbytes>=0.43.0`
---
## π When to Use This Model
### β
Use this 8-bit if:
- You have 12-16 GB VRAM
- You want maximum quality with reduced size
- You need a production-ready model
- You want the best size/quality balance
### Use full precision (18.7 GB) if:
- You have unlimited VRAM (24+ GB)
- You're doing research requiring absolute precision
### Use 4-bit NF4 (~6.6 GB) if:
- You only have 8-10 GB VRAM
- You can accept a small quality trade-off
---
## π§ Troubleshooting
### "OutOfMemoryError" during loading
- Close other GPU applications
- Use `device_map="auto"`
- Reduce batch size to 1
### "BitsAndBytes not found"
```bash
pip install bitsandbytes>=0.43.0
```
### Audio sounds distorted
This shouldn't happen! If it does:
1. Verify you downloaded the correct model
2. Update transformers: `pip install --upgrade transformers`
3. Check CUDA: `torch.cuda.is_available()` should return `True`
---
## π Citation
```bibtex
@misc{vibevoice-q8-2025,
title={VibeVoice-Large-Q8: Selective 8-bit Quantization for Audio Quality},
author={Fabio Sarracino},
year={2025},
url={https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8}
}
```
### Original Model
```bibtex
@misc{vibevoice2024,
title={VibeVoice: High-Quality Text-to-Speech with Large Language Models},
author={Microsoft Research},
year={2024},
url={https://github.com/microsoft/VibeVoice}
}
```
---
## π Related Resources
- [Original Model](https://huggingface.co/aoi-ot/VibeVoice-Large) - Full precision base
- [ComfyUI Node](https://github.com/Enemyx-net/VibeVoice-ComfyUI) - ComfyUI integration
---
## π License
MIT License.
---
## π€ Support
- **Issues:** [GitHub Issues](https://github.com/Enemyx-net/VibeVoice-ComfyUI/issues)
- **Questions:** [HuggingFace Discussions](https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8/discussions)
If this model helped you, leave a β on GitHub!
---
<div align="center">
**Created by [Fabio Sarracino](https://github.com/Enemyx-net)**
*The first 8-bit VibeVoice model that actually works*
[π€ HuggingFace](https://huggingface.co/FabioSarracino/VibeVoice-Large-Q8) β’ [π» GitHub](https://github.com/Enemyx-net/VibeVoice-ComfyUI)
</div>
|