Skip to content

Commit bcdcc0b

Browse files
authored
Merge pull request #19 from ROCm/updated_readme
update instructions
2 parents a36bd1d + a267221 commit bcdcc0b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ You need to compile from source for ROCm.
2323
Compilation 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
4137
git clone --recurse https://github.com/ROCmSoftwarePlatform/bitsandbytes
4238
cd 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
4343
git checkout rocm_enabled
4444
make hip
4545
python setup.py install

0 commit comments

Comments
 (0)