|
2 | 2 |
|
3 | 3 | Welcome to the installation guide for the `bitsandbytes` library! This document provides step-by-step instructions to install `bitsandbytes` across various platforms and hardware configurations. |
4 | 4 |
|
5 | | -We provide official support for NVIDIA GPUs, CPUs, Intel XPUs, and Intel Gaudi platforms. We also have experimental support for |
6 | | -additional platforms such as AMD ROCm. |
| 5 | +We provide official support for NVIDIA GPUs, CPUs, Intel XPUs, and Intel Gaudi. We also have experimental support for additional platforms such as AMD ROCm and Apple Silicon. |
7 | 6 |
|
8 | 7 | ## Table of Contents |
9 | 8 |
|
@@ -100,7 +99,7 @@ pip install -e . # `-e` for "editable" install, when developing BNB (otherwise |
100 | 99 |
|
101 | 100 | Compilation from source on Windows systems require Visual Studio with C++ support as well as an installation of the CUDA Toolkit. |
102 | 101 |
|
103 | | -To compile from source, you need CMake >= **3.22.1** and Python >= **3.9** 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. The current minimum supported CUDA Toolkit version that we support is **11.8**. |
| 102 | +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. The current minimum supported CUDA Toolkit version that we support is **11.8**. |
104 | 103 |
|
105 | 104 | ```bash |
106 | 105 | git clone https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/ |
@@ -163,6 +162,7 @@ The currently distributed `bitsandbytes` packages are built with the following c |
163 | 162 | | **Linux x86-64** | GCC 11.4 | AVX2 | |
164 | 163 | | **Linux aarch64** | GCC 11.4 | | |
165 | 164 | | **Windows x86-64** | MSVC 19.43+ (VS2022) | AVX2 | |
| 165 | +| **macOS arm64** | Apple Clang 17 | | |
166 | 166 |
|
167 | 167 | The Linux build has a minimum glibc version of 2.24. |
168 | 168 |
|
@@ -243,4 +243,11 @@ pip install --force-reinstall https://github.com/bitsandbytes-foundation/bitsand |
243 | 243 | pip install --force-reinstall https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_main/bitsandbytes-1.33.7.preview-py3-none-win_amd64.whl |
244 | 244 | ``` |
245 | 245 | </hfoption> |
| 246 | +<hfoption id="macOS"> |
| 247 | + |
| 248 | +```bash |
| 249 | +# Note: if you don't want to reinstall our dependencies, append the `--no-deps` flag! |
| 250 | +pip install --force-reinstall https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_main/bitsandbytes-1.33.7.preview-py3-none-macosx_14_0_arm64.whl |
| 251 | +``` |
| 252 | +</hfoption> |
246 | 253 | </hfoptions> |
0 commit comments