Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for OuteTTS 1.0 #12794

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Support for OuteTTS 1.0 #12794

wants to merge 2 commits into from

Conversation

edwko
Copy link

@edwko edwko commented Apr 7, 2025

Since v1.0 has simplified processing, this implementation provides full feature support.

Changes and Features

  • JSON Speaker Loading:
    • Added support for the new JSON speaker format, which includes an interface version.
    • OuteTTS 1.0 is supported using interface version 3.
  • Text Chunking for Long Inputs:
    • Enables processing of very long input texts by splitting them.
    • Splitting respects minimum and maximum word boundaries (min = 10, max = 30).
    • Supports multilingual text.
    • Can be disabled via --tts-no-text-chunking (default: enabled).
  • Text Preprocessing & Prompt:
    • While optional, a light cleanup and normalization step is included to improve output quality.
    • Added new required prompt handling for the v1.0
  • Code Organization:
    • Implementation is located in: tts-outetts-v1.cpp.
    • A default speaker is added in a header file as JSON default_speaker.h.

TODO / Help Needed

Example Commands

Default generation uses default speaker automatically and chunked text:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "A very very long text"

Disables chunked text:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "Hello, how are you doing?" --tts-no-text-chunking

With custom speaker file:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "A very very long text" --tts-speaker-file "path/to/speaker.json"

@edwko edwko marked this pull request as draft April 7, 2025 09:55
@github-actions github-actions bot added examples python python script changes labels Apr 7, 2025
@ngxson
Copy link
Collaborator

ngxson commented Apr 7, 2025

  • The decoder layers from DAC need to be implemented

FYI, currently we're missing Snake1d which should be implemented via #12487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples python python script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants