from opencompass.models import VLLMwithChatTemplate

models = [
    dict(
        type=VLLMwithChatTemplate,
        abbr='qwen1.5-32b-chat-vllm',
        path='Qwen/Qwen1.5-32B-Chat',
        model_kwargs=dict(tensor_parallel_size=2),
        max_out_len=1024,
        batch_size=16,
        generation_kwargs=dict(temperature=0),
        run_cfg=dict(num_gpus=2),
    )
]
