File size: 960 Bytes
cdaaa59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/../../.."
# Container pip.conf or PIP_CONSTRAINT may pin an incompatible Torch build.
# Override inherited constraints; the installs below apply the experiment pins.
export PIP_CONSTRAINT=/dev/null
python3 -m pip install uv
python3 -m uv venv --python 3.10 --seed --allow-existing .venv
source .venv/bin/activate
pip install -c examples/nash_exp/constraints-server-vllm011.txt -e .
pip install -c examples/nash_exp/constraints-server-vllm011.txt -r examples/nash_exp/requirements-server.txt
pip install -c examples/nash_exp/constraints-server-vllm011.txt vllm==0.11.0
wget -c https://github.com/Dao-AILab/flash-attention/releases/download/v2.8.3/flash_attn-2.8.3+cu12torch2.8cxx11abiTRUE-cp310-cp310-linux_x86_64.whl
pip install -c examples/nash_exp/constraints-server-vllm011.txt ./flash_attn-2.8.3+cu12torch2.8cxx11abiTRUE-cp310-cp310-linux_x86_64.whl
# source /root/my_gpro/.venv/bin/activate |