已关闭
更新benchmark到拉取官方pytorch/benchmark最新commit #4671
liuyutong创建于  18 天前关闭于  6 天前
liuyutong
liuyutong成员
18 天前 创建

【修改方案】

  1. 更新 benchmarks/torchbench/README.md 中 pytorch/benchmark 的推荐依赖版本,将默认 checkout commit 从 9910b31cc17d175a781412fd9ca6f18a4ee04610 更新为 fb14629994956c16d27c7a9940c5f081afbf68dc,并保留旧 commit 作为临时回退方式。
  2. 在 benchmarks/torchbench/torchbench.py 中增加新版 pytorch/benchmark 元数据兼容逻辑。旧版本仍从 benchmark.userbenchmark.dynamo.dynamobench.torchbench 导入常量;新版不再导出这些常量时,改为从 torchbench.yaml 读取等价配置。
  3. 该修改仅适配 pytorch/benchmark 配置结构变化,不改变 TorchBench runner 执行流程、命令行参数和 NPU backend 选择逻辑。

【资料变更】

涉及资料变更。

更新 TorchBench 使用文档中的 pytorch/benchmark 推荐 commit,并补充旧 commit 的回退命令,便于在新版 benchmark 出现兼容问题时快速恢复到历史验证版本。

【接口变更】

不涉及客户面可见接口变更。

本次修改不新增、不删除命令行参数,不改变 --backend、--npu-backend、--training、--inference 等已有使用方式。

likedislike
TorchNPU-BotTorchNPU-Bot成员
18 天前 添加了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
18 天前 评论:

issue待分派,添加triage-review标签

likedislike
liuyutongliuyutong成员
18 天前 关联了pull request:fix(torchbench): support latest torchbench metadata
TorchNPU-BotTorchNPU-Bot成员
18 天前 添加了label:bot-triaged;删除了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
18 天前 评论:

检测到当前 issue 已关联 PR,自动添加标签:bot-triaged

likedislike
liuyutongliuyutong成员
11 天前 关联了pull request:fix(benchmarks): keep torchbench metadata backward compatible
chenrayray
chenrayray成员
6 天前 评论:

因为benchmark 推荐版本更新与新旧元数据兼容改动均已有对应交付,对应 PR !45981、!46360 已合入,所以先关闭此 issue。如仍有问题或需要继续跟进,请补充具体情况并重新打开。

likedislike
chenrayraychenrayray成员
6 天前 issue状态由 TODO 改变为 DONE
chenrayraychenrayray成员
6 天前 关闭了 issue
ascend-robotascend-robot成员
6 天前 添加了label:resolved
chenrayraychenrayray成员
2 天前 关联了里程碑:v26.2.0