152334H / tortoise-tts-fast

Fast TorToiSe inference (5x or your money back!)
GNU Affero General Public License v3.0
759 stars 177 forks source link

install is broken #60

Closed bbecausereasonss closed 1 year ago

bbecausereasonss commented 1 year ago

instructions are unclear. dependencies are wrong/out-of-date and unclear hash's are off. nothing works.

bbecausereasonss commented 1 year ago

I have tried re-installing it like 5x now... each time, it messes up somehow and will only use the CPU for inference.

-

DEPRECATION: pesq is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for pesq ... error error: subprocess-exited-with-error

× Running setup.py install for pesq did not run successfully. │ exit code: 1 ╰─> [29 lines of output] C:\Users\chlyw\Desktop\tortoise-tts-fast\venv\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. running install C:\Users\chlyw\Desktop\tortoise-tts-fast\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\pesq copying pesq_pesq.py -> build\lib.win-amd64-cpython-310\pesq copying pesq__init__.py -> build\lib.win-amd64-cpython-310\pesq copying pesq\cypesq.pyx -> build\lib.win-amd64-cpython-310\pesq copying pesq\dsp.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesq.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqio.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqmain.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqpar.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\dsp.c -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqdsp.c -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqmod.c -> build\lib.win-amd64-cpython-310\pesq running build_ext cythoning pesq/cypesq.pyx to pesq\cypesq.c c:\users\chlyw\appdata\local\temp\pip-install-pxaqf5ya\pesq_3abdb24b9ad241dea71c846cdcdf5c43.eggs\cython-0.29.33-py3.10.egg\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\chlyw\AppData\Local\Temp\pip-install-pxaqf5ya\pesq_3abdb24b9ad241dea71c846cdcdf5c43\pesq\cypesq.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'cypesq' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pesq

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

bbecausereasonss commented 1 year ago

C:\Users\chlyw\Desktop\tortoise-tts-fast\tortoise\utils\audio.py:19: WavFileWarning: Chunk (non-data) not understood, skipping it. sampling_rate, data = read(full_path) mode 0 Generating autoregressive samples.. 100%|███████████████████████████████████████████████████████████████████████████████████| 32/32 [05:29<00:00, 10.28s/it] Computing best candidates using CLVP 100%|███████████████████████████████████████████████████████████████████████████████████| 32/32 [00:46<00:00, 1.44s/it] Transforming autoregressive outputs into audio.. 100%|███████████████████████████████████████████████████████████████████████████████████| 15/15 [00:37<00:00, 2.47s/it] 100%|███████████████████████████████████████████████████████████████████████████████████| 15/15 [00:28<00:00, 1.87s/it] 100%|███████████████████████████████████████████████████████████████████████████████████| 15/15 [00:28<00:00, 1.89s/it] 2023-03-25 23:49:38.249 Uncaught app exception Traceback (most recent call last): File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\chlyw\Desktop\tortoise-tts-fast\scripts\app.py", line 278, in main() File "C:\Users\chlyw\Desktop\tortoise-tts-fast\scripts\app.py", line 247, in main filepaths = run_and_save_tts( File "C:\Users\chlyw\Desktop\tortoise-tts-fast\tortoise\inference.py", line 109, in run_and_save_tts save_gen_with_voicefix(g, fps[-1], squeeze=False, voicefixer=voicefixer) File "C:\Users\chlyw\Desktop\tortoise-tts-fast\tortoise\inference.py", line 173, in save_gen_with_voicefix vfixer.restore( File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\voicefixer\base.py", line 141, in restore out_np_wav = self.restore_inmem( File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\voicefixer\base.py", line 106, in restore_inmem check_cuda_availability(cuda=cuda) File "C:\Users\chlyw\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\voicefixer\tools\pytorch_util.py", line 8, in check_cuda_availability raise RuntimeError("Error: You set cuda=True but no cuda device found.") RuntimeError: Error: You set cuda=True but no cuda device found.

bbecausereasonss commented 1 year ago

Running setup.py install for pesq did not run successfully. │ exit code: 1 ╰─> [29 lines of output] C:\Users\chlyw\Desktop\tortoise-tts-fast\venv\lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. WARNING: The wheel package is not available. running install C:\Users\chlyw\Desktop\tortoise-tts-fast\venv\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\pesq copying pesq_pesq.py -> build\lib.win-amd64-cpython-310\pesq copying pesq__init__.py -> build\lib.win-amd64-cpython-310\pesq copying pesq\cypesq.pyx -> build\lib.win-amd64-cpython-310\pesq copying pesq\dsp.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesq.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqio.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqmain.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqpar.h -> build\lib.win-amd64-cpython-310\pesq copying pesq\dsp.c -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqdsp.c -> build\lib.win-amd64-cpython-310\pesq copying pesq\pesqmod.c -> build\lib.win-amd64-cpython-310\pesq running build_ext cythoning pesq/cypesq.pyx to pesq\cypesq.c c:\users\chlyw\appdata\local\temp\pip-install-9fqs7wm1\pesq_e88340e63bea491abee911d23108b562.eggs\cython-0.29.33-py3.10.egg\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\chlyw\AppData\Local\Temp\pip-install-9fqs7wm1\pesq_e88340e63bea491abee911d23108b562\pesq\cypesq.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'cypesq' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pesq

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: python.exe -m pip install --upgrade pip

bbecausereasonss commented 1 year ago

c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ipesq -IC:\Users\chlyw\anaconda3\envs\ttts-fast\lib\site-packages\numpy\core\include -IC:\Users\chlyw\anaconda3\envs\ttts-fast\lib\site-packages\numpy\core\include -IC:\Users\chlyw\anaconda3\envs\ttts-fast\include -IC:\Users\chlyw\anaconda3\envs\ttts-fast\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" /Tcpesq/dsp.c /Fobuild\temp.win-amd64-cpython-38\Release\pesq/dsp.obj dsp.c pesq/dsp.c(105): fatal error C1083: Cannot open include file: 'math.h': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pesq

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. (ttts-fast) PS C:\Users\chlyw\Desktop\tortoise-tts-fast>

bbecausereasonss commented 1 year ago

I give up. I re-tried one last 15'th time through a Python Venv, after installing buildtools for C++ v14+ + windows 10 sdk.

I didn't get any critical errors this time, HOWEVER. Streamlit still uses only CPU! My GPU is on 1% utilization.

--

(myenv) C:\Users\chlyw\Desktop\tortoise-tts-fast>pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117 Collecting torch Using cached https://download.pytorch.org/whl/cu117/torch-2.0.0%2Bcu117-cp310-cp310-win_amd64.whl (2343.6 MB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu117/torchvision-0.15.1%2Bcu117-cp310-cp310-win_amd64.whl (4.9 MB) Collecting torchaudio Using cached https://download.pytorch.org/whl/cu117/torchaudio-2.0.1%2Bcu117-cp310-cp310-win_amd64.whl (2.5 MB) Collecting networkx Using cached https://download.pytorch.org/whl/networkx-3.0-py3-none-any.whl (2.0 MB) Collecting filelock Using cached filelock-3.10.6-py3-none-any.whl (10 kB) Collecting typing-extensions Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting jinja2 Using cached https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting sympy Using cached https://download.pytorch.org/whl/sympy-1.11.1-py3-none-any.whl (6.5 MB) Collecting requests Using cached requests-2.28.2-py3-none-any.whl (62 kB) Collecting pillow!=8.3.*,>=5.3.0 Using cached Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB) Collecting numpy Using cached numpy-1.24.2-cp310-cp310-win_amd64.whl (14.8 MB) Collecting MarkupSafe>=2.0 Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.2-cp310-cp310-win_amd64.whl (16 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl (97 kB) Collecting idna<4,>=2.5 Using cached https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 Using cached https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB) Collecting mpmath>=0.19 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio Successfully installed MarkupSafe-2.1.2 certifi-2022.12.7 charset-normalizer-3.1.0 filelock-3.10.6 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.0 numpy-1.24.2 pillow-9.4.0 requests-2.28.2 sympy-1.11.1 torch-2.0.0+cu117 torchaudio-2.0.1+cu117 torchvision-0.15.1+cu117 typing-extensions-4.5.0 urllib3-1.26.15

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: python.exe -m pip install --upgrade pip

(myenv) C:\Users\chlyw\Desktop\tortoise-tts-fast>python3 -m pip install -e . Obtaining file:///C:/Users/chlyw/Desktop/tortoise-tts-fast Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Preparing editable metadata (pyproject.toml) ... done Collecting bigvgan@ git+https://github.com/152334H/BigVGAN.git Cloning https://github.com/152334H/BigVGAN.git to c:\users\chlyw\appdata\local\temp\pip-install-n976_qbr\bigvgan_16551bc14676406b88eef762e3c5b682 Running command git clone --filter=blob:none --quiet https://github.com/152334H/BigVGAN.git 'C:\Users\chlyw\AppData\Local\Temp\pip-install-n976_qbr\bigvgan_16551bc14676406b88eef762e3c5b682' Resolved https://github.com/152334H/BigVGAN.git to commit b10aaeea6ff7e5704d4f8198071cf9a4c174e78a Preparing metadata (setup.py) ... done Requirement already satisfied: tqdm<5.0.0,>=4.64.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (4.64.1) Requirement already satisfied: einops<0.7.0,>=0.6.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.6.0) Requirement already satisfied: streamlit<2.0.0,>=1.18.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (1.20.0) Requirement already satisfied: voicefixer<0.2.0,>=0.1.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.1.2) Requirement already satisfied: simple-parsing<0.0.22,>=0.0.21 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.0.21.post1) Requirement already satisfied: transformers<5.0.0,>=4.26.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (4.27.3) Requirement already satisfied: tokenizers<0.14.0,>=0.13.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.13.2) Requirement already satisfied: k-diffusion<0.0.15,>=0.0.14 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.0.14) Requirement already satisfied: librosa<0.9.0,>=0.8.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.8.1) Requirement already satisfied: scipy<2.0.0,>=1.10.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (1.10.1) Requirement already satisfied: gdown<5.0.0,>=4.6.4 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (4.7.1) Requirement already satisfied: torchaudio<0.14.0,>=0.13.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.13.1) Requirement already satisfied: progressbar<3.0,>=2.5 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (2.5) Requirement already satisfied: Unidecode<2.0.0,>=1.3.6 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (1.3.6) Requirement already satisfied: numba<0.57.0,>=0.56.4 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.56.4) Requirement already satisfied: inflect<7.0.0,>=6.0.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (6.0.2) Requirement already satisfied: rotary-embedding-torch<0.3.0,>=0.2.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tortoise==3.0.0) (0.2.1) Requirement already satisfied: filelock in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (3.8.0) Requirement already satisfied: six in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (1.16.0) Requirement already satisfied: requests[socks] in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (2.25.1) Requirement already satisfied: beautifulsoup4 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (4.11.1) Requirement already satisfied: pydantic>=1.9.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from inflect<7.0.0,>=6.0.2->tortoise==3.0.0) (1.10.2) Requirement already satisfied: wandb in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.14.0) Requirement already satisfied: resize-right in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.0.2) Requirement already satisfied: torchvision in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.14.1) Requirement already satisfied: accelerate in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.15.0.dev0) Requirement already satisfied: scikit-image in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.19.2) Requirement already satisfied: Pillow in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (9.2.0) Requirement already satisfied: torchdiffeq in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.2.3) Requirement already satisfied: jsonmerge in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.8.0) Requirement already satisfied: torch in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.13.1) Requirement already satisfied: clean-fid in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.1.29) Requirement already satisfied: clip-anytorch in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (2.5.2) Requirement already satisfied: kornia in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.6.7) Requirement already satisfied: torchsde in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.2.5) Requirement already satisfied: soundfile>=0.10.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (0.12.1) Requirement already satisfied: audioread>=2.0.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (3.0.0) Requirement already satisfied: resampy>=0.2.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (0.4.2) Requirement already satisfied: packaging>=20.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (21.3) Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (1.2.2) Requirement already satisfied: decorator>=3.0.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (5.1.1) Requirement already satisfied: joblib>=0.14 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (1.2.0) Requirement already satisfied: numpy>=1.15.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (1.23.3) Requirement already satisfied: pooch>=1.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (1.7.0) Requirement already satisfied: setuptools in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from numba<0.57.0,>=0.56.4->tortoise==3.0.0) (65.6.0) Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from numba<0.57.0,>=0.56.4->tortoise==3.0.0) (0.39.1) Requirement already satisfied: docstring-parser~=0.15 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from simple-parsing<0.0.22,>=0.0.21->tortoise==3.0.0) (0.15) Requirement already satisfied: typing-extensions in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from simple-parsing<0.0.22,>=0.0.21->tortoise==3.0.0) (4.4.0) Requirement already satisfied: python-dateutil in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2.8.2) Requirement already satisfied: tzlocal>=1.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (4.2) Requirement already satisfied: pandas<2,>=0.25 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (1.5.1) Requirement already satisfied: protobuf<4,>=3.12 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (3.20.3) Requirement already satisfied: semver in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2.13.0) Requirement already satisfied: toml in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.10.2) Requirement already satisfied: tornado>=6.0.3 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (6.2) Requirement already satisfied: pympler>=0.9 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (1.0.1) Requirement already satisfied: rich>=10.11.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (12.5.1) Requirement already satisfied: blinker>=1.0.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (1.5) Requirement already satisfied: cachetools>=4.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (5.2.0) Requirement already satisfied: watchdog in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2.1.9) Requirement already satisfied: gitpython!=3.1.19 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (3.1.27) Requirement already satisfied: altair<5,>=3.2.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (4.2.0) Requirement already satisfied: pyarrow>=4.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (9.0.0) Requirement already satisfied: validators>=0.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.20.0) Requirement already satisfied: importlib-metadata>=1.4 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (5.0.0) Requirement already satisfied: click>=7.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (8.1.3) Requirement already satisfied: pydeck>=0.1.dev5 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.8.0b1) Requirement already satisfied: colorama in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tqdm<5.0.0,>=4.64.1->tortoise==3.0.0) (0.4.6) Requirement already satisfied: regex!=2019.12.17 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers<5.0.0,>=4.26.1->tortoise==3.0.0) (2022.10.31) Requirement already satisfied: huggingface-hub<1.0,>=0.11.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers<5.0.0,>=4.26.1->tortoise==3.0.0) (0.11.0) Requirement already satisfied: pyyaml>=5.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from transformers<5.0.0,>=4.26.1->tortoise==3.0.0) (6.0) Requirement already satisfied: torchlibrosa==0.0.7 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (0.0.7) Requirement already satisfied: matplotlib in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (3.6.2) Requirement already satisfied: pesq in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from bigvgan@ git+https://github.com/152334H/BigVGAN.git->tortoise==3.0.0) (0.0.4) Requirement already satisfied: auraloss in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from bigvgan@ git+https://github.com/152334H/BigVGAN.git->tortoise==3.0.0) (0.3.0) Requirement already satisfied: jinja2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (3.1.2) Requirement already satisfied: entrypoints in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.4) Requirement already satisfied: toolz in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.12.0) Requirement already satisfied: jsonschema>=3.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (4.17.0) Requirement already satisfied: gitdb<5,>=4.0.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gitpython!=3.1.19->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (4.0.9) Requirement already satisfied: zipp>=0.5 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from importlib-metadata>=1.4->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (3.10.0) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from packaging>=20.0->librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (3.0.9) Requirement already satisfied: pytz>=2020.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pandas<2,>=0.25->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2022.6) Requirement already satisfied: platformdirs>=2.5.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from pooch>=1.0->librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (2.5.2) Requirement already satisfied: certifi>=2017.4.17 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests[socks]->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (2022.9.24) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests[socks]->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (1.26.12) Requirement already satisfied: idna<3,>=2.5 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests[socks]->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (2.10) Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests[socks]->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (4.0.0) Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from rich>=10.11.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2.13.0) Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from rich>=10.11.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.9.1) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-learn!=0.19.0,>=0.14.0->librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (3.1.0) Requirement already satisfied: cffi>=1.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from soundfile>=0.10.2->librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (1.15.1) Requirement already satisfied: pytz-deprecation-shim in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tzlocal>=1.1->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.1.0.post0) Requirement already satisfied: tzdata in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from tzlocal>=1.1->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2022.2) Requirement already satisfied: psutil in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from accelerate->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (5.9.4) Requirement already satisfied: soupsieve>1.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from beautifulsoup4->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (2.3.2.post1) Requirement already satisfied: ftfy in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from clip-anytorch->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (6.1.1) Requirement already satisfied: fonttools>=4.22.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib->voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (4.38.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib->voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (1.4.4) Requirement already satisfied: contourpy>=1.0.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib->voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (1.0.6) Requirement already satisfied: cycler>=0.10 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from matplotlib->voicefixer<0.2.0,>=0.1.2->tortoise==3.0.0) (0.11.0) Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from requests[socks]->gdown<5.0.0,>=4.6.4->tortoise==3.0.0) (1.7.1) Requirement already satisfied: tifffile>=2019.7.26 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (2022.10.10) Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.4.1) Requirement already satisfied: imageio>=2.4.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (2.22.4) Requirement already satisfied: networkx>=2.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from scikit-image->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (2.8.8) Requirement already satisfied: boltons>=20.2.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torchsde->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (23.0.0) Requirement already satisfied: trampoline>=0.1.2 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from torchsde->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.1.2) Requirement already satisfied: appdirs>=1.4.3 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from wandb->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.4.4) Requirement already satisfied: setproctitle in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from wandb->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.3.2) Requirement already satisfied: sentry-sdk>=1.0.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from wandb->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (1.17.0) Requirement already satisfied: pathtools in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from wandb->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.1.2) Requirement already satisfied: docker-pycreds>=0.4.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from wandb->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.4.0) Requirement already satisfied: pycparser in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from cffi>=1.0->soundfile>=0.10.2->librosa<0.9.0,>=0.8.1->tortoise==3.0.0) (2.21) Requirement already satisfied: smmap<6,>=3.0.1 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from gitdb<5,>=4.0.1->gitpython!=3.1.19->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (5.0.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from jinja2->altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (2.1.1) Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from jsonschema>=3.0->altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (0.19.2) Requirement already satisfied: attrs>=17.4.0 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from jsonschema>=3.0->altair<5,>=3.2.0->streamlit<2.0.0,>=1.18.1->tortoise==3.0.0) (22.1.0) Requirement already satisfied: wcwidth>=0.2.5 in c:\users\chlyw\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (from ftfy->clip-anytorch->k-diffusion<0.0.15,>=0.0.14->tortoise==3.0.0) (0.2.5) Building wheels for collected packages: tortoise Building editable for tortoise (pyproject.toml) ... done Created wheel for tortoise: filename=tortoise-3.0.0-py3-none-any.whl size=17765 sha256=9d39903d896fec2ffe892bcdb4587c7457fb0f4a6782702c341789b01b7799dc Stored in directory: C:\Users\chlyw\AppData\Local\Temp\pip-ephem-wheel-cache-q9bwbflz\wheels\0a\91\cc\ab2b0614b6575316d523481802c23f21258eb9640bfa1b09bf Successfully built tortoise Installing collected packages: tortoise Attempting uninstall: tortoise Found existing installation: tortoise 3.0.0 Uninstalling tortoise-3.0.0: Successfully uninstalled tortoise-3.0.0 Successfully installed tortoise-3.0.0

[notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: C:\Users\chlyw\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip

(myenv) C:\Users\chlyw\Desktop\tortoise-tts-fast>pip3 install git+https://github.com/152334H/BigVGAN.git Collecting git+https://github.com/152334H/BigVGAN.git Cloning https://github.com/152334H/BigVGAN.git to c:\users\chlyw\appdata\local\temp\pip-req-build-_5ejreea Running command git clone --filter=blob:none --quiet https://github.com/152334H/BigVGAN.git 'C:\Users\chlyw\AppData\Local\Temp\pip-req-build-_5ejreea' Resolved https://github.com/152334H/BigVGAN.git to commit b10aaeea6ff7e5704d4f8198071cf9a4c174e78a Preparing metadata (setup.py) ... done Requirement already satisfied: torch in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from BigVGAN==0.0.1) (2.0.0+cu117) Requirement already satisfied: numpy in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from BigVGAN==0.0.1) (1.24.2) Collecting librosa==0.8.1 Using cached librosa-0.8.1-py3-none-any.whl (203 kB) Collecting scipy Using cached scipy-1.10.1-cp310-cp310-win_amd64.whl (42.5 MB) Collecting soundfile Using cached soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) Collecting matplotlib Using cached matplotlib-3.7.1-cp310-cp310-win_amd64.whl (7.6 MB) Collecting pesq Using cached pesq-0.0.4.tar.gz (38 kB) Preparing metadata (setup.py) ... done Collecting auraloss Using cached auraloss-0.3.0-py3-none-any.whl (15 kB) Collecting tqdm Using cached tqdm-4.65.0-py3-none-any.whl (77 kB) Collecting joblib>=0.14 Using cached joblib-1.2.0-py3-none-any.whl (297 kB) Collecting decorator>=3.0.0 Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting audioread>=2.0.0 Using cached audioread-3.0.0.tar.gz (377 kB) Preparing metadata (setup.py) ... done Collecting resampy>=0.2.2 Using cached resampy-0.4.2-py3-none-any.whl (3.1 MB) Collecting numba>=0.43.0 Using cached numba-0.56.4-cp310-cp310-win_amd64.whl (2.5 MB) Collecting scikit-learn!=0.19.0,>=0.14.0 Using cached scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB) Collecting pooch>=1.0 Using cached pooch-1.7.0-py3-none-any.whl (60 kB) Collecting packaging>=20.0 Using cached packaging-23.0-py3-none-any.whl (42 kB) Collecting cffi>=1.0 Using cached cffi-1.15.1-cp310-cp310-win_amd64.whl (179 kB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting contourpy>=1.0.1 Using cached contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.39.2-py3-none-any.whl (1.0 MB) Requirement already satisfied: pillow>=6.2.0 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from matplotlib->BigVGAN==0.0.1) (9.4.0) Collecting pyparsing>=2.3.1 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Requirement already satisfied: typing-extensions in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from torch->BigVGAN==0.0.1) (4.5.0) Requirement already satisfied: jinja2 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from torch->BigVGAN==0.0.1) (3.1.2) Requirement already satisfied: filelock in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from torch->BigVGAN==0.0.1) (3.10.6) Requirement already satisfied: sympy in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from torch->BigVGAN==0.0.1) (1.11.1) Requirement already satisfied: networkx in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from torch->BigVGAN==0.0.1) (3.0) Collecting colorama Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting llvmlite<0.40,>=0.39.0dev0 Using cached llvmlite-0.39.1-cp310-cp310-win_amd64.whl (23.2 MB) Requirement already satisfied: setuptools in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from numba>=0.43.0->librosa==0.8.1->BigVGAN==0.0.1) (65.5.0) Collecting numpy Using cached numpy-1.23.5-cp310-cp310-win_amd64.whl (14.6 MB) Requirement already satisfied: requests>=2.19.0 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from pooch>=1.0->librosa==0.8.1->BigVGAN==0.0.1) (2.28.2) Collecting platformdirs>=2.5.0 Using cached platformdirs-3.2.0-py3-none-any.whl (14 kB) Collecting six>=1.5 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from jinja2->torch->BigVGAN==0.0.1) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from sympy->torch->BigVGAN==0.0.1) (1.3.0) Requirement already satisfied: idna<4,>=2.5 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from requests>=2.19.0->pooch>=1.0->librosa==0.8.1->BigVGAN==0.0.1) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from requests>=2.19.0->pooch>=1.0->librosa==0.8.1->BigVGAN==0.0.1) (1.26.15) Requirement already satisfied: certifi>=2017.4.17 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from requests>=2.19.0->pooch>=1.0->librosa==0.8.1->BigVGAN==0.0.1) (2022.12.7) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\chlyw\desktop\tortoise-tts-fast\myenv\lib\site-packages (from requests>=2.19.0->pooch>=1.0->librosa==0.8.1->BigVGAN==0.0.1) (3.1.0) Installing collected packages: pesq, threadpoolctl, six, pyparsing, pycparser, platformdirs, packaging, numpy, llvmlite, kiwisolver, joblib, fonttools, decorator, cycler, colorama, audioread, tqdm, scipy, python-dateutil, pooch, numba, contourpy, cffi, soundfile, scikit-learn, resampy, matplotlib, auraloss, librosa, BigVGAN DEPRECATION: pesq is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for pesq ... done Attempting uninstall: numpy Found existing installation: numpy 1.24.2 Uninstalling numpy-1.24.2: Successfully uninstalled numpy-1.24.2 DEPRECATION: audioread is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for audioread ... done DEPRECATION: BigVGAN is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for BigVGAN ... done Successfully installed BigVGAN-0.0.1 audioread-3.0.0 auraloss-0.3.0 cffi-1.15.1 colorama-0.4.6 contourpy-1.0.7 cycler-0.11.0 decorator-5.1.1 fonttools-4.39.2 joblib-1.2.0 kiwisolver-1.4.4 librosa-0.8.1 llvmlite-0.39.1 matplotlib-3.7.1 numba-0.56.4 numpy-1.23.5 packaging-23.0 pesq-0.0.4 platformdirs-3.2.0 pooch-1.7.0 pycparser-2.21 pyparsing-3.0.9 python-dateutil-2.8.2 resampy-0.4.2 scikit-learn-1.2.2 scipy-1.10.1 six-1.16.0 soundfile-0.12.1 threadpoolctl-3.1.0 tqdm-4.65.0

[notice] A new release of pip available: 22.3.1 -> 23.0.1 [notice] To update, run: python.exe -m pip install --upgrade pip

(myenv) C:\Users\chlyw\Desktop\tortoise-tts-fast>streamlit run scripts/app.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501 Network URL: http://192.168.1.176:8501

C:\Users\chlyw\Desktop\tortoise-tts-fast\tortoise\utils\audio.py:19: WavFileWarning: Chunk (non-data) not understood, skipping it. sampling_rate, data = read(full_path) generating audio for text 0: Ladies and gentlemen these mini katana swords are so insanely sharp, it’s like they can slice through your consciousness and send you on a wild DMT spiral, man. It’s like your mind is a watermelon and the sword just cuts through it, unleashing this cosmic whirlwind of psychedelic madness. mode 0 Generating autoregressive samples.. 19%|███████████████▊ | 6/32 [02:46<11:37, 26.81s/it]

YellowRoseCx commented 1 year ago

Have you tried not running it in a virtual environment? What GPU do you use? And Yeah the readme instructions aren't the best, they say "AMD installation is not supported" but it is if you use AMD ROCM version of pytorch. I use a 6800xt on linux mint

bbecausereasonss commented 1 year ago

I've tried about 15x no joke, tried conda env's, tried python venv's, tried python without venv. Always issues.

YellowRoseCx commented 1 year ago

I've tried about 15x no joke, tried conda env's, tried python venv's, tried python without venv. Always issues.

What GPU are you using?

bbecausereasonss commented 1 year ago

I've tried about 15x no joke, tried conda env's, tried python venv's, tried python without venv. Always issues.

What GPU are you using?

4090

YellowRoseCx commented 1 year ago

you could always try using Windows Subsystem for Linux on your windows machine and run the program from there. I've noticed Windows is prone to a lot of errors with these types of programs

bbecausereasonss commented 1 year ago

you could always try using Windows Subsystem for Linux on your windows machine and run the program from there. I've noticed Windows is prone to a lot of errors with these types of programs

Update no luck. Tried Conda/Python through WSL. No install errors, but inference wouldnt run. Massive error count with RuntimeError: cuFFT error: CUFFT_INTERNAL_ERROR

bbecausereasonss commented 1 year ago

ERROR: Cannot install -r requirements.txt (line 1064), -r requirements.txt (line 191), -r requirements.txt (line 323), -r requirements.txt (line 401) and scipy>=1.10.1 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested scipy>=1.10.1 clean-fid 0.1.35 depends on scipy>=1.0.1 k-diffusion 0.0.14 depends on scipy librosa 0.8.1 depends on scipy>=1.0.0 scikit-image 0.20.0 depends on scipy<1.9.2 and >=1.8; python_version <= "3.9"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

YellowRoseCx commented 1 year ago

Another thing I thought you could check is seeing if you have the cuda 11.7 toolkit installed on windows , idk if it needs to be in the environment or not

I don't know why you're getting that error in Linux and I'm sorry I haven't been more helpful

bbecausereasonss commented 1 year ago

Another thing I thought you could check is seeing if you have the cuda 11.7 toolkit installed on windows , idk if it needs to be in the environment or not

I don't know why you're getting that error in Linux and I'm sorry I haven't been more helpful

Yep I have a bunch of them 11.7 and 11.8

bbecausereasonss commented 1 year ago

FIXED!!!!!!!!!!!!!!!!

Use this line instead of the line in the instructions to install an older version of Pytorch>

conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia

Make sure Visual Studio 14+ C++ build tools are installed along with Windows 10/11 SDK.

AndrewBeniston commented 1 year ago

FIXED!!!!!!!!!!!!!!!!

Use this line instead of the line in the instructions to install an older version of Pytorch>

conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia

Make sure Visual Studio 14+ C++ build tools are installed along with Windows 10/11 SDK.

Could you be a little more specific for us noobs on the set up, you've got it in a conda too right?

bbecausereasonss commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda create -n ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.
AndrewBeniston commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda -n create ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

You might good sir, are a boss. Many thanks!

mariuslqd commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda -n create ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

Do you know why I get this error when starting streamlit run scripts/app.py? Followed your steps to the T C:\miniconda3\envs\tortoise-fast\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: [WinError 206] The filename or extension is too long: 'C:\\miniconda3\\envs\\tortoise-fast\\lib\\site-packages\\torchvision' warn(f"Failed to load image Python extension: {e}")

bbecausereasonss commented 1 year ago

From ChatGPT

The error message indicates that the path to the torchvision package is too long, causing issues when loading the image Python extension. This is a known issue on Windows systems, where the maximum path length is limited to 260 characters by default.

There are a few possible solutions to this issue:

Enable long file paths on Windows: Starting from Windows 10 version 1607, you can enable long file paths. To do this, you need to update the group policy or the registry.

To update the group policy:

Press Win + R, type gpedit.msc, and press Enter to open the Local Group Policy Editor. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem. Double-click on “Enable Win32 long paths” and select “Enabled”. Click “OK” to save the changes.

To update the registry:

Press Win + R, type regedit, and press Enter to open the Registry Editor. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Right-click on the FileSystem key, select New > DWORD (32-bit) Value, and name it LongPathsEnabled. Double-click on LongPathsEnabled and set its value to 1. Click “OK” to save the changes.

After enabling long file paths, restart your computer for the changes to take effect.

Shorten the environment name or the path: You can try shortening the name of your Conda environment or installing Miniconda/Anaconda in a directory with a shorter path. This will help you keep the path length below the Windows limit of 260 characters.

Use a different environment manager: As an alternative, you can use a virtual environment manager like venv or virtualenv instead of Conda, which may help you avoid this issue.

Remember to back up your data and create a system restore point before making changes to the registry or group policy.

mariuslqd commented 1 year ago

From ChatGPT

The error message indicates that the path to the torchvision package is too long, causing issues when loading the image Python extension. This is a known issue on Windows systems, where the maximum path length is limited to 260 characters by default.

There are a few possible solutions to this issue:

Enable long file paths on Windows: Starting from Windows 10 version 1607, you can enable long file paths. To do this, you need to update the group policy or the registry.

To update the group policy:

Press Win + R, type gpedit.msc, and press Enter to open the Local Group Policy Editor. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem. Double-click on “Enable Win32 long paths” and select “Enabled”. Click “OK” to save the changes.

To update the registry:

Press Win + R, type regedit, and press Enter to open the Registry Editor. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Right-click on the FileSystem key, select New > DWORD (32-bit) Value, and name it LongPathsEnabled. Double-click on LongPathsEnabled and set its value to 1. Click “OK” to save the changes.

After enabling long file paths, restart your computer for the changes to take effect.

Shorten the environment name or the path: You can try shortening the name of your Conda environment or installing Miniconda/Anaconda in a directory with a shorter path. This will help you keep the path length below the Windows limit of 260 characters.

Use a different environment manager: As an alternative, you can use a virtual environment manager like venv or virtualenv instead of Conda, which may help you avoid this issue.

Remember to back up your data and create a system restore point before making changes to the registry or group policy.

Ty, tried that already, as I also used chatgpt, Doesn't work and the path length is not more then the 260 chars, so must be a different problem.

The weird thing is the interface still starts and runs, but to me there is no difference in speed. Update: Now it works without running the error. Maybe it was too long, as now I switched to a direct c:\ path

blahblahdrugs commented 1 year ago

8. pip install git+https://github.com/152334H/BigVGAN.git

You knocked it out of the park. It's working beautifully.

bbecausereasonss commented 1 year ago
  1. pip install git+https://github.com/152334H/BigVGAN.git

You knocked it out of the park. It's working beautifully.

Glad I could help.

mariuslqd commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different. Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK. Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda -n create ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

Do you know why I get this error when starting streamlit run scripts/app.py? Followed your steps to the T C:\miniconda3\envs\tortoise-fast\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: [WinError 206] The filename or extension is too long: 'C:\\miniconda3\\envs\\tortoise-fast\\lib\\site-packages\\torchvision' warn(f"Failed to load image Python extension: {e}")

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda -n create ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

What kind of settings are you running/find the best quality/speed in?

Dwuuds commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different. Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK. Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda -n create ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

Do you know why I get this error when starting streamlit run scripts/app.py? Followed your steps to the T C:\miniconda3\envs\tortoise-fast\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: [WinError 206] The filename or extension is too long: 'C:\\miniconda3\\envs\\tortoise-fast\\lib\\site-packages\\torchvision' warn(f"Failed to load image Python extension: {e}")

Christ dude, thank you

louispaulet commented 1 year ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda create -n ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

I have made a simple docker project, want to try it ? My dockerfile is directly inspired from your comment.
Allows to use the fast version in a single command.
⚠️ You will need 32Go ram to run docker in WSL like me.

JefferyPLol commented 5 months ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different.

Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK.

Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda create -n ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

I followed your comment to the letter but trying to use the ui gets me this error.

2024-02-04 14:46:16.774 Uncaught app exception Traceback (most recent call last): File "D:\miniconda3\envs\ttts-fast\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script exec(code, module.dict) File "D:\miniconda3\tortoise-tts-fast\scripts\app.py", line 9, in from tortoise.inference import ( File "D:\miniconda3\tortoise-tts-fast\tortoise\inference.py", line 167, in vfixer = VoiceFixer() File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\base.py", line 13, in init self._model = voicefixer_fe(channels=2, sample_rate=44100) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\restorer\model.py", line 180, in init self.vocoder = Vocoder(sample_rate=44100) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\base.py", line 19, in init self._load_pretrain(Config.ckpt) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\base.py", line 25, in _load_pretrain self.model = Generator(Config.cin_channels) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\model\generator.py", line 34, in init nn.utils.parametrizations.weight_norm( AttributeError: module 'torch.nn.utils.parametrizations' has no attribute 'weight_norm'

JefferyPLol commented 5 months ago

Steps for installing using Conda (in Windows10), WSL, Linux may be different. Make sure you have Cuda toolkit 11.7 installed on your machine. Make sure you have Visual Studio 14+ C++ build tools installed, along with Windows 10/11 SDK. Open Conda environment (Anaconda/MiniConda)

  1. git pull the repo.
  2. cd into the repo dir.
  3. conda create -n ttts-fast python=3.8
  4. conda activate ttts-fast
  5. (ensure it has activated ant (ttts-fast) is indicated on left side of CLI.
  6. conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
  7. pip install -e .
  8. pip install git+https://github.com/152334H/BigVGAN.git
  9. streamlit run scripts/app.py
  10. Make selections and create your inference.

I followed your comment to the letter but trying to use the ui gets me this error.

2024-02-04 14:46:16.774 Uncaught app exception Traceback (most recent call last): File "D:\miniconda3\envs\ttts-fast\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script exec(code, module.dict) File "D:\miniconda3\tortoise-tts-fast\scripts\app.py", line 9, in from tortoise.inference import ( File "D:\miniconda3\tortoise-tts-fast\tortoise\inference.py", line 167, in vfixer = VoiceFixer() File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\base.py", line 13, in init self._model = voicefixer_fe(channels=2, sample_rate=44100) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\restorer\model.py", line 180, in init self.vocoder = Vocoder(sample_rate=44100) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\base.py", line 19, in init self._load_pretrain(Config.ckpt) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\base.py", line 25, in _load_pretrain self.model = Generator(Config.cin_channels) File "D:\miniconda3\envs\ttts-fast\lib\site-packages\voicefixer\vocoder\model\generator.py", line 34, in init nn.utils.parametrizations.weight_norm( AttributeError: module 'torch.nn.utils.parametrizations' has no attribute 'weight_norm'

Finally fixed my issue by running the commands pip3 install voicefixer==0.1.2 and pip install transformers==4.19.0