r/speechtech • u/nshmyrev • 5h ago
9
Upvotes
r/speechtech • u/hector112a • 17h ago
ZONOS3-Mini at 364× real time on one L4: profiling and removing each bottleneck
6
Upvotes
I wanted to generate audiobooks with ZONOS3-Mini, but Zyphra's server runs at 26× real time on an L4.
sglang-omni is faster but it's built for online serving and ships a ~19 GB PyTorch image with a 3–4 minute cold start.
So I built a batch engine on top of Zyphra's server
It uses continuous batching with a shared voice-prompt KV cache, a fused GPU sampler so the decode loop never waits on the host, and the vocoder with iSTFT on the GPU (364×).
F16 weights, no quantization, 8 s cold start and a 2.2 GB image.