mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-26 20:57:06 +08:00
[ROCm] update installation guide to include build aiter from source instructions (#17542)
Signed-off-by: Hongxia Yang <hongxia.yang@amd.com> Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
This commit is contained in:
parent
88c8304104
commit
4acfa3354a
@ -73,7 +73,22 @@ Currently, there are no pre-built ROCm wheels.
|
|||||||
You might need to downgrade the "ninja" version to 1.10 it is not used when compiling flash-attention-2 (e.g. `pip install ninja==1.10.2.4`)
|
You might need to downgrade the "ninja" version to 1.10 it is not used when compiling flash-attention-2 (e.g. `pip install ninja==1.10.2.4`)
|
||||||
:::
|
:::
|
||||||
|
|
||||||
3. Build vLLM. For example, vLLM on ROCM 6.3 can be built with the following steps:
|
3. If you choose to build AITER yourself to use a certain branch or commit, you can build AITER using the following steps:
|
||||||
|
|
||||||
|
```console
|
||||||
|
python3 -m pip uninstall -y aiter
|
||||||
|
git clone --recursive https://github.com/ROCm/aiter.git
|
||||||
|
cd aiter
|
||||||
|
git checkout $AITER_BRANCH_OR_COMMIT
|
||||||
|
git submodule sync; git submodule update --init --recursive
|
||||||
|
python3 setup.py develop
|
||||||
|
```
|
||||||
|
|
||||||
|
:::{note}
|
||||||
|
You will need to config the `$AITER_BRANCH_OR_COMMIT` for your purpose.
|
||||||
|
:::
|
||||||
|
|
||||||
|
4. Build vLLM. For example, vLLM on ROCM 6.3 can be built with the following steps:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ pip install --upgrade pip
|
$ pip install --upgrade pip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user