#!/bin/bash
# Docker Lite 快速冒烟
# 方式一：使用 --suite lite

MODEL="${MODEL:-DeepSeek-V4-Flash-Int8}"
API_URL="${API_URL:-http://localhost:30000/v1}"
HOST_EVALSCOPE="${HOST_EVALSCOPE:-/data1/sora/evalscope}"

docker run -it --rm \
  --network host \
  -v "${HOST_EVALSCOPE}:/opt/evalscope" \
  -v "${HOST_EVALSCOPE}/datasets:/opt/evalscope/datasets" \
  -v "${HOST_EVALSCOPE}/output_lite:/opt/evalscope/output_lite" \
  -v /var/run/docker.sock:/var/run/docker.sock \
  evalscope-complete-py312:latest \
  bash -c "
    cd /opt/evalscope &&
    python bash/run.py \
      --model ${MODEL} \
      --api-url ${API_URL} \
      --dataset-dir /opt/evalscope \
      --output-dir /opt/evalscope/output_lite \
      --suite lite \
      --limit none
  "
