已关闭
更新benchmark到拉取官方pytorch/benchmark最新commit #4671
liuyutong创建于 18 天前关闭于 6 天前
18 天前 添加了label:triage-review
TorchNPU-Bot
18 天前 评论:
18 天前 评论:
issue待分派,添加triage-review标签


18 天前 关联了pull request:fix(torchbench): support latest torchbench metadata
18 天前 添加了label:bot-triaged;删除了label:triage-review
TorchNPU-Bot
18 天前 评论:
18 天前 评论:
检测到当前 issue 已关联 PR,自动添加标签:bot-triaged


11 天前 关联了pull request:fix(benchmarks): keep torchbench metadata backward compatible
chenrayray
6 天前 评论:
6 天前 评论:
因为benchmark 推荐版本更新与新旧元数据兼容改动均已有对应交付,对应 PR !45981、!46360 已合入,所以先关闭此 issue。如仍有问题或需要继续跟进,请补充具体情况并重新打开。


6 天前 issue状态由 TODO 改变为 DONE
6 天前 关闭了 issue
6 天前 添加了label:resolved
2 天前 关联了里程碑:v26.2.0
【修改方案】
benchmarks/torchbench/README.md中pytorch/benchmark的推荐依赖版本,将默认 checkout commit 从9910b31cc17d175a781412fd9ca6f18a4ee04610更新为fb14629994956c16d27c7a9940c5f081afbf68dc,并保留旧 commit 作为临时回退方式。benchmarks/torchbench/torchbench.py中增加新版pytorch/benchmark元数据兼容逻辑。旧版本仍从benchmark.userbenchmark.dynamo.dynamobench.torchbench导入常量;新版不再导出这些常量时,改为从torchbench.yaml读取等价配置。pytorch/benchmark配置结构变化,不改变 TorchBench runner 执行流程、命令行参数和 NPU backend 选择逻辑。【资料变更】
涉及资料变更。
更新 TorchBench 使用文档中的
pytorch/benchmark推荐 commit,并补充旧 commit 的回退命令,便于在新版 benchmark 出现兼容问题时快速恢复到历史验证版本。【接口变更】
不涉及客户面可见接口变更。
本次修改不新增、不删除命令行参数,不改变
--backend、--npu-backend、--training、--inference等已有使用方式。