+
+
+
+
From 4e3c69043cf0772f02125a63e70af835ca702904 Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Thu, 10 Jul 2025 18:16:24 +0800
Subject: [PATCH 05/11] Update inference_webui.py
---
GPT_SoVITS/inference_webui.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/GPT_SoVITS/inference_webui.py b/GPT_SoVITS/inference_webui.py
index 643e4054..a361ed58 100644
--- a/GPT_SoVITS/inference_webui.py
+++ b/GPT_SoVITS/inference_webui.py
@@ -6,7 +6,20 @@
全部按英文识别
全部按日文识别
"""
+import psutil
+import os
+def set_high_priority():
+ """把当前 Python 进程设为 HIGH_PRIORITY_CLASS"""
+ if os.name != "nt":
+ return # 仅 Windows 有效
+ p = psutil.Process(os.getpid())
+ try:
+ p.nice(psutil.HIGH_PRIORITY_CLASS)
+ print("已将进程优先级设为 High")
+ except psutil.AccessDenied:
+ print("权限不足,无法修改优先级(请用管理员运行)")
+set_high_priority()
import json
import logging
import os
From 426e1a2bb43614af2479b877c37acfb0591e952f Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Thu, 10 Jul 2025 18:16:45 +0800
Subject: [PATCH 06/11] =?UTF-8?q?=E6=8F=90=E5=8D=87=E6=8E=A8=E7=90=86?=
=?UTF-8?q?=E8=BF=9B=E7=A8=8B=E4=BC=98=E5=85=88=E7=BA=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GPT_SoVITS/inference_webui_fast.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/GPT_SoVITS/inference_webui_fast.py b/GPT_SoVITS/inference_webui_fast.py
index 470b7bbd..2c159d81 100644
--- a/GPT_SoVITS/inference_webui_fast.py
+++ b/GPT_SoVITS/inference_webui_fast.py
@@ -6,7 +6,20 @@
全部按英文识别
全部按日文识别
"""
+import psutil
+import os
+def set_high_priority():
+ """把当前 Python 进程设为 HIGH_PRIORITY_CLASS"""
+ if os.name != "nt":
+ return # 仅 Windows 有效
+ p = psutil.Process(os.getpid())
+ try:
+ p.nice(psutil.HIGH_PRIORITY_CLASS)
+ print("已将进程优先级设为 High")
+ except psutil.AccessDenied:
+ print("权限不足,无法修改优先级(请用管理员运行)")
+set_high_priority()
import json
import logging
import os
From fec515dcce2053164e6793a1c2ffe8fecc32d6ad Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Thu, 10 Jul 2025 18:33:18 +0800
Subject: [PATCH 07/11] Update Changelog_CN.md
---
docs/cn/Changelog_CN.md | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/docs/cn/Changelog_CN.md b/docs/cn/Changelog_CN.md
index 6c6dcdbe..f68e23a9 100644
--- a/docs/cn/Changelog_CN.md
+++ b/docs/cn/Changelog_CN.md
@@ -594,3 +594,33 @@
- 内容: 修复实验名结尾出现空格在win中路径不正确的问题
- 类型: 修复
- 提交: RVC-Boss
+- 2025.06.10 [Commit#746cb536](https://github.com/RVC-Boss/GPT-SoVITS/commit/746cb536c68b1fe6ce3ca7e882235375b8a8dd89)
+ - 内容: 语种分割优化
+ - 类型: 优化
+ - 提交: KamioRinn
+- 2025.06.11 [Commit#dd2b9253](https://github.com/RVC-Boss/GPT-SoVITS/commit/dd2b9253aabb09db32db7a3344570ed9df043351)
+ - 内容: 修复并行推理对v2pro支持bug
+ - 类型: 修复
+ - 提交: YYuX-1145
+- 2025.06.11 [Commit#ed89a023](https://github.com/RVC-Boss/GPT-SoVITS/commit/ed89a023378dabba9d4b6580235bb9742245816d)
+ - 内容: v2pro对ge提取时会出现数值溢出的问题修复
+ - 类型: 修复
+ - 提交: RVC-Boss
+- 2025.06.11 [Commit#37f5abfc](https://github.com/RVC-Boss/GPT-SoVITS/commit/6fdc67ca83418306f11e90b9139278313ac5c3e9)[Commit#6fdc67ca](https://github.com/RVC-Boss/GPT-SoVITS/commit/37f5abfcb4a6553652235909db2e124b6f8ff3a5)
+ - 内容: install.sh逻辑优化
+ - 类型: 优化
+ - 提交: XXXXRT666
+- 2025.06.27 [Commit#90ebefa7](https://github.com/RVC-Boss/GPT-SoVITS/commit/90ebefa78fd544da36eebe0b2003620879c921b0)
+ - 内容: onnxruntime加载逻辑优化(对gpu/cpu的判断)
+ - 类型: 优化
+ - 提交: KamioRinn
+- 2025.06.27 [Commit#6df61f58](https://github.com/RVC-Boss/GPT-SoVITS/commit/6df61f58e4d18d4c2ad9d1eddd6a1bd690034c23)
+ - 内容: 语言分割及格式化优化
+ - 类型: 优化
+ - 提交: KamioRinn
+- 2025.07.10 [Commit#426e1a2bb](https://github.com/RVC-Boss/GPT-SoVITS/commit/426e1a2bb43614af2479b877c37acfb0591e952f)
+ - 内容: 提升推理进程优先级(修复win11下可能GPU利用率受限的问题)
+ - 类型: 修复
+ - 提交: XianYue0125
+
+
From ec1218893e09389b23e477bf685ced7e5ec2fb08 Mon Sep 17 00:00:00 2001
From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com>
Date: Fri, 11 Jul 2025 16:10:07 +0800
Subject: [PATCH 08/11] Update Badge (#2518)
* Update README.md
* Update README.md
* Update Badges
* specify ranges
---
README.md | 5 ++++-
docs/cn/README.md | 8 ++++++--
docs/ja/README.md | 10 +++++++---
docs/ko/README.md | 10 +++++++---
docs/tr/README.md | 9 ++++++---
5 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 6cb19092..be807a08 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,11 @@ A Powerful Few-shot Voice Conversion and Text-to-Speech WebUI.
+[](https://www.python.org)
+[](https://github.com/RVC-Boss/gpt-sovits/releases)
+
[](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb)
-[](https://lj1995-gpt-sovits-proplus.hf.space/)
+[](https://lj1995-gpt-sovits-proplus.hf.space/)
[](https://hub.docker.com/r/xxxxrt666/gpt-sovits)
[](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e)
diff --git a/docs/cn/README.md b/docs/cn/README.md
index 39e37a42..793734d8 100644
--- a/docs/cn/README.md
+++ b/docs/cn/README.md
@@ -7,15 +7,19 @@

+[](https://www.python.org)
+[](https://github.com/RVC-Boss/gpt-sovits/releases)
+
[](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb)
-[](https://lj1995-gpt-sovits-proplus.hf.space/)
+[](https://lj1995-gpt-sovits-proplus.hf.space/)
[](https://hub.docker.com/r/xxxxrt666/gpt-sovits)
[](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e)
[](https://rentry.co/GPT-SoVITS-guide#/)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/cn/Changelog_CN.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md)
[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
+
[**English**](../../README.md) | **中文简体** | [**日本語**](../ja/README.md) | [**한국어**](../ko/README.md) | [**Türkçe**](../tr/README.md)
diff --git a/docs/ja/README.md b/docs/ja/README.md
index c3c42cd8..1ee9abb4 100644
--- a/docs/ja/README.md
+++ b/docs/ja/README.md
@@ -7,14 +7,18 @@

+[](https://www.python.org)
+[](https://github.com/RVC-Boss/gpt-sovits/releases)
+
[](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
-[](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2)
+[](https://lj1995-gpt-sovits-proplus.hf.space/)
[](https://hub.docker.com/r/xxxxrt666/gpt-sovits)
[](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e)
[](https://rentry.co/GPT-SoVITS-guide#/)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/ja/Changelog_JA.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
+
[**English**](../../README.md) | [**中文简体**](../cn/README.md) | **日本語** | [**한국어**](../ko/README.md) | [**Türkçe**](../tr/README.md)
diff --git a/docs/ko/README.md b/docs/ko/README.md
index 1028c00a..9ff32f83 100644
--- a/docs/ko/README.md
+++ b/docs/ko/README.md
@@ -7,14 +7,18 @@

+[](https://www.python.org)
+[](https://github.com/RVC-Boss/gpt-sovits/releases)
+
[](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
-[](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2)
+[](https://lj1995-gpt-sovits-proplus.hf.space/)
[](https://hub.docker.com/r/xxxxrt666/gpt-sovits)
[](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e)
[](https://rentry.co/GPT-SoVITS-guide#/)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/ko/Changelog_KO.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
+
[**English**](../../README.md) | [**中文简体**](../cn/README.md) | [**日本語**](../ja/README.md) | **한국어** | [**Türkçe**](../tr/README.md)
diff --git a/docs/tr/README.md b/docs/tr/README.md
index dd5d79b3..b80c764b 100644
--- a/docs/tr/README.md
+++ b/docs/tr/README.md
@@ -7,14 +7,17 @@ Güçlü Birkaç Örnekli Ses Dönüştürme ve Metinden Konuşmaya Web Arayüz

+[](https://www.python.org)
+[](https://github.com/RVC-Boss/gpt-sovits/releases)
+
[](https://colab.research.google.com/github/RVC-Boss/GPT-SoVITS/blob/main/Colab-WebUI.ipynb)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
-[](https://huggingface.co/spaces/lj1995/GPT-SoVITS-v2)
+[](https://lj1995-gpt-sovits-proplus.hf.space/)
[](https://hub.docker.com/r/xxxxrt666/gpt-sovits)
[](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e)
[](https://rentry.co/GPT-SoVITS-guide#/)
-[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/tr/Changelog_TR.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/en/Changelog_EN.md)
+[](https://github.com/RVC-Boss/GPT-SoVITS/blob/main/LICENSE)
[**English**](../../README.md) | [**中文简体**](../cn/README.md) | [**日本語**](../ja/README.md) | [**한국어**](../ko/README.md) | **Türkçe**
From 706bec74f8b80f9ca915b746a960bd72c9a1c4f9 Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Fri, 11 Jul 2025 16:11:08 +0800
Subject: [PATCH 09/11] Update assets.py
---
tools/assets.py | 90 +++++++++++++------------------------------------
1 file changed, 24 insertions(+), 66 deletions(-)
diff --git a/tools/assets.py b/tools/assets.py
index 533a020c..6851c064 100644
--- a/tools/assets.py
+++ b/tools/assets.py
@@ -1,81 +1,38 @@
js = """
-function createGradioAnimation() {
-
- const params = new URLSearchParams(window.location.search);
- if (params.get('__theme') !== 'light') {
- params.set('__theme', 'light'); // 仅当 __theme 不是 'light' 时设置为 'light'
- window.location.search = params.toString(); // 更新 URL,触发页面刷新
- }
-
- var container = document.createElement('div');
- container.id = 'gradio-animation';
- container.style.fontSize = '2em';
- container.style.fontWeight = '500';
- container.style.textAlign = 'center';
- container.style.marginBottom = '20px';
- container.style.fontFamily = '-apple-system, sans-serif, Arial, Calibri';
+function deleteTheme() {
- var text = 'Welcome to GPT-SoVITS !';
- for (var i = 0; i < text.length; i++) {
- (function(i){
- setTimeout(function(){
- var letter = document.createElement('span');
- letter.style.opacity = '0';
- letter.style.transition = 'opacity 0.5s';
- letter.innerText = text[i];
+const params = new URLSearchParams(window.location.search);
+if (params.has('__theme')) {
+ params.delete('__theme');
+ const newUrl = `${window.location.pathname}?${params.toString()}`;
+ window.location.replace(newUrl);
+}
- container.appendChild(letter);
-
- setTimeout(function() {
- letter.style.opacity = '1';
- }, 50);
- }, i * 250);
- })(i);
- }
- return 'Animation created';
}
"""
-
css = """
/* CSSStyleRule */
-
.markdown {
- background-color: lightblue;
padding: 6px 10px;
}
-.checkbox_info {
- color: var(--block-title-text-color) !important;
- font-size: var(--block-title-text-size) !important;
- font-weight: var(--block-title-text-weight) !important;
- height: 22px;
- margin-bottom: 8px !important;
+@media (prefers-color-scheme: light) {
+ .markdown {
+ background-color: lightblue;
+ color: #000;
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ .markdown {
+ background-color: #4b4b4b;
+ color: rgb(244, 244, 245);
+ }
}
::selection {
- background: #ffc078; !important;
-}
-
-#checkbox_train_dpo input[type="checkbox"]{
- margin-top: 6px;
-}
-
-#checkbox_train_dpo span {
- margin-top: 6px;
-}
-
-#checkbox_align_train {
- padding-top: 18px;
- padding-bottom: 18px;
-}
-
-#checkbox_align_infer input[type="checkbox"] {
- margin-top: 10px;
-}
-
-#checkbox_align_infer span {
- margin-top: 10px;
+ background: #ffc078 !important;
}
footer {
@@ -91,6 +48,7 @@ footer * {
}
"""
+
top_html = """
{}
@@ -98,12 +56,12 @@ top_html = """
-
-
-
+
+
+
From 85035f7ac09b8b90146cc4cd6bf334673e9baac7 Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Mon, 14 Jul 2025 18:56:22 +0800
Subject: [PATCH 10/11] add RTF performence
add RTF performence
---
README.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/README.md b/README.md
index be807a08..f9feb80d 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,11 @@ Unseen speakers few-shot fine-tuning demo:
https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-80c060ab47fb
+**RTF(inference speed) of GPT-SoVITS**:
+0.028 tested in 4060Ti, 0.014 tested in 4090. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference .
+
+请不要尬黑GPT-SoVITS推理速度慢,谢谢!
+
**User guide: [简体中文](https://www.yuque.com/baicaigongchang1145haoyuangong/ib3g1e) | [English](https://rentry.co/GPT-SoVITS-guide#/)**
## Installation
From 42586e20f7e2d58026ed2fa68ac1ddf41fc48346 Mon Sep 17 00:00:00 2001
From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com>
Date: Mon, 14 Jul 2025 19:01:26 +0800
Subject: [PATCH 11/11] add RTF performence
add RTF performence
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index f9feb80d..86d50ea2 100644
--- a/README.md
+++ b/README.md
@@ -43,8 +43,8 @@ Unseen speakers few-shot fine-tuning demo:
https://github.com/RVC-Boss/GPT-SoVITS/assets/129054828/05bee1fa-bdd8-4d85-9350-80c060ab47fb
-**RTF(inference speed) of GPT-SoVITS**:
-0.028 tested in 4060Ti, 0.014 tested in 4090. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference .
+**RTF(inference speed) of GPT-SoVITS v2 ProPlus**:
+0.028 tested in 4060Ti, 0.014 tested in 4090 (1400words~=4min, inference time is 3.36s), 0.526 in M4 CPU. You can test our [huggingface demo](https://lj1995-gpt-sovits-proplus.hf.space/) (half H200) to experience high-speed inference .
请不要尬黑GPT-SoVITS推理速度慢,谢谢!