Skip to content

Conversation

@zzycode1005
Copy link

Purpose

Added a new performance-testing tools supporting both stable and default performance.

Modifications

1、Supports TTFT metrics for all requests and for steady-state requests only.
2、Supports synthetic, multi-turn dialogue, and document QA datasets for performance testing.

Test

测试通过结果

BenchmarkModeType.STABLE_PREF,
BenchmarkModeType.DEFAULT_PERF,
]:
stream = True
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stream init missing when benchmark_mode not optional

"Average time to first token latency: %.4f ms", avg_prefill_latency
)

# 这里是list[list[float]],要求的是这里所有float的平均(这里可能也会要求list[float]中去除前两个元素后,取所有请求per decode time的均值)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Chinese comments

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant