mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 08:34:56 +08:00
16 lines
358 B
Bash
16 lines
358 B
Bash
#!/bin/bash
|
|
|
|
python_executable=python$1
|
|
cuda_home=/usr/local/cuda-$2
|
|
|
|
# Update paths
|
|
PATH=${cuda_home}/bin:$PATH
|
|
LD_LIBRARY_PATH=${cuda_home}/lib64:$LD_LIBRARY_PATH
|
|
|
|
# Install requirements
|
|
$python_executable -m pip install wheel packaging
|
|
$python_executable -m pip install -r requirements.txt
|
|
|
|
# Build
|
|
$python_executable setup.py bdist_wheel --dist-dir=dist
|