sulphur-caption / setup_vllm.sh
FusionCow's picture
Upload folder using huggingface_hub
7011765 verified
Raw
History Blame Contribute Delete
397 Bytes
set -euo pipefail
cd "$(dirname "$0")"
if [ ! -d vllm ]; then
if [ ! -f vllm.zip ]; then
echo "Missing vllm/ and vllm.zip" >&2
exit 1
fi
unzip -q vllm.zip
fi
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
python - <<'PY'
import vllm
print("vLLM import OK:", getattr(vllm, "__version__", "unknown"))
PY