Skip to content

I've implemented streaming inference, is there interest in a PR? #287

@CorentinJ

Description

@CorentinJ

Hello,

I would I have liked to make this an email or a Discussion tab, but neither options were available. Sorry for creating an issue instead.

As part of a recent project I have created, I have implemented streaming inference for Kokoro TTS. You can view the implementation in this web demo.

On CPU, 90% of the inference time is spent on streamable ops, so the Time To First Sound can be decreased heavily. This without any major refactor, retraining or by using sentence splitting.

I'd be happy to build a PR to incorporate the streaming into this repo, but this is quite a bit of additional work given it would be a new API. Therefore I would only do it if there is genuine interest in the PR being merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions