maybe don't --force-reinstall to try and force downgrading, it just forces everything to uninstall then reinstall

This commit is contained in:
mrq 2023-03-10 04:22:47 +00:00
parent c231d842aa
commit 0b364b590e
6 changed files with 37 additions and 19 deletions

View File

@ -6,9 +6,12 @@ call .\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/cu117 python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
python -m pip install -r .\requirements.txt python -m pip install -r .\requirements.txt
python -m pip install --force-reinstall -r .\modules\tortoise-tts\requirements.txt python -m pip install -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -e .\modules\tortoise-tts\ python -m pip install -e .\modules\tortoise-tts\
python -m pip install --force-reinstall -r .\modules\dlas\requirements.txt python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install -U -r einops==0.6.0
python -m pip install -U -r librosa==0.8.1
xcopy .\modules\dlas\bitsandbytes_windows\* .\venv\Lib\site-packages\bitsandbytes\. /Y xcopy .\modules\dlas\bitsandbytes_windows\* .\venv\Lib\site-packages\bitsandbytes\. /Y
xcopy .\modules\dlas\bitsandbytes_windows\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y xcopy .\modules\dlas\bitsandbytes_windows\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y

View File

@ -10,9 +10,13 @@ python3 -m pip install --upgrade pip # just to be safe
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
# install requirements # install requirements
python3 -m pip install -r ./requirements.txt # install local requirements python3 -m pip install -r ./requirements.txt # install local requirements
python3 -m pip install --force-reinstall -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements python3 -m pip install -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install --force-reinstall -e ./modules/tortoise-tts/ # install TorToiSe python3 -m pip install -e ./modules/tortoise-tts/ # install TorToiSe
python3 -m pip install --force-reinstall -r ./modules/dlas/requirements.txt # instal DLAS requirements, last, because whisperx will break a dependency here python3 -m pip install -r ./modules/dlas/requirements.txt # instal DLAS requirements, last, because whisperx will break a dependency here
python3 -m pip install -U -r einops==0.6.0
python3 -m pip install -U -r librosa==0.8.1
rm *.bat rm *.bat
deactivate deactivate

View File

@ -6,9 +6,12 @@ call .\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 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 --force-reinstall -r .\modules\tortoise-tts\requirements.txt python -m pip install -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -e .\modules\tortoise-tts\ python -m pip install -e .\modules\tortoise-tts\
python -m pip install --force-reinstall -r .\modules\dlas\requirements.txt python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install -U -r einops==0.6.0
python -m pip install -U -r librosa==0.8.1
del *.sh del *.sh

View File

@ -10,9 +10,13 @@ python3 -m pip install --upgrade pip # just to be safe
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1 # 5.2 does not work for me desu
# install requirements # install requirements
python3 -m pip install -r ./requirements.txt # install local requirements python3 -m pip install -r ./requirements.txt # install local requirements
python3 -m pip install --force-reinstall -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements python3 -m pip install -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install --force-reinstall -e ./modules/tortoise-tts/ # install TorToiSe python3 -m pip install -e ./modules/tortoise-tts/ # install TorToiSe
python3 -m pip install --force-reinstall -r ./modules/dlas/requirements.txt # instal DLAS requirements python3 -m pip install -r ./modules/dlas/requirements.txt # instal DLAS requirements
python -m pip install -U -r einops==0.6.0
python -m pip install -U -r librosa==0.8.1
rm *.bat rm *.bat
./setup-rocm-bnb.sh ./setup-rocm-bnb.sh

View File

@ -7,9 +7,11 @@ call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -U -r .\requirements.txt python -m pip install -U -r .\requirements.txt
python -m pip install --force-reinstall -U -r .\modules\tortoise-tts\requirements.txt python -m pip install -U -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -U -e .\modules\tortoise-tts python -m pip install -U -e .\modules\tortoise-tts
python -m pip install --force-reinstall -U -r .\modules\dlas\requirements.txt python -m pip install -U -r .\modules\dlas\requirements.txt
python -m pip install -U -r einops==0.6.0
python -m pip install -U -r librosa==0.8.1
pause pause
deactivate deactivate

View File

@ -9,9 +9,11 @@ python3 -m venv venv
source ./venv/bin/activate source ./venv/bin/activate
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install -U -r ./requirements.txt python3 -m pip install -r ./requirements.txt
python3 -m pip install --force-reinstall -U -r ./modules/tortoise-tts/requirements.txt python3 -m pip install -r ./modules/tortoise-tts/requirements.txt
python3 -m pip install --force-reinstall -U -e ./modules/tortoise-tts python3 -m pip install -e ./modules/tortoise-tts
python3 -m pip install --force-reinstall -U -r ./modules/dlas/requirements.txt python3 -m pip install -r ./modules/dlas/requirements.txt
python3 -m pip install -U -r einops==0.6.0
python3 -m pip install -U -r librosa==0.8.1
deactivate deactivate