7ven7o/Ming-3.0-tts-tiny-Q4GB
Quantized PyTorch (torchao) checkpoint of inclusionAI/Ming-3.0-tts-tiny (8.98B total params, 1.3B active MoE) targeting <= 4.0 GB VRAM on CUDA GPUs.
Notes: Quantized by Gemini 4 Neon.
Quantization, Memory Footprint & Speed
| Setting / Metric | Value |
|---|---|
| MoE Experts (6.95B) | uint3_g128 |
| LLM Attn & Shared Experts | uint4_g64 |
| Flow DiT & Aggregator | int8 (DiT promoted to bf16 + torch.compile/CUDA-graphed at runtime via fast_ops.py) |
| AudioVAE Decoder | fp32 on cpu |
| Word Embeddings & AudioVAE Encoder | CPU (bfloat16 / fp32) |
Unused lm_head |
Dropped (-0.48 GB) |
GPU Weights (gpu_weights.pt) |
3.553 GB |
CPU Weights (cpu_weights.pt) |
3.605 GB |
| Loaded VRAM | 3.35 GB allocated |
| Peak VRAM | 3.733 GB allocated / 4.453 GB reserved |
| Warm Inference Speed | 0.65x compute/audio (~1.5x faster than real time; 6.9s audio in 4.46s) |
Audio Samples (MP3)
| Batch | Instruction | Sample |
|---|---|---|
| English (Happy) | emotion="happy" |
(en_happy.mp3) |
| English (Sad) | emotion="sad" |
(en_sad.mp3) |
| Chinese (Happy) | emotion="happy" |
(zh_happy.mp3) |
| Chinese (Sad) | emotion="sad" |
(zh_sad.mp3) |
Usage
This checkpoint uses torchao==0.9.0 tensor subclasses saved in gpu_weights.pt and cpu_weights.pt, paired with the upstream ming_tiny runtime from inclusionAI/Ming-3.0-tts and the bundled quant_runtime.py + fast_ops.py (which automatically enable Triton stacked MoE kernels, Triton int8/uint4 GEMV, fused 1-token KDA/MLA decode, and compiled CUDA-graphed Flow DiT).
- Clone
https://github.com/inclusionAI/Ming-3.0-ttsand installtorch==2.6.0,torchaudio==2.6.0,torchao==0.9.0,triton>=3.2.0,transformers==4.46.3,fla-core==0.4.2,x-transformers==2.7.4,einops,einx,soundfile,onnxruntime. - Set
MING_TINY_UPSTREAM_DIRto yourMing-3.0-ttsclone path and load viaquant_runtime.py:
from quant_runtime import load_quantized_ming_tiny
tts = load_quantized_ming_tiny("ming_3_0_tiny_q4gb", device="cuda:0")
out = tts.generate(
task="freeform",
text="I can't believe we finally made it!",
instruction="Speak in an excited, joyful, upbeat voice.",
output_path="out.wav",
)
- Downloads last month
- 59
Model tree for 7ven7o/Ming-3.0-tts-tiny-Q4GB
Base model
inclusionAI/Ming-3.0-tts-tiny