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
Compatible hardware and functioning `import torch_npu` capable environment with Python `3.10` as the minimum requirement.
293
+
294
+
Please refer to [the official Ascend installations instructions](https://www.hiascend.com/document/detail/zh/Pytorch/60RC3/configandinstg/instg/insg_0001.html) for guidance on how to pip install the necessary `torch_npu` dependency.
295
+
288
296
</hfoption>
289
297
<hfoptionid="Mac">
290
298
@@ -344,6 +352,31 @@ make
344
352
pip install -e . # `-e` for "editable" install, when developing BNB (otherwise leave that out)
345
353
```
346
354
355
+
</hfoption>
356
+
<hfoptionid="Ascend NPU">
357
+
358
+
#### Ascend NPU
359
+
360
+
> [!TIP]
361
+
> Ascend NPU backend only supports building from source; for now, please follow the instructions below.
362
+
363
+
364
+
```
365
+
# Install bitsandbytes from source
366
+
# Clone bitsandbytes repo, Ascend NPU backend is currently enabled on multi-backend-refactor branch
367
+
git clone -b multi-backend-refactor https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/
0 commit comments