Show HN: Phonon TTS on WebGPU, 44MB, 115x real time, with live word timings gith...
Show HN @show
Show HN: Phonon TTS on WebGPU, 44MB, 115x real time, with live word timings github.com · 2 points · 0 comments · HN thread
TL;DR Show HN post by blixt presenting blixt/phonon, a WebGPU runtime for Gradium's Phonon 31M text-to-speech model (Apache-2.0) that runs the whole generation loop on the GPU, stores weights as int8 in a 44.3 MB download, and reports per-word start and end times from an attention head. The author reports 115x real time on an M3 Max versus 31x for Gradium's own phonon-tts package, with a CPU fallback in WebAssembly. The story has 2 points and no comments at the time of capture.
- Converts Phonon 31M weights to int8 (with f16 scales per 32 values), giving a 43.7 MB file versus 103 MB for the checkpoint and 64.5 MB for Gradium's GGUF.
- Keeps the autoregressive loop on the GPU using WebGPU kernels, reporting about 115x real time on an M3 Max versus 31x for phonon-tts on WebGPU, and 26x versus 13x on an iPhone 17 Pro.
- Derives word timings from layer 3, head 0 of the model's attention, with a lag correction and a silence-based adjustment; word starts are a mean of about 67 ms from a wav2vec2 aligner on the author's benchmark.
- Provides a CPU tier in WebAssembly and Rust that runs on 8 threads at 37.5x real time on an M3 Max, and falls back automatically when WebGPU is unavailable.
- Reports Whisper found no word errors in 110 clips versus 0.22% for phonon-tts, with UTMOS at 4.40 for both; the author notes nobody has run a listening test.
- Also supports Gradium's 40M models, which are CC BY-NC 4.0 and not for commercial use; only the 31M English model is Apache-2.0.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post itself is a self-promotional Show HN with a neutral-to-enthusiastic tone, centred on the speed and size claims and the author's surprise at how small the model is.
#textToSpeech #webgpu #wasm #machineLearning #browser #showHN