ver2 / nash_exp /scripts /setup_server.sh
AnhLD2610's picture
Upload version 2 of my_gpro examples and diagnostic artifacts (part 34)
cdaaa59 verified
Raw History Blame Contribute Delete
960 Bytes
#!/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