← All work

48.5 → 5.3
Real-time factor
4x
Smaller weights

The problem

Maya2’s backbone is a 28-layer Qwen3-based decoder. At full precision its weights take about 5.6 GB, which is hard to run on a 16 GB machine without swapping.

What I tried

I compared quantization variants layer by layer against the fp32 chain, using real Marathi token embeddings. Then I ran the best variant through the full pipeline to measure end-to-end speed.

What I found

Weight-only int8 held accuracy at 0.996 cosine similarity and cut weights to about 1.4 GB. Quantizing activations broke accuracy over decode steps. Disabling ONNX Runtime thread spinning cut backbone time about 10 times, because its threads were competing with PyTorch for cores.

End to end, real-time factor fell from 48.5 to between 5.3 and 5.6. This is research code rather than a product, and the output audio has only been checked by metrics, not by ear.