Closed
[benchmarks/torchbench] fambench_dlrm 模型无法在 NPU 上运行:canary 白名单缺失 + 设备迁移门只认 cuda #4658
huyuchaoAdd on Sep 7Closed at Sep 29
Sep 7 Added label: triage-review
TorchNPU-Bot
Sep 7 Comments:
Sep 7 Comments:
issue待分派,添加triage-review标签


Sep 7 Associated pull request
Sep 7 Added label: bot-triaged; Removed label: triage-review
TorchNPU-Bot
Sep 7 Comments:
Sep 7 Comments:
检测到当前 issue 已关联 PR,自动添加标签:bot-triaged


chenrayray
Sep 29 Comments:
Sep 29 Comments:
因为本单相关实施 PR 已全部结束(1 个已合入、0 个已关闭),按照本轮 issue 整理规则,先关闭此单。
核对的 PR:
- pytorch !45916:已合入
如仍有问题或需要继续推进,请重新打开,并补充当前 PyTorch / TorchNPU / CANN 版本、硬件环境、复现步骤及相关日志;需求类请补充尚未完成的具体内容。


Sep 29 Close issue
Sep 29 changed custom state from TODO to DONE
Sep 29 Added label: resolved
问题现象
torchbench.py --only fambench_dlrm选不中模型:fambench_dlrm 位于 canary_models 目录,runner 的CANARY_MODELS白名单未包含(默认仅 torchrec_dlrm)。RuntimeError: Expected all tensors to be on the same device, but got index is on npu:0, different from other tensors on cpu(canary_models/fambench_dlrm/__init__.py的if device == "cuda"门未覆盖 npu,use_gpu=False 时dlrm.to(device)不执行,模型留 CPU)。--accuracy下两个流程问题:eager_2nd_run_OOM)torch._inductor.runtime.benchmarking.may_ban_benchmarking拦截 NPU autotuner 的benchmark_gpu计时调用(fail_to_run)问题根因
is_vetted_benchmarking声明环境
master 36a38cc + torch 2.13.0+cpu + triton-ascend 3.2.2 + CANN 9.1.0-beta.1(910B2)