evalstone/scripts/run_docker_full.sh
2026-07-22 03:26:58 +00:00

27 lines
844 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# Docker 全量评测Full
# 请根据实际机器修改 MODEL / API_URL / HOST_EVALSCOPE 路径
MODEL="${MODEL:-DeepSeek-V4-Flash-Int8}"
API_URL="${API_URL:-http://localhost:30000/v1}"
HOST_EVALSCOPE="${HOST_EVALSCOPE:-/data1/sora/evalscope}"
OUTPUT_DIR="${OUTPUT_DIR:-/opt/evalscope/output_full}"
docker run -it --rm \
--network host \
-v "${HOST_EVALSCOPE}:/opt/evalscope" \
-v "${HOST_EVALSCOPE}/datasets:/opt/evalscope/datasets" \
-v "${HOST_EVALSCOPE}/output_full:/opt/evalscope/output_full" \
-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 ${OUTPUT_DIR} \
--suite full \
--limit none
"