make dependencies after the one in this repo force reinstall to downgrade, i hope, I hav eother things to do than validate this works

This commit is contained in:
mrq 2023-03-10 03:53:21 +00:00
parent c92b006129
commit c231d842aa
6 changed files with 19 additions and 19 deletions

View File

@ -6,9 +6,9 @@ call .\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/cu117
python -m pip install -r .\requirements.txt
python -m pip install -r .\modules\tortoise-tts\requirements.txt
python -m pip install -e .\modules\tortoise-tts\
python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install --force-reinstall -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -e .\modules\tortoise-tts\
python -m pip install --force-reinstall -r .\modules\dlas\requirements.txt
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

View File

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

View File

@ -6,9 +6,9 @@ call .\venv\Scripts\activate.bat
python -m pip install --upgrade pip
python -m pip install torch torchvision torchaudio torch-directml
python -m pip install -r .\requirements.txt
python -m pip install -r .\modules\tortoise-tts\requirements.txt
python -m pip install -e .\modules\tortoise-tts\
python -m pip install -r .\modules\dlas\requirements.txt
python -m pip install --force-reinstall -r .\modules\tortoise-tts\requirements.txt
python -m pip install --force-reinstall -e .\modules\tortoise-tts\
python -m pip install --force-reinstall -r .\modules\dlas\requirements.txt
del *.sh

View File

@ -10,9 +10,9 @@ 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
# install requirements
python3 -m pip install -r ./requirements.txt # install local requirements
python3 -m pip install -r ./modules/tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install -e ./modules/tortoise-tts/ # install TorToiSe
python3 -m pip install -r ./modules/dlas/requirements.txt # instal DLAS requirements
python3 -m pip install --force-reinstall -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 --force-reinstall -r ./modules/dlas/requirements.txt # instal DLAS requirements
rm *.bat
./setup-rocm-bnb.sh

View File

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

View File

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