#!/bin/bash # testing MODEL_NAME on $EVAL_DATASET dataset using vLLM inference # $EVAL_DATASET filepath: ./dataset/$EVAL_DATASET GPU_LIST="0" BASE_PATH="./ckpts" MODEL_NAME="Qwen2.5-VL-7B-Instruct_my" # specify the dataset you want to use, choose from: ["charades", "activitynet", "tvgbench", "mvbench", "videomme", "egoschema", "tempcompass"] EVAL_DATASET="charades" # for tempcompass, default is "multi-choice" # for egoschema, default is full-set SPLIT="test" IFS=',' read -ra gpus <<< "$GPU_LIST" num_gpus=${#gpus[@]} # 执行推理任务 for ((i=0; i