added setup script for bitsandbytes-rocm (soon: multi-gpu testing, because I am finally making use of my mispurchased second 6800XT)

This commit is contained in:
mrq 2023-03-03 02:58:34 +00:00
parent 59773a7637
commit e205322c8d
5 changed files with 16 additions and 11 deletions

2
dlas

@ -1 +1 @@
Subproject commit 0f04206aa20b1ab632c0cbf7bb6a43d5c1fd9eb0 Subproject commit 71cc43e65cd47c6704d20c99006a3e78feb2400d

8
setup-rocm-bnb.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
source ./venv/bin/activate
git clone https://git.ecker.tech/mrq/bitsandbytes-rocm
cd bitsandbytes-rocm
make hip
CUDA_VERSION=gfx1030 python setup.py install # assumes you're using a 6XXX series card
python3 -m bitsandbytes # to validate it works
cd ..

View File

@ -14,9 +14,6 @@ python3 -m pip install -r ./tortoise-tts/requirements.txt # install TorToiSe req
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 ./requirements.txt # install local requirements
# swap to ROCm version of BitsAndBytes # swap to ROCm version of BitsAndBytes
pip3 uninstall bitsandbytes pip3 uninstall -y bitsandbytes
./setup-rocm-bnb.sh
# gives errors
# pip3 install git+https://github.com/broncotc/bitsandbytes-rocm
deactivate deactivate

@ -1 +1 @@
Subproject commit 7cc0250a1a559da90965812fdefcba0d54a59c41 Subproject commit a9de01623044b3a5b2d614f0d7992a962b16b32f

View File

@ -6,10 +6,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 -r .\dlas\requirements.txt python -m pip install -U -r .\dlas\requirements.txt
python -m pip install -r .\tortoise-tts\requirements.txt python -m pip install -U -r .\tortoise-tts\requirements.txt
python -m pip install -e .\tortoise-tts python -m pip install -U -e .\tortoise-tts
python -m pip install -r .\requirements.txt python -m pip install -U -r .\requirements.txt
pause pause
deactivate deactivate