File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,23 @@ You need to compile from source for ROCm.
2323Compilation quickstart:
2424``` bash
2525# Run Docker
26- docker run -it --network=host --device=/dev/kfd --device=/dev/dri --name=bnb_test --shm-size=8g --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --group-add video rocm/pytorch:rocm5.7_ubuntu22.04_py3.10_pytorch_2.0.1
26+ docker run -it --network=host --device=/dev/kfd --device=/dev/dri --name=bnb_test --shm-size=8g --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --group-add video rocm/pytorch:latest
2727
2828
2929# Install Dependencies
30- cd < workspace>
31- git clone --recurse https://github.com/ROCmSoftwarePlatform/hipBLASLt
32- cd hipBLASLt
33- git checkout 4b3b34405e7e25cff404f69bfd0a832644430477
34- ./install.sh -idc
35-
36- cd ..
37- pip install einops lion_pytorch
30+ apt install hipblaslt
31+ pip install --upgrade pip
32+ pip install einops lion_pytorch accelerate
33+ pip install git+https://github.com/ROCm/transformers.git
3834
3935
4036# Install BitsandBytes
4137git clone --recurse https://github.com/ROCmSoftwarePlatform/bitsandbytes
4238cd bitsandbytes
39+ # Checkout branch as needed
40+ # for general use - rocm_enabled
41+ # for rocm 5.7 - rocm5.7_internal_testing
42+ # for rocm 6.2 - rocm6.2_internal_testing
4343git checkout rocm_enabled
4444make hip
4545python setup.py install
You can’t perform that action at this time.
0 commit comments