Skip to content

[StyleTTS2] feat: add demo and inference integration basics#804

Open
roedoejet wants to merge 4 commits into
mainfrom
dev.ap/styletts2-improvements
Open

[StyleTTS2] feat: add demo and inference integration basics#804
roedoejet wants to merge 4 commits into
mainfrom
dev.ap/styletts2-improvements

Conversation

@roedoejet
Copy link
Copy Markdown
Member

@roedoejet roedoejet commented May 15, 2026

PR Goal?

I previously connected the everyvoice train functionality with StyleTTS2. This PR integrates StyleTTS2 with everyvoice demo, everyvoice synthesize, and everyvoice checkpoint inspect commands.

Fixes?

Part of #686

Feedback sought?

Testing, but also sanity. I think there are actually quite a few places where we tied ourselves a bit too closely to FS2 and its architecture. I think I need some space to be able to tell how to refactor, but any insight is helpful.

I'm mostly looking for high-level analysis about whether the approach to combine repos in this way is reasonable.

Priority?

high

Tests added?

none so far

How to test?

try running everyvoice synthesize, everyvoice demo, and everyvoice checkpoint inspect. note, that I don't think this will work on the model you just trained. I'm not adding backwards compatibility support for that, although the hooks are in place for us to be able to handle this in the future in the same way as FS2

Confidence?

medium

Version change?

n/a, already bumped to 0.5.0

Related PRs?

EveryVoiceTTS/FastSpeech2_lightning#142
EveryVoiceTTS/StyleTTS2#4

@semanticdiff-com
Copy link
Copy Markdown

semanticdiff-com Bot commented May 15, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  everyvoice/tests/test_cli.py  68% smaller
  everyvoice/cli.py  2% smaller
  everyvoice/base_cli/checkpoint.py  0% smaller
  everyvoice/base_cli/prediction_writing_callback.py  0% smaller
  everyvoice/demo/app.py  0% smaller
  everyvoice/model/e2e/StyleTTS2_lightning  0% smaller
  everyvoice/model/feature_prediction/FastSpeech2_lightning  0% smaller

@roedoejet roedoejet mentioned this pull request May 15, 2026
25 tasks
@roedoejet roedoejet marked this pull request as draft May 16, 2026 00:13
@roedoejet roedoejet marked this pull request as ready for review May 19, 2026 23:39
@roedoejet roedoejet requested a review from joanise May 19, 2026 23:39
@github-actions
Copy link
Copy Markdown
Contributor

CLI load time: 0:00.33
Pull Request HEAD: 2e00485f3a563c5217027735d582a2cda711d7af

Imports that take more than 0.1 s:
import time: self [us] | cumulative | imported package
import time:      1575 |     161770 | everyvoice.cli

@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

❌ Patch coverage is 18.78788% with 134 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.81%. Comparing base (f62801e) to head (2e00485).

Files with missing lines Patch % Lines
everyvoice/demo/app.py 3.70% 78 Missing ⚠️
everyvoice/cli.py 13.33% 52 Missing ⚠️
everyvoice/base_cli/checkpoint.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
- Coverage   87.53%   84.81%   -2.72%     
==========================================
  Files          45       46       +1     
  Lines        4026     4189     +163     
  Branches      603      626      +23     
==========================================
+ Hits         3524     3553      +29     
- Misses        365      499     +134     
  Partials      137      137              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roedoejet roedoejet changed the title feat: add demo and inference integration basics [StyleTTS2] feat: add demo and inference integration basics May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant