forgot to reorder the dependency install because whisperx needs to be installed before DLAS

This commit is contained in:
mrq 2023-03-06 16:43:17 +00:00
parent 12c51b6057
commit 11a1f6a00e
4 changed files with 8 additions and 8 deletions

View File

@ -5,10 +5,10 @@ python -m venv venv
call .\venv\Scripts\activate.bat 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 .\dlas\requirements.txt python -m pip install -r .\requirements.txt
python -m pip install -r .\tortoise-tts\requirements.txt python -m pip install -r .\tortoise-tts\requirements.txt
python -m pip install -e .\tortoise-tts\ python -m pip install -e .\tortoise-tts\
python -m pip install -r .\requirements.txt python -m pip install -r .\dlas\requirements.txt
xcopy .\dlas\bitsandbytes_windows\* .\venv\Lib\site-packages\bitsandbytes\. /Y xcopy .\dlas\bitsandbytes_windows\* .\venv\Lib\site-packages\bitsandbytes\. /Y
xcopy .\dlas\bitsandbytes_windows\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y xcopy .\dlas\bitsandbytes_windows\cuda_setup\* .\venv\Lib\site-packages\bitsandbytes\cuda_setup\. /Y

View File

@ -9,9 +9,9 @@ python3 -m pip install --upgrade pip # just to be safe
# CUDA # CUDA
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 ./dlas/requirements.txt # instal DLAS requirements python3 -m pip install -r ./requirements.txt # install local requirements
python3 -m pip install -r ./tortoise-tts/requirements.txt # install TorToiSe requirements python3 -m pip install -r ./tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install -e ./tortoise-tts/ # install TorToiSe python3 -m pip install -e ./tortoise-tts/ # install TorToiSe
python3 -m pip install -r ./requirements.txt # install local requirements python3 -m pip install -r ./dlas/requirements.txt # instal DLAS requirements, last, because whisperx will break a dependency here
deactivate deactivate

View File

@ -5,10 +5,10 @@ python -m venv venv
call .\venv\Scripts\activate.bat 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 .\dlas\requirements.txt python -m pip install -r .\requirements.txt
python -m pip install -r .\tortoise-tts\requirements.txt python -m pip install -r .\tortoise-tts\requirements.txt
python -m pip install -e .\tortoise-tts\ python -m pip install -e .\tortoise-tts\
python -m pip install -r .\requirements.txt python -m pip install -r .\dlas\requirements.txt
pause pause
deactivate deactivate

View File

@ -9,10 +9,10 @@ python3 -m pip install --upgrade pip # just to be safe
# ROCM # ROCM
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 ./dlas/requirements.txt # instal DLAS requirements python3 -m pip install -r ./requirements.txt # install local requirements
python3 -m pip install -r ./tortoise-tts/requirements.txt # install TorToiSe requirements python3 -m pip install -r ./tortoise-tts/requirements.txt # install TorToiSe requirements
python3 -m pip install -e ./tortoise-tts/ # install TorToiSe python3 -m pip install -e ./tortoise-tts/ # install TorToiSe
python3 -m pip install -r ./requirements.txt # install local requirements python3 -m pip install -r ./dlas/requirements.txt # instal DLAS requirements
# swap to ROCm version of BitsAndBytes # swap to ROCm version of BitsAndBytes
pip3 uninstall -y bitsandbytes pip3 uninstall -y bitsandbytes
./setup-rocm-bnb.sh ./setup-rocm-bnb.sh