Earlier quoted context omitted.
Qwen3 TTS has input streaming mode: you can stream LLM output into the speech model. So don’t need to wait for a full sentence. We also implement this websocket variant, and it also runs at sub 50 ms. LLM TTFT is still a big issue, and we might tackle that problem as well.
huh that is crazy fast, demo ?
How we made a text-to-speech model respond in sub-50 ms
41–49 of 49 posts
Re: How we made a text-to-speech model respond in sub-50 ms
#42time-to-first-audio (TTFA) is critical for realtime voice applications. open source implementations (e.g. vLLM-Omni, SGLang-Omni) are often too slow for production and can have issues with realtime playback if you push for lower latency. we wanted to fix that. we optimized qwen3-tts, a popular OSS TTS model, to achieve 34 ms p95 TTFA at 10 requests per second on 1 x H100. we open source the implementation and benchma…
I just tried it out on runpod [1] on the lady of shalott. Its got a funny sing song affect https://pastewaves.com/player/cdc4693a-a818-4d34-8566-f0207d... that one took maybe 12.677831s to generate.. DNS: 0.003747s Connect: 0.044571s TLS: 0.115428s First byte: 12.677831s Total curl: 26.268993s HTTP status: 200 Downloaded: 7695404 bytes [1] with this template https://console.runpod.io/hub/template/pahlszv0ul?ref=0xisw…
On the websockts mode it ends up turning into gibberish. (after "such that") https://pastewaves.com/player/4786c14f-3370-4b71-ab1b-1aa422...
but not in POST mode. https://pastewaves.com/player/aa61a44f-5abb-475c-8df4-b21944...
Re: How we made a text-to-speech model respond in sub-50 ms
#43- a bit unrelated but still had to ask - when recording gaming footage with OBS studio with my mic plugged in, i want to convert my voice to a tts type voice in real time - Basically I speak in my tone but the output is one of your GPT voices - Anyone know of a library or plugin that can accomplish this in real time
Re: How we made a text-to-speech model respond in sub-50 ms
#44- a bit unrelated but still had to ask - when recording gaming footage with OBS studio with my mic plugged in, i want to convert my voice to a tts type voice in real time - Basically I speak in my tone but the output is one of your GPT voices - Anyone know of a library or plugin that can accomplish this in real time
Like a real-time voice changer? I'm sure some such thing exists. I'm building a real-time voice changer for RPG sessions because I'm terrible at doing voices. Half my NPCs all sound the same!
Re: How we made a text-to-speech model respond in sub-50 ms
#45Earlier quoted context omitted.
How fast is it on consumer-level hardware?
We got a rtx 4090 handling around 10 concurrent requests at 50 ms TTFA after some config changes / adjustment as it doesn’t have FP8. So this 50 ms TTFA thing is very much possible on consumer hardware.
Re: How we made a text-to-speech model respond in sub-50 ms
#46- a bit unrelated but still had to ask - when recording gaming footage with OBS studio with my mic plugged in, i want to convert my voice to a tts type voice in real time - Basically I speak in my tone but the output is one of your GPT voices - Anyone know of a library or plugin that can accomplish this in real time
Re: How we made a text-to-speech model respond in sub-50 ms
#47Earlier quoted context omitted.
I just tried it out on runpod [1] on the lady of shalott. Its got a funny sing song affect https://pastewaves.com/player/cdc4693a-a818-4d34-8566-f0207d... that one took maybe 12.677831s to generate.. DNS: 0.003747s Connect: 0.044571s TLS: 0.115428s First byte: 12.677831s Total curl: 26.268993s HTTP status: 200 Downloaded: 7695404 bytes [1] with this template https://console.runpod.io/hub/template/pahlszv0ul?ref=0xisw…
Is this kind of failure typical? On the websockts mode it ends up turning into gibberish. (after "such that") https://pastewaves.com/player/4786c14f-3370-4b71-ab1b-1aa422... but not in POST mode. https://pastewaves.com/player/aa61a44f-5abb-475c-8df4-b21944...
Re: How we made a text-to-speech model respond in sub-50 ms
#48Earlier quoted context omitted.
Is this kind of failure typical? On the websockts mode it ends up turning into gibberish. (after "such that") https://pastewaves.com/player/4786c14f-3370-4b71-ab1b-1aa422... but not in POST mode. https://pastewaves.com/player/aa61a44f-5abb-475c-8df4-b21944...
will look into this and get it fixed
Re: How we made a text-to-speech model respond in sub-50 ms
#49- a bit unrelated but still had to ask - when recording gaming footage with OBS studio with my mic plugged in, i want to convert my voice to a tts type voice in real time - Basically I speak in my tone but the output is one of your GPT voices - Anyone know of a library or plugin that can accomplish this in real time