Files
2025-08-06 16:44:09 +08:00

19 lines
636 B
Bash
Executable File

set -ex
python -m pip install --upgrade --no-cache-dir pip
pip install --no-cache-dir packaging ninja numpy pandas ipython ipykernel gdown wheel setuptools
# This has to be pinned for VLLM to work.
pip install --no-cache-dir torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128
pip install --no-cache-dir flash-attn --no-build-isolation
pip install --no-cache-dir vllm
git clone https://github.com/volcengine/verl
cd verl
pip install --no-cache-dir -e .
cd ..
pip install --no-cache-dir -e .[dev,agent]
# Upgrade agentops to the latest version
pip install --no-cache-dir -U agentops