2023-12-11 04:46:30 -07:00
|
|
|
vllm-cuda:
|
|
|
|
# Clone vllm
|
|
|
|
pip install -U ninja packaging --no-cache-dir
|
|
|
|
git clone https://github.com/vllm-project/vllm.git vllm
|
|
|
|
|
|
|
|
build-vllm-cuda: vllm-cuda
|
|
|
|
cd vllm && git fetch && git checkout f8a1e39fae05ca610be8d5a78be9d40f5274e5fc
|
|
|
|
cd vllm && python setup.py build
|
2023-11-27 06:08:12 -07:00
|
|
|
|
2023-12-11 04:46:30 -07:00
|
|
|
install-vllm-cuda: build-vllm-cuda
|
|
|
|
pip uninstall vllm -y || true
|
|
|
|
cd vllm && python setup.py install
|
2023-06-30 11:09:59 -06:00
|
|
|
|
2023-12-11 04:46:30 -07:00
|
|
|
vllm-rocm:
|
2023-06-30 11:09:59 -06:00
|
|
|
# Clone vllm
|
2023-11-27 06:08:12 -07:00
|
|
|
pip install -U ninja packaging --no-cache-dir
|
2023-12-11 04:46:30 -07:00
|
|
|
git clone https://github.com/fxmarty/vllm-public.git vllm
|
2023-06-30 11:09:59 -06:00
|
|
|
|
2023-12-11 04:46:30 -07:00
|
|
|
build-vllm-rocm: vllm-rocm
|
|
|
|
cd vllm && git fetch && git checkout ad9b7c4095ef54419a0533d254f2ad84bd2dfcae
|
2023-06-30 11:09:59 -06:00
|
|
|
cd vllm && python setup.py build
|
|
|
|
|
2023-12-11 04:46:30 -07:00
|
|
|
install-vllm-rocm: build-vllm-rocm
|
2023-06-30 11:09:59 -06:00
|
|
|
pip uninstall vllm -y || true
|
2023-09-04 07:00:19 -06:00
|
|
|
cd vllm && python setup.py install
|