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

@ -13,7 +13,3 @@ threadpoolctl
appdirs appdirs
numpy numpy
numba 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 --upgrade pip
python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 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.txt
python -m pip install -r ./requirements_legacy.txt
deactivate deactivate
pause pause

View File

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

View File

@ -1,7 +1,8 @@
python -m venv tortoise-venv python -m venv tortoise-venv
call .\tortoise-venv\Scripts\activate.bat call .\tortoise-venv\Scripts\activate.bat
python -m pip install --upgrade pip 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.txt
python -m pip install -r ./requirements_legacy.txt
deactivate deactivate
pause pause

View File

@ -4,4 +4,5 @@ python -m pip install --upgrade pip
# ROCM # 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 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.txt
python -m pip install -r ./requirements_legacy.txt
deactivate deactivate