Skip to content

Commit dd1929b

Browse files
Drop Maxwell (sm50) build from distribution (#1755)
1 parent 404e277 commit dd1929b

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

.github/scripts/build-cuda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ elif [ "${build_arch}" = "aarch64" ]; then
1414
# CUDA 12.8+: Add sm100/sm120
1515
[[ "${cuda_version}" == 12.8.* || "${cuda_version}" == 12.9.* ]] && build_capability="75;80;90;100;120"
1616
else
17-
# By default, target Maxwell through Hopper.
18-
build_capability="50;60;70;75;80;86;89;90"
17+
# By default, target Pascal through Hopper.
18+
build_capability="60;70;75;80;86;89;90"
1919

2020
# CUDA 12.8+: Add sm100 and sm120; remove < sm70 to align with PyTorch 2.8+cu128 minimum
2121
[[ "${cuda_version}" == 12.8.* || "${cuda_version}" == 12.9.* ]] && build_capability="70;75;80;86;89;90;100;120"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ bitsandbytes has the following minimum requirements for all platforms:
6161
<tr>
6262
<td></td>
6363
<td>🟩 NVIDIA GPU <br><code>cuda</code></td>
64-
<td>SM50+ minimum<br>SM75+ recommended</td>
64+
<td>SM60+ minimum<br>SM75+ recommended</td>
6565
<td>✅</td>
6666
<td>✅</td>
6767
<td>✅</td>
@@ -87,7 +87,7 @@ bitsandbytes has the following minimum requirements for all platforms:
8787
</td>
8888
<td>✅</td>
8989
<td>✅</td>
90-
<td>🚧</td>
90+
<td>〰️</td>
9191
</tr>
9292
<tr>
9393
<td></td>
@@ -127,7 +127,7 @@ bitsandbytes has the following minimum requirements for all platforms:
127127
<tr>
128128
<td></td>
129129
<td>🟩 NVIDIA GPU <br><code>cuda</code></td>
130-
<td>SM50+ minimum<br>SM75+ recommended</td>
130+
<td>SM60+ minimum<br>SM75+ recommended</td>
131131
<td>✅</td>
132132
<td>✅</td>
133133
<td>✅</td>

docs/source/installation.mdx

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,19 @@ Welcome to the installation guide for the `bitsandbytes` library! This document
1616

1717
## CUDA[[cuda]]
1818

19-
`bitsandbytes` is currently supported on NVIDIA GPUs with [Compute Capability](https://developer.nvidia.com/cuda-gpus) 5.0+.
20-
The library can be built using CUDA Toolkit versions as old as **11.6** on Windows and **11.4** on Linux.
19+
`bitsandbytes` is currently supported on NVIDIA GPUs with [Compute Capability](https://developer.nvidia.com/cuda-gpus) 6.0+.
20+
The library can be built using CUDA Toolkit versions as old as **11.8**.
2121

2222
| **Feature** | **CC Required** | **Example Hardware Requirement** |
2323
|---------------------------------|-----------------|---------------------------------------------|
24-
| LLM.int8() | 7.5+ | Turing (RTX 20 series, T4) or newer GPUs |
25-
| 8-bit optimizers/quantization | 5.0+ | Maxwell (GTX 900 series, TITAN X, M40) or newer GPUs |
26-
| NF4/FP4 quantization | 5.0+ | Maxwell (GTX 900 series, TITAN X, M40) or newer GPUs |
24+
| LLM.int8() | 7.5+ | Turing (RTX 20 series, T4) or newer GPUs |
25+
| 8-bit optimizers/quantization | 6.0+ | Pascal (GTX 10X0 series, P100) or newer GPUs|
26+
| NF4/FP4 quantization | 6.0+ | Pascal (GTX 10X0 series, P100) or newer GPUs|
2727

2828
> [!WARNING]
29-
> Support for Maxwell GPUs is deprecated and will be removed in a future release. For the best results, a Turing generation device or newer is recommended.
29+
> Support for Maxwell GPUs is deprecated and will be removed in a future release.
30+
> Maxwell support is not included in PyPI distributions from `v0.48.0` on and must be built from source.
31+
> For the best results, a Turing generation device or newer is recommended.
3032
3133
### Installation via PyPI[[cuda-pip]]
3234

@@ -36,12 +38,12 @@ The currently distributed `bitsandbytes` packages are built with the following c
3638

3739
| **OS** | **CUDA Toolkit** | **Host Compiler** | **Targets**
3840
|--------------------|------------------|----------------------|--------------
39-
| **Linux x86-64** | 11.8 - 12.6 | GCC 11.2 | sm50, sm60, sm75, sm80, sm86, sm89, sm90
40-
| **Linux x86-64** | 12.8 | GCC 11.2 | sm75, sm80, sm86, sm89, sm90, sm100, sm120
41+
| **Linux x86-64** | 11.8 - 12.6 | GCC 11.2 | sm60, sm70, sm75, sm80, sm86, sm89, sm90
42+
| **Linux x86-64** | 12.8 - 12.9 | GCC 11.2 | sm70, sm75, sm80, sm86, sm89, sm90, sm100, sm120
4143
| **Linux aarch64** | 11.8 - 12.6 | GCC 11.2 | sm75, sm80, sm90
42-
| **Linux aarch64** | 12.8 | GCC 11.2 | sm75, sm80, sm90, sm100
44+
| **Linux aarch64** | 12.8 - 12.9 | GCC 11.2 | sm75, sm80, sm90, sm100, sm120
4345
| **Windows x86-64** | 11.8 - 12.6 | MSVC 19.43+ (VS2022) | sm50, sm60, sm75, sm80, sm86, sm89, sm90
44-
| **Windows x86-64** | 12.8 | MSVC 19.43+ (VS2022) | sm75, sm80, sm86, sm89, sm90, sm100, sm120
46+
| **Windows x86-64** | 12.8 - 12.9 | MSVC 19.43+ (VS2022) | sm70, sm75, sm80, sm86, sm89, sm90, sm100, sm120
4547

4648
Use `pip` or `uv` to install:
4749

@@ -67,7 +69,7 @@ For example, to install a compiler and CMake on Ubuntu:
6769
apt-get install -y build-essential cmake
6870
```
6971

70-
You should also install CUDA Toolkit by following the [NVIDIA CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) guide. The current minimum supported CUDA Toolkit version that we test with is **11.8**.
72+
You should also install CUDA Toolkit by following the [NVIDIA CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) guide. The current minimum supported CUDA Toolkit version that we support is **11.8**.
7173

7274
```bash
7375
git clone https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/
@@ -84,7 +86,7 @@ pip install -e . # `-e` for "editable" install, when developing BNB (otherwise
8486

8587
Compilation from source on Windows systems require Visual Studio with C++ support as well as an installation of the CUDA Toolkit.
8688

87-
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 test with is **11.8**.
89+
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**.
8890

8991
```bash
9092
git clone https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/

0 commit comments

Comments
 (0)