2023-11-27 06:08:12 -07:00
|
|
|
build-vllm-cuda: REPOSITORY=https://github.com/vllm-project/vllm.git
|
|
|
|
build-vllm-cuda: VLLM_COMMIT=f8a1e39fae05ca610be8d5a78be9d40f5274e5fc
|
|
|
|
build-vllm-cuda: BRANCH=main
|
|
|
|
build-vllm-cuda: build-vllm
|
|
|
|
|
|
|
|
build-vllm-rocm: REPOSITORY=https://github.com/fxmarty/vllm-public.git
|
|
|
|
build-vllm-rocm: VLLM_COMMIT=ad9b7c4095ef54419a0533d254f2ad84bd2dfcae
|
|
|
|
build-vllm-rocm: BRANCH=rotary-no-positions-split-cos-sin
|
|
|
|
build-vllm-rocm: build-vllm
|
2023-06-30 11:09:59 -06:00
|
|
|
|
|
|
|
vllm:
|
|
|
|
# Clone vllm
|
2023-11-27 06:08:12 -07:00
|
|
|
pip install -U ninja packaging --no-cache-dir
|
|
|
|
git clone --single-branch --branch $(BRANCH) $(REPOSITORY) vllm
|
2023-06-30 11:09:59 -06:00
|
|
|
|
|
|
|
build-vllm: vllm
|
2023-11-27 06:08:12 -07:00
|
|
|
cd vllm && git fetch && git checkout $(VLLM_COMMIT)
|
2023-06-30 11:09:59 -06:00
|
|
|
cd vllm && python setup.py build
|
|
|
|
|
|
|
|
install-vllm: build-vllm
|
|
|
|
pip uninstall vllm -y || true
|
2023-09-04 07:00:19 -06:00
|
|
|
cd vllm && python setup.py install
|