已合并
add_benchmarks #30535
add_benchmarks #30535
已合并
Lu_G创建于 2月5日
Lu_G成员
2月5日

【合入来源】

benchmark能力构建 AR20260111623751

【修改方案】

功能概述
benchmarks/dynamo 目录是 torch_npu 的图模式性能与精度评测框架,基于 PyTorch 社区的 torchbench 实现,用于评测 torch.compile(Dynamo 图模式)在 NPU 设备上的表现。

主要能力:

支持精度测试:验证图模式与 Eager 模式的数值一致性
支持性能测试:测量图模式相对 Eager 模式的加速比
兼容 NPU 和 GPU 设备
支持 NPU和GPU Profiler 性能分析工

【资料变更】

不涉及

【接口变更】

“不涉及”

【功能验证】

可以参照bechmarks/README.md进行功能验证

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 Lu_G 的贡献)
LLu_G成员
2月5日 创建了 pull request,commit 398253b7
Lu_G成员
2月5日 评论:

compile

likedislike
ascend-robotascend-robot成员
2月5日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
2月5日 删除了label:ci-pipeline-running
此处折叠了105条消息 查看更多
liwei386成员
3月3日 评论:

/approve

likedislike
ascend-robot
ascend-robot成员
3月3日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
adrian07110

likedislike
ascend-robotascend-robot成员
3月3日 添加了label:lgtm
ascend-robot
ascend-robot成员
3月3日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: li_jing_hw, liwei386.
Reviewers who wrote a comment of /lgtm are: li_jing_hw, liwei386.

likedislike
ascend-robotascend-robot成员
3月3日 合入了pull request