self.add_log_entry('4. You have multiple conflicting CUDA libraries')
self.add_log_entry('4. You have multiple conflicting CUDA libraries')
self.add_log_entry('5. Required library not pre-compiled for this bitsandbytes release!')
self.add_log_entry('5. Required library not pre-compiled for this bitsandbytes release!')
self.add_log_entry('CUDA SETUP: If you compiled from source, try again with `make CUDA_VERSION=DETECTED_CUDA_VERSION` for example, `make CUDA_VERSION=113`.')
self.add_log_entry('CUDA SETUP: If you compiled from source, try again with `make CUDA_VERSION=DETECTED_CUDA_VERSION` for example, `make CUDA_VERSION=118`.')
self.add_log_entry('CUDA SETUP: The CUDA version for the compile might depend on your conda install. Inspect CUDA version via `conda list | grep cuda`.')
self.add_log_entry('CUDA SETUP: The CUDA version for the compile might depend on your conda install. Inspect CUDA version via `conda list | grep cuda`.')
bitsandbytes is only supported on CUDA GPUs for CUDA versions **10.2 - 12.0**. Select your operating system below to see the installation instructions.
bitsandbytes is only supported on CUDA GPUs for CUDA versions **11.0 - 12.3**. Select your operating system below to see the installation instructions.
<hfoptions id="OS system">
<hfoptions id="OS system">
<hfoption id="Linux">
<hfoption id="Linux">
...
@@ -21,7 +21,7 @@ To install from PyPI.
...
@@ -21,7 +21,7 @@ To install from PyPI.
pip install bitsandbytes
pip install bitsandbytes
```
```
To compile from source, you need CMake >= **3.22.1** and Python >= **3.10** installed. Make sure you have a compiler installed to compile C++ (gcc, make, headers, etc.). For example, to install a compiler and CMake on Ubuntu:
To compile from source, you need CMake >= **3.22.1** and Python >= **3.8** installed. Make sure you have a compiler installed to compile C++ (gcc, make, headers, etc.). For example, to install a compiler and CMake on Ubuntu:
```bash
```bash
apt-get install -y build-essential cmake
apt-get install -y build-essential cmake
...
@@ -47,7 +47,7 @@ pip install .
...
@@ -47,7 +47,7 @@ pip install .
Windows systems require Visual Studio with C++ support as well as an installation of the CUDA SDK.
Windows systems require Visual Studio with C++ support as well as an installation of the CUDA SDK.
You'll need to build bitsandbytes from source. To compile from source, you need CMake >= **3.22.1** and Python >= **3.10** installed. You should also install CUDA Toolkit by following the [CUDA Installation Guide for Windows](https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html) guide from NVIDIA.
You'll need to build bitsandbytes from source. To compile from source, you need CMake >= **3.22.1** and Python >= **3.8** installed. You should also install CUDA Toolkit by following the [CUDA Installation Guide for Windows](https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html) guide from NVIDIA.
```bash
```bash
git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
...
@@ -82,7 +82,7 @@ Then locally install the CUDA version you need with this script from bitsandbyte
...
@@ -82,7 +82,7 @@ Then locally install the CUDA version you need with this script from bitsandbyte