Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
base_model: MisoLabs/MisoTTS
|
| 4 |
+
pipeline_tag: text-to-speech
|
| 5 |
+
tags:
|
| 6 |
+
- text-to-speech
|
| 7 |
+
- prosody
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# MisoTTS bf16 (BigBlueCeiling)
|
| 11 |
+
|
| 12 |
+
Full-precision (bfloat16) weights for MisoTTS, the **reference** variant in
|
| 13 |
+
BigBlueCeiling's optimization- and deployment-focused fork of
|
| 14 |
+
[MisoLabsAI/MisoTTS](https://github.com/MisoLabsAI/MisoTTS). The model and the
|
| 15 |
+
original inference code are MisoLabs' work; this fork makes it fast and correct in
|
| 16 |
+
practice and easy to run across a range of hardware.
|
| 17 |
+
|
| 18 |
+
MisoTTS is an expressive, English, ~8B-parameter text-to-speech model: a
|
| 19 |
+
Llama-3.2-style backbone generates Mimi audio codes from text, a smaller
|
| 20 |
+
autoregressive decoder predicts the higher codebooks per frame, and the output is
|
| 21 |
+
watermarked with SilentCipher.
|
| 22 |
+
|
| 23 |
+
## Variant family
|
| 24 |
+
|
| 25 |
+
This bf16 repo is the reference and the default. The serving core reads the GPU's
|
| 26 |
+
VRAM and loads the highest-quality weight precision that fits, pulling it at
|
| 27 |
+
runtime:
|
| 28 |
+
|
| 29 |
+
| Variant | Weights | Fits (gen peak) | Quality vs bf16 |
|
| 30 |
+
|---|---|---|---|
|
| 31 |
+
| **bf16** (this repo) | bfloat16 | ~24 GB (A6000, 3090/4090, A100, ...) | reference |
|
| 32 |
+
| [int8](https://huggingface.co/BigBlueCeiling/MisoTTS-int8) | int8 weight-only | ~16 GB (4060 Ti 16G, 4070 Ti S, A4000) | even (CER/WER/UTMOS ~unchanged) |
|
| 33 |
+
| [int4](https://huggingface.co/BigBlueCeiling/MisoTTS-int4) | int4 weight-only | ~12 GB (3060 12G, 4070) | noticeably lower (experimental) |
|
| 34 |
+
|
| 35 |
+
int8/int4 are weight-only quantizations of these bf16 weights. They are a **memory**
|
| 36 |
+
lever, not a speed one (the frame-by-frame decode cannot feed the GPU's
|
| 37 |
+
low-precision tensor cores, so they dequantize to bf16 for the matmul). bf16 is
|
| 38 |
+
both the quality reference and the fastest path on a card that fits it.
|
| 39 |
+
|
| 40 |
+
## Quality and performance
|
| 41 |
+
|
| 42 |
+
Measured on an A6000 over the 12 canonical eval prompts (3 lengths x 4 emotions),
|
| 43 |
+
scored with perceval: mean ASR **CER 0.10, WER 0.15, UTMOS 3.94**. With
|
| 44 |
+
`torch.compile` (reduce-overhead) generation runs near realtime (**RTF ~1.1** after
|
| 45 |
+
warmup); eager is roughly 14x slower. The compile warmup caches across processes,
|
| 46 |
+
so a persisted Inductor cache brings cold start to a few minutes.
|
| 47 |
+
|
| 48 |
+
## Use
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
import torch, torchaudio
|
| 52 |
+
from generator import load_miso_8b # from the MisoTTS repo
|
| 53 |
+
|
| 54 |
+
gen = load_miso_8b("cuda") # GPU-sense pulls this bf16 repo on a card that fits it
|
| 55 |
+
audio = gen.generate(text="Hello from Miso.", speaker=0, context=[],
|
| 56 |
+
max_audio_length_ms=10_000)
|
| 57 |
+
torchaudio.save("miso.wav", audio.unsqueeze(0).cpu(), gen.sample_rate)
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Requires torch>=2.7. See the [MisoTTS repo](https://github.com/eoffermann/MisoTTS)
|
| 61 |
+
for the serving container (RunPod and OpenAI-compatible APIs), the GPU-sense variant
|
| 62 |
+
selection, and the quality harness.
|
| 63 |
+
|
| 64 |
+
## Safety, license, credit
|
| 65 |
+
|
| 66 |
+
Generated audio is watermarked with SilentCipher; if you deploy the model, use your
|
| 67 |
+
own private watermark key and keep it secret. Do not use the model to impersonate
|
| 68 |
+
people, create deceptive audio, or generate harmful content. The model and the
|
| 69 |
+
original inference code are MisoLabs' work, under the upstream license; see
|
| 70 |
+
[MisoLabsAI/MisoTTS](https://github.com/MisoLabsAI/MisoTTS).
|