Download nash_exp/scripts/setup_server.sh from AnhLD2610/ver2: direct link, hf CLI and curl.
- Browser
- Download file 960 Bytes
-
https://huggingface.co/datasets/AnhLD2610/ver2/resolve/main/nash_exp/scripts/setup_server.sh
- Command line
-
hf download hf://datasets/AnhLD2610/ver2/nash_exp/scripts/setup_server.sh
-
curl -L -o setup_server.sh https://huggingface.co/datasets/AnhLD2610/ver2/resolve/main/nash_exp/scripts/setup_server.sh
960 Bytes
| 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 |