pip-ifying things

This commit is contained in:
mrq 2023-02-16 19:48:06 +00:00
parent efa43274bd
commit 76fce284e4
7 changed files with 12 additions and 8 deletions

View File

@ -13,7 +13,3 @@ threadpoolctl
appdirs
numpy
numba
gradio
music-tag
k-diffusion
voicefixer

4
requirements_legacy.txt Executable file
View File

@ -0,0 +1,4 @@
gradio
music-tag
k-diffusion
voicefixer

View File

@ -3,5 +3,6 @@ call .\tortoise-venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt
python -m pip install -r ./requirements_legacy.txt
deactivate
pause

View File

@ -4,4 +4,5 @@ python -m pip install --upgrade pip
# CUDA
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
python -m pip install -r ./requirements.txt
python -m pip install -r ./requirements_legacy.txt
deactivate

View File

@ -1,7 +1,8 @@
python -m venv tortoise-venv
call .\tortoise-venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio torch-directml==0.1.13.1.dev230119
python -m pip install torch torchvision torchaudio torch-directml
python -m pip install -r ./requirements.txt
python -m pip install -r ./requirements_legacy.txt
deactivate
pause

View File

@ -4,4 +4,5 @@ python -m pip install --upgrade pip
# ROCM
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu
python -m pip install -r ./requirements.txt
python -m pip install -r ./requirements_legacy.txt
deactivate

4
setup.py Normal file → Executable file
View File

@ -6,13 +6,13 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="TorToiSe",
packages=setuptools.find_packages(),
version="2.4.2",
version="2.4.3",
author="James Betker",
author_email="james@adamant.ai",
description="A high quality multi-voice text-to-speech library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/neonbjb/tortoise-tts",
url="https://git.ecker.tech/mrq/tortoise-tts",
project_urls={},
scripts=[
'scripts/tortoise_tts.py',