Skip to content

Reduce deps #146

Description

@mariusa

See feedback on your own post:
https://news.ycombinator.com/item?id=47441546

rohan_joshi 3 months ago | root | parent | next [–]

thanks a lot for helping w this. yes i'll fix this asap.

And no release since Feb. As another commenter said there "Unfortunately upstream never looks at any pull requests."


I created a CLI wrapper for Kitten TTS: https://github.com/newptcai/purr
BTW, it seems that kitten (the Python package) has the following chain of dependencies: kittentts → misaki[en] → spacy-curated-transformers

So if you install it directly via uv, it will pull torch and NVIDIA CUDA packages (several GB), which are not needed to run kitten.

cristoperb 3 months ago | parent | next [–]

Thanks, your install script worked for me.
In case it helps anyone else, the first time I tried to run purr I got "OSError: PortAudio library not found". Installing libportaudio (apt install libportaudio2) got it running.

Mic92 3 months ago | root | parent | next [–]

Also did create a cli. I had to fork the project and removed one unused import which allowed me to remove a lot of unused ml libraries: https://github.com/Mic92/puss-say

Mic92 3 months ago | root | parent | next [–]

Unfortunately upstream never looks at any pull requests.

yjftsjthsd-h 3 months ago | parent | prev | next [–]

Thank you so much, that fixes an enormous pain point I was hitting. It's not just the size, that dependency chain was actually breaking on my machine and failing to install. Are we losing something by dropping the extra dependencies?

dawdler-purge 3 months ago | root | parent | next [–]

I don't think so. It is perhaps a bug to have this unnecessary dependency. I expect the author of kitten to fix this soon.

rohan_joshi 3 months ago | root | parent | next [–]

thanks a lot for helping w this. yes i'll fix this asap.

dawdler-purge 3 months ago | root | parent | next [–]

Please let me know when this has been fixed. I will update purr to make the installation steps simpler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions