Skip to content

SOTA Open Source TTS

Update README (#1015)

Stardust·减94f9fa6c43a5
diff --git a/README.md b/README.md
index f595e80..bd21693 100644
--- a/README.md
+++ b/README.md
@@ -51,15 +51,6 @@
> **Legal Disclaimer**
> We do not hold any responsibility for any illegal usage of the codebase. Please refer to your local laws about DMCA and other related laws.
-> [!WARNING]
-> **About Bad Performance**
->
-> We are sorry about the current model's performance, there's some existing bugs in the repo. And we are working hard to solve it (won't be long).
->
-> Current bad performance may include timbre switch and timbre decline for long sequence.
->
-> If you are willing to help us solve these problems, pull requests are welcome :)
-
---
## 🎉 Announcement
diff --git a/docs/README.ja.md b/docs/README.ja.md
index 1c49873..23ee9bd 100644
--- a/docs/README.ja.md
+++ b/docs/README.ja.md
@@ -51,15 +51,6 @@
> **法的免責事項**
> 私たちはコードベースの不法な使用について一切の責任を負いません。DMCA及びその他の関連法律について、現地の法律をご参照ください。
-> [!WARNING]
-> **パフォーマンスの問題について**
->
-> 現在のモデルのパフォーマンスについてお詫び申し上げます。リポジトリにいくつかの既存のバグがあります。私たちはこれらの問題を解決するために懸命に取り組んでいます(そう長くはかからないでしょう)。
->
-> 現在のパフォーマンスの問題には、音色の切り替えや長いシーケンスでの音色の劣化が含まれる可能性があります。
->
-> これらの問題の解決にご協力いただける場合は、プルリクエストを歓迎いたします :)
-
---
## 🎉 発表
diff --git a/docs/README.ko.md b/docs/README.ko.md
index 65052f6..34d51b5 100644
--- a/docs/README.ko.md
+++ b/docs/README.ko.md
@@ -51,15 +51,6 @@
> **법적 면책조항**
> 저희는 코드베이스의 불법적인 사용에 대해 어떠한 책임도 지지 않습니다. DMCA 및 기타 관련 법률에 대한 현지 법률을 참조하세요.
-> [!WARNING]
-> **성능 문제에 대해**
->
-> 현재 모델의 성능에 대해 죄송합니다. 저장소에 일부 기존 버그가 있습니다. 저희는 이러한 문제를 해결하기 위해 열심히 노력하고 있습니다 (오래 걸리지 않을 것입니다).
->
-> 현재의 성능 문제에는 음색 전환과 긴 시퀀스에서의 음색 저하가 포함될 수 있습니다.
->
-> 이러한 문제를 해결하는 데 도움을 주실 의향이 있으시다면, 풀 리퀘스트를 환영합니다 :)
-
---
## 🎉 발표
diff --git a/docs/README.pt-BR.md b/docs/README.pt-BR.md
index 13bec31..e029ef0 100644
--- a/docs/README.pt-BR.md
+++ b/docs/README.pt-BR.md
@@ -51,15 +51,6 @@
> **Isenção de Responsabilidade Legal**
> Não assumimos qualquer responsabilidade pelo uso ilegal da base de código. Consulte as leis locais sobre DMCA e outras leis relacionadas.
-> [!WARNING]
-> **Sobre o Desempenho Ruim**
->
-> Pedimos desculpas pelo desempenho atual do modelo, há alguns bugs existentes no repositório. E estamos trabalhando duro para resolvê-los (não vai demorar muito).
->
-> O desempenho ruim atual pode incluir mudança de timbre e declínio de timbre para sequências longas.
->
-> Se você está disposto a nos ajudar a resolver esses problemas, pull requests são bem-vindos :)
-
---
## 🎉 Anúncio
diff --git a/docs/README.zh.md b/docs/README.zh.md
index e8f3a62..9663f1f 100644
--- a/docs/README.zh.md
+++ b/docs/README.zh.md
@@ -51,15 +51,6 @@
> **法律免责声明**
> 我们不对代码库的任何非法使用承担责任。请参考您当地关于 DMCA 和其他相关法律的法规。
-> [!WARNING]
-> **关于性能问题**
->
-> 我们对当前模型的性能表示歉意,仓库中存在一些已知的错误。我们正在努力解决这些问题(不会太久)。
->
-> 当前的性能问题可能包括音色切换和长序列的音色衰减。
->
-> 如果您愿意帮助我们解决这些问题,欢迎提交拉取请求 :)
-
---
## 🎉 公告
diff --git a/fish_speech/models/text2semantic/inference.py b/fish_speech/models/text2semantic/inference.py
index 67bca81..39dca4c 100644
--- a/fish_speech/models/text2semantic/inference.py
+++ b/fish_speech/models/text2semantic/inference.py
@@ -341,7 +341,8 @@ def init_model(checkpoint_path, device, precision, compile=False):
decode_one_token = torch.compile(
decode_one_token,
# mode="max-autotune-no-cudagraphs",
- mode="reduce-overhead",
+ backend="inductor" if torch.cuda.is_available() else "aot_eager",
+ mode="reduce-overhead" if torch.cuda.is_available() else None,
fullgraph=True,
)