Skip to content

Commit c244e98

Browse files
authored
fix intel cpu/xpu installation (#1613)
Signed-off-by: jiqing-feng <[email protected]>
1 parent 53daa0e commit c244e98

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/source/installation.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,20 +311,18 @@ pip install -e . # `-e` for "editable" install, when developing BNB (otherwise
311311
</hfoption>
312312
<hfoption id="Intel CPU + GPU">
313313

314-
#### Intel CPU
314+
#### Intel CPU + XPU
315315

316316
> [!TIP]
317-
> Intel CPU backend only supports building from source; for now, please follow the instructions below.
317+
> Intel CPU/XPU backend only supports building from source; for now, please follow the instructions below.
318318
319-
Similar to the CUDA case, you can compile bitsandbytes from source for Linux and Windows systems.
319+
It does not need compile CPP codes, all required ops are in [intel_extension_for_pytorch](https://pytorch-extension.intel.com/), please follow the instruction to install ipex.
320320

321321
The below commands are for Linux. For installing on Windows, please adapt the below commands according to the same pattern as described [the section above on compiling from source under the Windows tab](#cuda-compile).
322322

323323
```
324-
git clone --depth 1 -b multi-backend-refactor https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/
325324
pip install intel_extension_for_pytorch
326-
cmake -DCOMPUTE_BACKEND=cpu -S .
327-
make
325+
git clone --depth 1 -b multi-backend-refactor https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/
328326
pip install -e . # `-e` for "editable" install, when developing BNB (otherwise leave that out)
329327
```
330328

0 commit comments

Comments
 (0)