Repository navigation
Conversation
覆盖 --spec-decode 的 N/A 分支、--num-warmups 0/4 行为,以及多值 --batch-size/--num-prompts 的 sweep 展开与汇总产物。 Fixes AISBench#705 Signed-off-by: SJTUyh <[email protected]>
SJTUyh
temporarily deployed
to
smoke-test-approval
November 23, 2026 11:17 — with
GitHub Actions
Inactive
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type / PR类型
Related Issue | 关联 Issue
Fixes #705
🔍 Motivation / 变更动机
补齐性能模式的端到端冒烟覆盖:
--spec-decode、--num-warmups与多值--batch-size/--num-prompts目前只有单元测试或完全没有用例入口,CLI 串接、模拟器/metrics与结果落盘缺少回归保护。📝 Modification / 修改内容
新增 3 个冒烟用例(均归入
run_server_performance与short):perf_spec_decode_metrics_na_gsm8k--mode perf --spec-decode,模拟器默认metrics.mode: static_countersperformances/spec_decode_*.json存在且status == "na"、error包含No spec decode activity detected during benchmark window;tmplog.txt无 Tracebackperf_num_warmups_gsm8k--num-warmups 0与--num-warmups 4Warmup size is 0, skip与Warmup finished+Total Count: 4perf_batch_size_sweep_gsm8k--batch-size 8 16 --num-prompts 32 64combos_manifest.json的combos数量为 2、batch_size 为 8/16;batch_perf_summary.csv含-bs8/-bs16;两个组合的performances/*/gsm8k.json均落盘实现说明:
run_server_performance结构,复用vllm_api_stream_chat+ gsm8k,未新增依赖。--num-warmups用例使用--debug:现有实现中Warmup finished Total Count: ...仅在 debug 下打印,而 debug 模式不会把子进程输出重定向到logs/infer/*.out,因此在用例tmplog中做断言;Warmup size is 0, skip...为 info 级日志。workers.py、reporter.py、perf_manifest.py、config_manager.py、perf_batch.py)。📐 Associated Test Results / 关联测试结果
本地已完成静态校验(未运行冒烟,需自托管 ascend 环境):
python -c "yaml.safe_load(...)"解析 3 个case.yml;用smoke_tests/framework/run_test_case.py:get_test_case_config校验case_tags含run_server_performance/short、rank_size=3。bash -n校验 3 个run.sh,退出码均为 0。python -m py_compile校验 3 个模型配置文件,退出码 0。.github/workflows/run_smoke_test_pr_and_daily.yml的-t short触发,结果待 CI 补充。不适用。
不适用。
🌟 Use cases (Optional) / 使用案例(可选)
本地按用例组执行:
bash smoke_tests/scripts/run_steps.sh -t perf_optional_flags perf_batch_sweep。✅ Checklist / 检查列表
Before PR:
After PR:
说明:本 PR 仅新增冒烟用例,不含业务代码修改;UT 与文档项不适用,Checklist 交由实际执行方确认。
👥 Collaboration Info / 协作信息