Skip to content

[Bug] --batch-size 和 --num-prompts 设置多值且一一对应,但执行时,解析多出来一个 #677

Open

Description

@yue787275

操作系统及版本

openEuler24.03

安装工具的python环境

在anaconda/miniconda创建的python虚拟环境

python版本

3.10

AISBench工具版本

3.1.20261013

AISBench执行命令

ais_bench --models vllm_api_stream_chat --datasets mmmu_gen -m perf \ --request-rate 0 \ --batch-size 8 16 32 64 \ --num-prompts 32 64 128 256 \ --max-out-len 1024 \ --num-warmups 4 \ --generation-kwargs '{"ignore_eos": true, "temperature": 0}' \ --summarizer default_perf

模型配置文件或自定义配置文件内容

(ais_bench) [root@localhost datasets]# ais_bench --models vllm_api_stream_chat --datasets mmmu_gen -m perf
--request-rate 0
--batch-size 8 16 32 64
--num-prompts 32 64 128 256
--max-out-len 1024
--num-warmups 4
--generation-kwargs '{"ignore_eos": true, "temperature": 0}'
--summarizer default_perf
usage: ais_bench [-h] [--models MODELS [MODELS ...]] [--datasets DATASETS [DATASETS ...]] [--summarizer SUMMARIZER] [--debug] [-s] [--dry-run]
[-m {all,infer,eval,viz,perf,perf_viz,judge,infer_judge,agent,agent_viz}] [-r [REUSE]] [-w WORK_DIR] [--config-dir CONFIG_DIR] [--max-num-workers MAX_NUM_WORKERS]
[--max-workers-per-gpu MAX_WORKERS_PER_GPU] [--num-prompts NUM_PROMPTS] [--num-warmups NUM_WARMUPS] [--response-anomaly] [--response-anomaly-payload-retention {all,anomalies,none}]
[--pressure] [--pressure-time PRESSURE_TIME] [--spec-decode] [--merge-ds] [--dump-eval-details] [--dump-extract-rate] [--custom-dataset-path CUSTOM_DATASET_PATH]
[--custom-dataset-meta-path CUSTOM_DATASET_META_PATH] [--custom-dataset-data-type {mcq,qa}] [--custom-dataset-infer-method {gen}] [-a AGENT] [--agent-import-path AGENT_IMPORT_PATH]
[--model MODEL [MODEL ...]] [--api-base API_BASE] [--agent-api-key AGENT_API_KEY] [--ak AGENT_KWARG [AGENT_KWARG ...]] [--ae AGENT_ENV [AGENT_ENV ...]] [--agent-deps AGENT_DEPS]
[-p AGENT_DATASET_PATH] [-d DATASET] [-n N_CONCURRENT] [-k N_ATTEMPTS] [-e ENVIRONMENT] [--timeout-multiplier TIMEOUT_MULTIPLIER] [--max-retries MAX_RETRIES]
[--include-task-name INCLUDE_TASK_NAME [INCLUDE_TASK_NAME ...]] [--exclude-task-name EXCLUDE_TASK_NAME [EXCLUDE_TASK_NAME ...]] [--n-tasks N_TASKS] [--disable-verification]
[--force-build/--no-force-build | --no-force-build/--no-force-build] [--host-network] [--extra-docker-compose EXTRA_DOCKER_COMPOSE] [--delete/--no-delete | --no-delete/--no-delete]
[--purge-exception-cases] [-q] [-y] [--env-file ENV_FILE] [--monitor-port MONITOR_PORT] [--path PATH] [--model-name MODEL_NAME] [--request-rate REQUEST_RATE] [--retry RETRY]
[--api-key API_KEY] [--host-ip HOST_IP] [--host-port HOST_PORT] [--url URL] [--max-out-len MAX_OUT_LEN] [--batch-size BATCH_SIZE] [--trust-remote-code | --no-trust-remote-code]
[--generation-kwargs GENERATION_KWARGS]
[config]
ais_bench: error: unrecognized arguments: 32 64 64 128 256

预期行为

可正常执行

实际行为

解析错误

前置检查

  • 我已读懂主页文档的快速入门,无法解决问题
  • 我已检索过FAQ,无重复问题
  • 我已搜索过现有Issue,无重复问题
  • 我已更新到最新版本,问题仍存在

Activity

  1. added
    bug
    on Nov 18, 2026
  2. github-actions commented on Nov 18, 2026

    @github-actions

    🌟欢迎给AISBench benchmark测评工具提issue,您可以先尝试以下途径寻求issue的解决方法:

    1. 【强烈推荐❤️‍🔥】确保issue描述完整后,可以试着将issue交给Ask DeepWiki回答,deepwiki包含了和工具相关的所有知识库
    2. 在 工具历史issue 中通过问题的关键日志片段或关键词检索相似issue
    3. 在 官方文档 的搜索栏中通过问题的关键日志片段或关键词检索
    4. 寻求仓库维护者的帮助(issue评论区中 @SJTUyh)
  3. github-actions commented on Nov 18, 2026

    @github-actions

    🤖 基于AI机器人的issue内容完整性检查结果:

    问题内容检查结果

    检查状态

    FAIL

    详细检查

    • 操作系统及版本: COMPLETE
    • 安装工具的python环境: COMPLETE
    • python版本: COMPLETE

    👉 如果想重新检查,在评论区@issue_checker即可。

    【强烈推荐❤️‍🔥】确保issue描述完整后,可以试着将issue交给Ask DeepWiki回答,deepwiki包含了和工具相关的所有知识库

  4. added
    content_check_failed
    on Nov 18, 2026
  5. yangcheng001 commented on Nov 23, 2026

    @yangcheng001
    Collaborator

    AISBench 3.1.20261013版本不支持--batch-size 和 --num-prompts 设置多值,请使用最新主线,或者3.1-20261112及之后的版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcontent_check_failedpending

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions