Lurker News
Kitten TTS (https://github.com/KittenML/KittenTTS) is an open-source series of tiny and expressive text-to-speech models for on-device applications. We had a thread last year here: https://news.ycombinator.com/item?id=44807868.

Today we're releasing three new models with 80M, 40M and 14M parameters.
The largest model (80M) has the highest quality. The 14M variant reaches new SOTA in expressivity among similar sized models, despite being <25MB in size. This release is a major upgrade from the previous one and supports English text-to-speech applications in eight voices: four male and four female.
Here's a short demo: https://www.youtube.com/watch?v=ge3u5qblqZA.
Most models are quantized to int8 + fp16, and they use ONNX for runtime. Our models are designed to run anywhere eg. raspberry pi, low-end smartphones, wearables, browsers etc. No GPU required! This release aims to bridge the gap between on-device and cloud models for tts applications. Multi-lingual model release is coming soon.
On-device AI is bottlenecked by one thing: a lack of tiny models that actually perform. Our goal is to open-source more models to run production-ready voice agents and apps entirely on-device.
We would love your feedback!

Comments (181) 69 threads

Show all comments

Showing thread 12 of 69

PunchyHamster3 replies#
I ran install instructions and it took 7.1GB of deps, tf you mean "tiny" ?
rohan_joshi1 reply#
damnn, lemme fix it, sorry for that. we may have forgotten to remove the redundant dependencies. i'll comment here once i push the change. thanks a lot for trying it and giving feedback.
deathanatos1 reply#
It's mostly torch, I think. It pulls in NVIDIA libs (which … makes sense, I guess), and NVIDIA is just not at all judicious when it comes to disk space. I literally run out of disk trying to install this on Linux.

On macOS, it's a markedly different experience: it's only ~700 MiB there; I'm assuming b/c no NVIDIA libs get pulled in, b/c why would they.
For anyone who might want to play around with this: I can get down to ~3 GiB (& about 1.3 GiB if you wipe your uv cache afterwards) on Linux if I add the following to the end of `pyproject.toml`:

  [tool.uv.sources]
  # This tells uv to use the specific index for torch, torchvision, and torchaudio
  torch = [
      {index = "pytorch-cpu"}
  ]
  torchvision = [
      {index = "pytorch-cpu"}
  ]
  torchaudio = [
      {index = "pytorch-cpu"}
  ]

  [[tool.uv.index]]
  name = "pytorch-cpu"
  url = "https://download.pytorch.org/whl/cpu"
& add "torch" to the direct dependencies, b/c otherwise it seems like uv is ignoring the source? (… which of course downloads a CPU-only torch.)

This is an example of what one sees under Linux:

  nvidia-nvjitlink-cu12      ------------------------------ 23.83 MiB/37.44 MiB
  nvidia-curand-cu12         ------------------------------ 23.79 MiB/60.67 MiB
  nvidia-cuda-nvrtc-cu12     ------------------------------ 23.87 MiB/83.96 MiB
  nvidia-nvshmem-cu12        ------------------------------ 23.62 MiB/132.66 MiB
  triton                     ------------------------------ 23.82 MiB/179.55 MiB
  nvidia-cufft-cu12          ------------------------------ 23.76 MiB/184.17 MiB
  nvidia-cusolver-cu12       ------------------------------ 23.84 MiB/255.11 MiB
  nvidia-cusparselt-cu12     ------------------------------ 23.99 MiB/273.89 MiB
  nvidia-cusparse-cu12       ------------------------------ 23.96 MiB/274.86 MiB
  nvidia-nccl-cu12           ------------------------------ 23.79 MiB/307.42 MiB
  nvidia-cublas-cu12         ------------------------------ 23.73 MiB/566.81 MiB
  nvidia-cudnn-cu12          ------------------------------ 23.56 MiB/674.02 MiB
  torch                      ------------------------------ 23.75 MiB/873.22 MiB
That's not all the libraries, either, but you can see NVIDIA here is easily over 1 GiB.

It also then crashes for me, with:

  File "KittenTTS/.venv/lib/python3.14/site-packages/pydantic/v1/fields.py", line 576, in _set_default_and_type
    raise errors_.ConfigError(f'unable to infer type for attribute "{self.name}"')
  pydantic.v1.errors.ConfigError: unable to infer type for attribute "REGEX"
Which seems to be [this bug in spacey](https://github.com/explosion/spaCy/issues/13895), so I'm going to have to try adding `<3.14` to `requires-python` in `pyproject.toml` too I think. That is, for anyone wanting to try this out:

  -requires-python = ">=3.8"
  +requires-python = ">=3.8,<3.14"
(This isn't really something KittenTTS should have to do, since this is a bug in spacey … and ideally, at some point, spacey will fix it.)

Also:

  + curated-tokenizers==0.0.9
This version is so utterly ancient that there aren't wheels for it anymore, so that means a loooong wait while this builds. It's pulled in via misaki, and my editor says your one import of misaki is unused.

Hilariously, removing it breaks but only on macOS machine. I think you're using it solely for the side-effect that it tweaks phonemizer to use espeakng, but you can just do that tweak yourself, & then I think that dependency can be dropped. That drops a good number of dependencies & really speeds up the installation since we're not compiling a bunch of stuff.
You need to add `phonemizer-fork` to your dependencies. (If you remove misaki, you'll find this missing.)

rohan_joshi#
thanks a lot for sharing this, its v helpful for fixing the env issues. we'll fix all of them by the weekend.
zeroq#
a classic "how to draw an owl" lol :)