Repository navigation
Description
操作系统及版本
openEuler, 24.03
安装工具的python环境
docker容器中的python环境
python版本
3.11
AISBench工具版本
3.1.20260630
AISBench执行命令
ais_bench \ --models vllm_api_general \ --custom-dataset-path /root/deepseek-v4-flash-9000-cache-2026-07-16-17-33-06_extracted.jsonl \ --custom-dataset-data-type qa \ --mode perf \ --num-prompts 1
模型配置文件或自定义配置文件内容
from ais_bench.benchmark.models import VLLMCustomAPIChat
models = [
dict(
attr="service",
type=VLLMCustomAPIChat,
abbr='vllm-api-general-chat',
path="/mnt/share/weight/1.6T", # 指定模型序列化词表文件绝对路径(精度测试场景一般不需要配置)
model="dsv", # 指定服务端已加载模型名称,依据实际VLLM推理服务拉取的模型名称配置(配置成空字符串会自动获取)
stream=False,
request_rate=0, # 请求发送频率,每1/request_rate秒发送1个请求给服务端,小于0.1则一次性发送所有请求
use_timestamp=False, # 是否按数据集中 timestamp 调度请求,适用于含 timestamp 的数据集(如 Mooncake Trace)
retry=2, # 每个请求最大重试次数
api_key="", # 自定义API key,默认是空字符串
host_ip=141.61.94.147, # 指定推理服务的IP
host_port=1999, # 指定推理服务的端口
url="", # 自定义访问推理服务的URL路径(当base url不是http://host_ip:host_port的组合时需要配置,配置后host_ip和host_port将被忽略)
max_out_len=512, # 推理服务输出的token的最大数量
batch_size=1, # 请求发送的最大并发数
trust_remote_code=False, # tokenizer是否信任远程代码,默认False;
generation_kwargs=dict( # 模型推理参数,参考VLLM文档配置,AISBench评测工具不做处理,在发送的请求中附带
temperature=0.01,
ignore_eos=True,
)
)
]
预期行为
No response
实际行为
非流式结果的测试指标包含TTFT,不包含TPOT。无法上传图片,以下为图片提取文字。
Performance Parameters Stage Average Min Max Median P75 P90 P99
E2EL total 15503.6 ms 7797.9 ms 23209.4 ms 15503.6 ms 19356.5 ms 21668.2 ms 23055.3 ms N
TTFT total 15503.6 ms 7797.9 ms 23209.4 ms 15503.6 ms 19356.5 ms 21668.2 ms 23055.3 ms N
InputTokens total 79055.5 22039.0 136072.0 79055.5 107563.75 124668.7 134931.67
OutputTokens total 177.5 100.0 255.0 177.5 216.25 239.5 253.45
OutputTokenTh roughput total 18.505 token/s 4.3086 token/s 32.7013 token/s 18.505 token/s 25.6031 token/s 29.862 token/s 32.4174 token/s
Common Metric Stage Value
Benchmark Duration totalee 31009.4483 ms
Total Requests totalne N
Failed Requests totalne 。
Success Requests totalne N
Concurrency total 0.9999
Max Concurrency total h
Request Throughput total 0.0645 req/s
Total Input Tokens totalne 158111
Prefill Token Throughput total 5099.1638 token/s
Total Generated Tokens total 355
Input Token Throughput total 5098.8008 token/s
Output Token Throughput total 11.4481 token/s
Total Token Throughput total 5110.2489 token/s
前置检查
- 我已读懂主页文档的快速入门,无法解决问题
- 我已检索过FAQ,无重复问题
- 我已搜索过现有Issue,无重复问题
- 我已更新到最新版本,问题仍存在
Activity
github-actions commentedon Aug 3, 2026
🌟欢迎给AISBench benchmark测评工具提issue,您可以先尝试以下途径寻求issue的解决方法:
github-actions commentedon Aug 3, 2026
🤖 基于AI机器人的issue内容完整性检查结果:
问题内容检查结果
检查状态
PASS
详细检查
改进建议
所有内容已完备!
补充说明
该Issue内容完整,所有必填字段均已提供详细且相关的信息。虽然“预期行为”部分显示为“No response”,但由于它不在本次检查的“Required Sections”列表中,因此不影响整体通过状态。对于Bug报告而言,通常建议填写预期行为以帮助理解问题。
👉 如果想重新检查,在评论区@issue_checker即可。
【强烈推荐❤️🔥】确保issue描述完整后,可以试着将issue交给
回答,deepwiki包含了和工具相关的所有知识库
jschen069 commentedon Aug 10, 2026