Note currently bitsandbytes
is only supported on CUDA GPU hardwares, support for AMD GPUs and M1 chips (MacOS) is coming soon.
Supported CUDA versions: 10.2 - 12.0 #TODO: check currently supported versions
pip install bitsandbytes
git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
cmake -B build -DBUILD_CUDA=ON -S .
pip install .
Note support for non-CUDA GPUs (e.g. AMD, Intel), is also coming soon. For a more detailed compilation guide, head to the dedicated page on the topic