forked from mrq/bitsandbytes-rocm
Use rocm_agent_enumerator to determine GPU
This commit is contained in:
parent
b4f1a436de
commit
8f30f9d7e8
|
@ -16,12 +16,9 @@ In `Makefile`:
|
||||||
# activate your VENV, if using this within a VENV
|
# activate your VENV, if using this within a VENV
|
||||||
git clone https://git.ecker.tech/mrq/bitsandbytes-rocm
|
git clone https://git.ecker.tech/mrq/bitsandbytes-rocm
|
||||||
make hip
|
make hip
|
||||||
CUDA_VERSION=`rocm_agent_enumerator -t GPU | sort -t 'x' -k 2n | tail -1` python setup.py install # assumes you're using a 6XXX series card
|
CUDA_VERSION=`rocm_agent_enumerator -t GPU | sort -t 'x' -k 2n | tail -1` python setup.py install # assumes rocm_agent_enumerator is available in your PATH
|
||||||
python3 -m bitsandbytes # to validate it works
|
python3 -m bitsandbytes # to validate it works
|
||||||
```
|
```
|
||||||
|
|
||||||
**!**NOTE**!**: this assumes you have a AMD 6XXX series card. Adapt this to your proper GFX version if different.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# bitsandbytes
|
# bitsandbytes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user