Better HN
topnewbestaskshowjobs
Log inSign up

toebee

507 karma · joined Jan 12, 2022 (4y ago) · 77 submissions

building narilabs.com
Submissions

comment 3mo ago · link · parent

Yep, might need some changes.

comment 3mo ago · link · parent

We do graph capture etc at startup (same as vLLM) but this model variant doesn’t require prefix caching - the prefix is just 10 tokens.

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

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.

comment 3mo ago · link · parent

Hey thank you for your kind words! Yes, we’ve shifted to inference but will also continue doing finetuning etc. on top of open models. Don’t have plans to do pretraining though.

comment 3mo ago · link · parent

time-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 benchmark, as well as a breakdown of how it was done.

github: https://github.com/nari-labs/nari-qwen3-tts

37.

How we made a text-to-speech model respond in sub-50 ms(nari-labs.com ↗)

171 points · by toebee · 3mo ago · 44 comments

38.

Show HN: Dia2, open-weights TTS model for realtime speech to speech(github.com ↗)

3 points · by toebee · 1y ago · 2 comments

comment 1y ago · link · parent

You're absolutely right. We used Jordan's Whisper-D, and he was generous enough to offer some guidance along the way.

It's also a valid criticism that we haven’t yet audited the dataset for existing list of tags. That’s something we’ll be improving soon.

As for Dia’s architecture, we largely followed existing models to build the 1.6B version. Since we only started learning about speech AI three months ago, we chose not to innovate too aggressively early on. That said, we're planning to introduce MoE and Sliding Window Attention in our larger models, so we're excited to push the frontier in future iterations.

comment 1y ago · link · parent

not part of the license!

comment 1y ago · link · parent

Thank you for the kind words! We only support English at the moment.. Hope to add more languages in the future.

comment 1y ago · link · parent

Thanks you!! We personally used Quickpod and Runpod the most. But you can try it now on HF Spaces without spinning up GPUs yourself!

https://huggingface.co/spaces/nari-labs/Dia-1.6B

comment 1y ago · link · parent

Thanks for the interest! We also enjoyed using E5-F2 :) You can try it now on HF Spaces: https://huggingface.co/spaces/nari-labs/Dia-1.6B

comment 1y ago · link · parent

Thank you so much for the kind words :) We only support English at the moment, hopefully can do more languages in the future. We are planning to release a technical report on some of the details, so stay tuned for that!

comment 1y ago · link · parent

We will try to make it work, but not sure if will be an easy task. For now, you can try with https://huggingface.co/spaces/nari-labs/Dia-1.6B

comment 1y ago · link · parent

Thank you! You can add audio prompts of calm voices to make them a bit smoother. https://huggingface.co/spaces/nari-labs/Dia-1.6B you can try it here!

comment 1y ago · link · parent

Thank you!! Works for English only unfortunately :((

comment 1y ago · link · parent

Thanks for the kind words! We're just following our interests and staying upwind.

comment 1y ago · link · parent

Thanks for the kind words! You can try it now on https://huggingface.co/spaces/nari-labs/Dia-1.6B Also, we'll try to update the Demo Page to something lighter when we have time. Thanks for the feedback :))

comment 1y ago · link · parent

Yes! But you would need to put together a LLM system that created scripts from the book content. There is an open source project called OpenNotebookLM (https://github.com/gabrielchua/open-notebooklm) that does something similar. If you hook the Dia model to that kind of system, it will be very possible :) Thanks for the interest!

comment 1y ago · link · parent

We're adding guides for Zero-shot voice cloning. You can try it using the second example on Gradio: https://huggingface.co/spaces/nari-labs/Dia-1.6B

comment 1y ago · link · parent

We just clarified in the README, sorry for the confusion ;(

Note that the model was not fine-tuned on a specific voice. Hence, you will get different voices every time you run the model. You can keep speaker consistency by either adding an audio prompt (a guide coming VERY soon - try it with the second example on Gradio or HF Space for now), or fixing the seed.

comment 1y ago · link · parent

Only two voices at the moment... We will need to upgrade the dataset to make that happen, and are considering that as one of the next steps.

comment 1y ago · link · parent

https://huggingface.co/spaces/nari-labs/Dia-1.6B we fixed it!

comment 1y ago · link · parent

You can try it now on https://huggingface.co/spaces/nari-labs/Dia-1.6B !!!

comment 1y ago · link · parent

Thanks for the kind words :)))

comment 1y ago · link · parent

We'll try to give a high-level overview when we publish the technical report!

comment 1y ago · link · parent

Thank you for the kind words! We don't have plans for that yet, but you can always open an issue or RP on Github.

comment 1y ago · link · parent

We have a ZeroGPU Space provided by HuggingFace up and running! Test it now on https://huggingface.co/spaces/nari-labs/Dia-1.6B

comment 1y ago · link · parent

We're still experimenting, so do not have samples yet from the larger model. All we have is Dia-1.6B at the moment.
123