| So... uh... yes I did a lot of debugging and learning and I'm your average webdev, not ML engineer so my apologies for cursed code 🤣 https://github.com/fishaudio/fish-speech/pull/1193/changes Streaming should work end-to-end with low TTFA (~400ms until first audio chunk on Arch Linux, RTX 5090, NVIDIA driver 595.45.04, 9950x3D); there’s still work to do on memory, TTFA, and longer prompts. Here's some ideas:
I got a tiny bit of help from the maintainer, and so my solution while not really that impressive, should enable others to plumb into this direction. This is an approximate diagram what is actually happening: This could be improved. As far as I'm getting DAC can just process tokens on its own with some clever scheduling, and not hold LLM until it actually finishes making PCM chunk 🤷 Anyway, here's my tests. Without With I'm testing my own branch and found some issues but the main streaming code should be working. There's also a lot of unrelated things, kinda QoL updates for adding reference voices, Makefile, tests, etc. [link] [comments] |
FishSpeech S2 Pro streaming code (380ms TTFA, tested on RTX 5090)
Reddit r/LocalLLaMA / 3/15/2026
📰 NewsDeveloper Stack & InfrastructureTools & Practical Usage
Key Points
- The FishSpeech S2 Pro streaming code achieves about 380ms TTFA on an RTX 5090 when using torch.compile, according to the author's test setup.
- Tests show TTFA around 800ms without torch.compile, and 380ms with torch.compile on the same hardware and driver version.
- The author outlines future optimizations to reduce memory usage, refine TTFA, and support longer prompts, including profiling, smaller first chunks, and CUDA graphs.
- A PR (1193) and a schematic diagram are linked to illustrate the data flow and the direction of the work, with encouragement for others to adopt the approach.
Related Articles

NVIDIA、GTC 2026で次世代AI基盤を発表 「Vera Rubin」を軸にエージェント・ゲーム・宇宙領域へ展開のサムネイル画像
Ledge.ai

1Password、AIエージェントのアクセス制御を統合管理する「Unified Access」発表 人間・マシン・AIの資格情報を一元統制のサムネイル画像
Ledge.ai

『モンドーモンドー』|夏目龍頭流闇文学|AI画像生成|自由詩|散文詩|ホラー|ダークファンタジー|深淵図書館
note

「お金、見直したいけどどこから?」AIが改善ヒントを教えてくれる、公式プロンプトを公開
note

Copilotと物語を作ってみた #213 めーっちゃボロボロこぼす女の子の物語
note