You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10,16 +10,16 @@ We provide official support for NVIDIA GPUs, CPUs, Intel XPUs, and Intel Gaudi.
10
10
-[NVIDIA CUDA](#cuda)
11
11
-[Installation via PyPI](#cuda-pip)
12
12
-[Compile from Source](#cuda-compile)
13
+
-[AMD ROCm](#rocm)
14
+
-[Installation via PyPI](#rocm-pip)
15
+
-[Compile from Source](#rocm-compile)
13
16
-[Intel XPU](#xpu)
14
17
-[Installation via PyPI](#xpu-pip)
15
18
-[Intel Gaudi](#gaudi)
16
19
-[Installation via PyPI](#gaudi-pip)
17
20
-[CPU](#cpu)
18
21
-[Installation via PyPI](#cpu-pip)
19
22
-[Compile from Source](#cpu-compile)
20
-
-[AMD ROCm (Preview)](#rocm)
21
-
-[Installation via PyPI](#rocm-pip)
22
-
-[Compile from Source](#rocm-compile)
23
23
-[Preview Wheels](#preview-wheels)
24
24
25
25
## System Requirements[[requirements]]
@@ -126,107 +126,8 @@ Big thanks to [wkpark](https://github.com/wkpark), [Jamezo97](https://github.com
126
126
</hfoption>
127
127
</hfoptions>
128
128
129
-
## Intel XPU[[xpu]]
130
-
131
-
* A compatible PyTorch version with Intel XPU support is required. The current minimum is **PyTorch 2.6.0**. It is recommended to use the latest stable release. See [Getting Started on Intel GPU](https://docs.pytorch.org/docs/stable/notes/get_start_xpu.html) for guidance.
132
-
133
-
### Installation via PyPI[[xpu-pip]]
134
-
135
-
This is the most straightforward and recommended installation option.
136
-
137
-
The currently distributed `bitsandbytes` packages are built with the following configurations:
The Linux build has a minimum glibc version of 2.34.
145
-
146
-
Use `pip` or `uv` to install the latest release:
147
-
148
-
```bash
149
-
pip install bitsandbytes
150
-
```
151
-
152
-
## Intel Gaudi[[gaudi]]
153
-
154
-
* A compatible PyTorch version with Intel Gaudi support is required. The current minimum is **Gaudi v1.21** with **PyTorch 2.6.0**. It is recommended to use the latest stable release. See the Gaudi software [installation guide](https://docs.habana.ai/en/latest/Installation_Guide/index.html) for guidance.
155
-
156
-
157
-
### Installation from PyPI[[gaudi-pip]]
158
-
159
-
Use `pip` or `uv` to install the latest release:
160
-
161
-
```bash
162
-
pip install bitsandbytes
163
-
```
164
-
165
-
## CPU[[cpu]]
166
-
167
-
### Installation from PyPI[[cpu-pip]]
168
-
169
-
This is the most straightforward and recommended installation option.
170
-
171
-
The currently distributed `bitsandbytes` packages are built with the following configurations:
> The build system will detect the ARM64 architecture automatically via CMake. Only the CPU backend is supported on Windows ARM64 at this time (no CUDA).
223
-
224
-
</hfoption>
225
-
</hfoptions>
129
+
## AMD ROCm [[rocm]]
226
130
227
-
## AMD ROCm (Preview)[[rocm]]
228
-
229
-
* Support for AMD GPUs is currently in a preview state.
230
131
* All features are supported for both consumer RDNA devices and Data Center CDNA products.
231
132
* A compatible PyTorch version with AMD ROCm support is required. It is recommended to use the latest stable release. On Linux, see [PyTorch on ROCm](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/3rd-party/pytorch-install.html) for guidance. On Windows, ROCm-enabled PyTorch wheels are available from:
232
133
-[repo.radeon.com/rocm/windows/](https://repo.radeon.com/rocm/windows/) — official AMD releases
@@ -257,14 +158,14 @@ pip install bitsandbytes
257
158
258
159
### Compile from Source[[rocm-compile]]
259
160
260
-
bitsandbytes can be compiled from ROCm 6.4 - ROCm 7.14.0. See the `CMakeLists.txt` for additional options.
161
+
bitsandbytes can be compiled from ROCm 6.3 - ROCm 7.14.0. See the `CMakeLists.txt` for additional options.
261
162
262
163
<hfoptionsid="rocm-source">
263
164
<hfoptionid="Linux">
264
165
265
166
To compile from source, you need CMake >= **3.31.6** and Python >= **3.10** installed. Make sure you have a compiler installed to compile C++ (`gcc`, `make`, headers, etc.).
266
167
267
-
You should also have a ROCm installation (system-wide or via Docker). The current minimum supported version is **6.4**.
168
+
You should also have a ROCm installation (system-wide or via Docker). The current minimum supported version is **6.3**.
268
169
269
170
```bash
270
171
# Install bitsandbytes from source
@@ -332,6 +233,105 @@ pip install .
332
233
</hfoption>
333
234
</hfoptions>
334
235
236
+
237
+
## Intel XPU[[xpu]]
238
+
239
+
* A compatible PyTorch version with Intel XPU support is required. The current minimum is **PyTorch 2.6.0**. It is recommended to use the latest stable release. See [Getting Started on Intel GPU](https://docs.pytorch.org/docs/stable/notes/get_start_xpu.html) for guidance.
240
+
241
+
### Installation via PyPI[[xpu-pip]]
242
+
243
+
This is the most straightforward and recommended installation option.
244
+
245
+
The currently distributed `bitsandbytes` packages are built with the following configurations:
The Linux build has a minimum glibc version of 2.34.
253
+
254
+
Use `pip` or `uv` to install the latest release:
255
+
256
+
```bash
257
+
pip install bitsandbytes
258
+
```
259
+
260
+
## Intel Gaudi[[gaudi]]
261
+
262
+
* A compatible PyTorch version with Intel Gaudi support is required. The current minimum is **Gaudi v1.21** with **PyTorch 2.6.0**. It is recommended to use the latest stable release. See the Gaudi software [installation guide](https://docs.habana.ai/en/latest/Installation_Guide/index.html) for guidance.
263
+
264
+
265
+
### Installation from PyPI[[gaudi-pip]]
266
+
267
+
Use `pip` or `uv` to install the latest release:
268
+
269
+
```bash
270
+
pip install bitsandbytes
271
+
```
272
+
273
+
## CPU[[cpu]]
274
+
275
+
### Installation from PyPI[[cpu-pip]]
276
+
277
+
This is the most straightforward and recommended installation option.
278
+
279
+
The currently distributed `bitsandbytes` packages are built with the following configurations:
> The build system will detect the ARM64 architecture automatically via CMake. Only the CPU backend is supported on Windows ARM64 at this time (no CUDA).
331
+
332
+
</hfoption>
333
+
</hfoptions>
334
+
335
335
## Preview Wheels[[preview-wheels]]
336
336
337
337
If you would like to use new features even before they are officially released and help us test them, feel free to install the wheel directly from our CI (*the wheel links will remain stable!*):
0 commit comments