Skip to content

[Bug] OmniDocBench数据集评测,数据集相对路径拼接错误 #421

Closed

Description

@liuyang-2026

操作系统及版本

openEuler 22.03 (LTS-SP4)

安装工具的python环境

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

python版本

3.10

AISBench工具版本

3.1.20260630

AISBench执行命令

ais_bench --models vllm_api_stream_chat --datasets omnidocbench_gen --debug

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

models = [
dict(
attr="service",
type=VLLMCustomAPIChat,
abbr="vllm-api-general-chat",
path="models_weight/Qwen2.5-VL-7B-Instruct/",
model="qwen25_vl_7b",
stream=False,
request_rate=0,
use_timestamp=False,
retry=2,
api_key="",
host_ip="localhost",
host_port=8080,
url="",
max_out_len=512,
batch_size=1,
trust_remote_code=False,
generation_kwargs=dict(
temperature=0.01,
ignore_eos=False,
),
pred_postprocessor=dict(type=extract_non_reasoning_content),
)
]
服务化拉起通过--allowed-local-media-path指定数据集绝对路径

预期行为

评测正常,正常输出精度值

实际行为

在aisbench安装包代码根目录(即benchmark/)执行命令评测正常
切换到其他目录执行相同命令服务化会报错,提示评测发出请求的数据集路径和服务化指定数据集所在路径不一致,asibench发出的请求实际为:{执行命令路径}/ais_bench/datasets,应为:{安装包代码根目录(即benchmark)}/ais_bench/datasets

前置检查

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

Activity

  1. added
    bug
    on Jul 24, 2026
  2. github-actions commented on Jul 24, 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 Jul 24, 2026

    @github-actions

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

    问题内容检查结果

    检查状态

    PASS

    详细检查

    • 操作系统及版本: COMPLETE
    • 安装工具的python环境: COMPLETE
    • python版本: COMPLETE
    • AISBench工具版本: COMPLETE
    • AISBench执行命令: COMPLETE
    • 模型配置文件或自定义配置文件内容: COMPLETE
    • 实际行为: COMPLETE

    改进建议

    所有内容已完备!

    补充说明

    该Issue内容完整,所有必填字段均已提供,且信息清晰、具体,有助于问题排查。

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

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

  4. added
    content_check_passed
    on Jul 24, 2026
  5. github-actions commented on Sep 20, 2026

    @github-actions

    ⚠️ 此 Issue 无法关闭

    该 Issue 带有 not_fixed 标签,表示问题尚未完全解决。

    修复此问题的 PR 可能已经合入,请 @liuyang-2026 验证后移除 not_fixed 标签并手动关闭此 Issue。

  6. removed
    not_fixed
    on Sep 21, 2026
  7. liuyang-2026 commented on Sep 21, 2026

    @liuyang-2026
    CollaboratorAuthor

    已归回验证,问题已经解决

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

Metadata

Metadata

Labels

bugcontent_check_passed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions