From a2b6e49d2696011d65eaf589b4fe641aa6d4706e Mon Sep 17 00:00:00 2001 From: deftdawg Date: Tue, 25 Apr 2023 04:57:40 +0000 Subject: [PATCH] Use rocm_agent_enumerator to determine GPU --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f535ba4..6e99d22 100755 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ In `Makefile`: # activate your VENV, if using this within a VENV git clone https://git.ecker.tech/mrq/bitsandbytes-rocm make hip -CUDA_VERSION=gfx1030 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 you're using a 6XXX series card python3 -m bitsandbytes # to validate it works ```