build.sh 339 Bytes
Newer Older
Woosuk Kwon's avatar
Woosuk Kwon committed
1
2
3
4
#!/bin/bash

eval "$(conda shell.bash hook)"

Woosuk Kwon's avatar
Woosuk Kwon committed
5
PYTORCH_VERSION="2.3.0"
Woosuk Kwon's avatar
Woosuk Kwon committed
6
7
8
9
10
11
12
13
14

for PYTHON_VERSION in 38 39 310 311; do
    source ~/.bashrc;
    conda activate vllm-flash-py${PYTHON_VERSION};
    conda env list;
    pip install packaging ninja;
    pip install torch==${PYTORCH_VERSION};
    time python setup.py bdist_wheel --dist-dir=dist;
done