Skip to content

Commit a9e5c4a

Browse files
committed
update install guide
Signed-off-by: jiqing-feng <[email protected]>
1 parent 21cf8c1 commit a9e5c4a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/source/installation.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,12 @@ pip install -e . # `-e` for "editable" install, when developing BNB (otherwise
316316
> [!TIP]
317317
> Intel CPU/XPU backend only supports building from source; for now, please follow the instructions below.
318318
319-
It requires [intel_extension_for_pytorch](https://pytorch-extension.intel.com/), please follow the instruction to install ipex.
319+
If you are using Intel CPU on Linux or Intel XPU on Linux/Windows, please follow the [instruction](https://pytorch-extension.intel.com/) or the following command to install intel_extension_for_pytorch so you can get better performance.
320320

321-
The below commands are for Linux. The ipex does not support Windows.
322-
323-
1. Install intel_extension_for_pytorch
324321
CPU: `pip install intel_extension_for_pytorch`
325322
XPU: `pip install intel_extension_for_pytorch --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/`
326323

327-
2. Install bitsandbytes:
324+
1. Install bitsandbytes:
328325
CPU: Need to build CPU C++ codes
329326
```
330327
git clone https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/
@@ -337,7 +334,7 @@ XPU:
337334
pip install git+https://github.com/bitsandbytes-foundation/bitsandbytes.git
338335
```
339336

340-
3. Install bitsandbytes-intel:
337+
2. Install bitsandbytes-intel:
341338
`pip install git+https://github.com/bitsandbytes-foundation/bitsandbytes-intel.git`
342339

343340
</hfoption>

0 commit comments

Comments
 (0)