Skip to content

[Bug] 测试完成后解析结果的时候发生报错,提示需设置trust_remote_code=True #183

Closed

Description

@NSDie

操作系统及版本

ubuntu 20.04

安装工具的python环境

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

python版本

3.10

AISBench工具版本

3.1.20260306

AISBench执行命令

ais_bench --models vllm_api_stream_chat --datasets synthetic_gen_string -m perf

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

from ais_bench.benchmark.models import VLLMCustomAPIChat
from ais_bench.benchmark.utils.postprocess.model_postprocessors import extract_non_reasoning_content

models = [
dict(
attr="service",
type=VLLMCustomAPIChat,
abbr="vllm-api-stream-chat",
path="/data1/workspace/TeleChat3-105B",
model="deepseek_v3",
stream=True,
request_rate=0,
use_timestamp=False,
retry=2,
api_key="",
host_ip="10.246.63.18",
host_port=1999,
url="",
max_out_len=1024,
batch_size=1,
trust_remote_code=True,
generation_kwargs=dict(
#temperature=0.01,
ignore_eos=True,
),
pred_postprocessor=dict(type=extract_non_reasoning_content),
)
]

预期行为

No response

实际行为

contains custom code which must be executed to correctly load the model. You can inspect the repository content at /data1/l00862397/TeleChat3-105B . Please pass the argument trust_remote_code=True to allow custom code to be run. | Visit https://ais-bench-benchmark-rf.readthedocs.io/en/latest/ais_benchmark.html#ais_benchmark.utils.logging.exceptions.FileOperationError

前置检查

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

Activity

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

    @github-actions

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

    问题内容检查结果

    检查状态

    PASS

    详细检查

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

    改进建议

    所有内容已完备!

    补充说明

    无

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

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

  4. added
    content_check_passed
    on Mar 11, 2026
  5. Keithwwa commented on Mar 24, 2026

    @Keithwwa
    Collaborator

    可以复用本次测试的结果,仅重新执行计算分数:
    ais_bench --models vllm_api_stream_chat --datasets synthetic_gen_string -m perf --reuse {时间戳}
    命令行参数说明

  6. SJTUyh commented on Mar 31, 2026

    @SJTUyh
    Collaborator
    Image 工具的bug,实际完全没有传trust_remote_code
  7. self-assigned this
    on Mar 31, 2026
  8. github-actions commented on Mar 31, 2026

    @github-actions

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

    问题内容检查结果

    检查状态

    PASS

    详细检查

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

    改进建议

    所有内容已完备!

    补充说明

    该Issue内容已包含所有要求的关键信息,且描述清晰,有助于问题的定位和解决。虽然“预期行为”部分是“No response”,但根据您提供的“Required Sections”列表,该部分不属于强制要求,因此不影响整体判断为完备。

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

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

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

Metadata

Metadata

Assignees

Labels

bugcontent_check_passed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions