"doc/git@developer.sourcefind.cn:ox696c/ktransformers.git" did not exist on "bb39eeb005dbe0668d20bb4b02ccd38e8f3bb32c"
Unverified Commit 88ab6303 authored by Rickard's avatar Rickard Committed by GitHub
Browse files

Update installation instructions (#1047)



* Update installation instructions

* Update docs/source/installation.mdx
Co-authored-by: default avatarYounes Belkada <49240599+younesbelkada@users.noreply.github.com>

* Update installation.mdx

* Update docs/source/installation.mdx
Co-authored-by: default avatarYounes Belkada <49240599+younesbelkada@users.noreply.github.com>

* Update installation.mdx

* Update installation.mdx

---------
Co-authored-by: default avatarYounes Belkada <49240599+younesbelkada@users.noreply.github.com>
parent 6e0f84d4
......@@ -21,12 +21,16 @@ pip install bitsandbytes
### From source
You need CMake and Python installed. For Linux, make sure to install a compiler (`apt install build-essential`, for example).
```bash
git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
cmake -B build -DBUILD_CUDA=ON -S .
pip install -r requirements-dev.txt
cmake -DCOMPUTE_BACKEND=cuda -S .
make
pip install .
```
Note support for non-CUDA GPUs (e.g. AMD, Intel), is also coming soon.
Note support for non-CUDA GPUs (e.g. AMD, Intel, Apple Silicon), is also coming soon.
For a more detailed compilation guide, head to the [dedicated page on the topic](./compiling)
</hfoption>
......@@ -34,12 +38,15 @@ For a more detailed compilation guide, head to the [dedicated page on the topic]
## Windows
Windows builds require Visual Studio with C++ support, as well as the Cuda SDK installed.
Currently for Windows users, you need to build bitsandbytes from source:
```bash
git clone https://github.com/TimDettmers/bitsandbytes.git && cd bitsandbytes/
cmake -B build -DBUILD_CUDA=ON -S .
cmake --build build --config Release
pip install -r requirements-dev.txt
cmake -DCOMPUTE_BACKEND=cuda -S .
cmake --build . --config Release
python -m build --wheel
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment