Installation

Note currently bitsandbytes is only supported on CUDA GPU hardwares, support for AMD GPUs and M1 chips (MacOS) is coming soon.

Linux
Windows

Linux

From Pypi

pip install bitsandbytes

From source

git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
CUDA_VERSION=XXX make cuda12x
python setup.py install

with XXX being your CUDA version, for <12.0 call make cuda 11x