pip-ifying things

This commit is contained in:
mrq 2023-02-16 19:48:06 +00:00
parent d159346572
commit d53edf540e
6 changed files with 10 additions and 6 deletions

View File

@ -12,8 +12,4 @@ torchaudio
threadpoolctl
appdirs
numpy
numba
gradio
music-tag
k-diffusion
voicefixer
numba

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