From 9dce710d9b748e7990e3d4f6479406a57d7afb4f Mon Sep 17 00:00:00 2001 From: tsukumi Date: Sun, 24 Nov 2024 03:32:56 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E7=B4=B0=E3=81=8B=E3=81=AA=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 2 +- pyproject.toml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index e0ed3d9d..70663318 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4209,4 +4209,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.0" python-versions = "~3.11" -content-hash = "432749c4638d565941c2abb3a9e7b0a5c316e59cb92c45a5111748cedfda2435" +content-hash = "a27c49175b7fbf0a9f96fc2bf0f126c1a390c025171829868f36d60385d32976" diff --git a/pyproject.toml b/pyproject.toml index e8f47454..fa477c1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,13 +88,11 @@ aivmlib = { git = "https://x-access-token:github_pat_11AJLTV7Q0LW9wXdYid0Oa_nHO4 # AivisSpeech-Engine にはカスタマイズされた Style-Bert-VITS2 が必要 style-bert-vits2 = { git = "https://github.com/tsukumijima/Style-Bert-VITS2", rev = "e834299b27e6378d9b3062f1b270f38414a94389" } # OS に応じて適切な ONNX Runtime プラグインをインストール +## Windows では若干速度は落ちるが onnxruntime-directml で代用できるのとファイルサイズがデカいので、 +## 当面 onnxruntime-gpu はインストールしない onnxruntime = "^1.20.0" onnxruntime-directml = { version = "^1.20.0", markers = "sys_platform == 'win32' and (platform_machine == 'x86_64' or platform_machine == 'AMD64')" } -onnxruntime-gpu = [ - # Windows では若干速度は落ちるが onnxruntime-directml で代用できるのとファイルサイズがデカいので、当面インストールしない - # { version = "^1.20.0", markers = "sys_platform == 'win32' and (platform_machine == 'x86_64' or platform_machine == 'AMD64')" }, - { version = "^1.20.0", markers = "sys_platform == 'linux' and platform_machine == 'x86_64'" }, -] +onnxruntime-gpu = { version = "^1.20.0", markers = "sys_platform == 'linux' and platform_machine == 'x86_64'" } [tool.poetry.group.dev.dependencies] pysen = "^0.11.0"