g
gcw_C8PI9e90/regnet-npu-work
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

RegNet NPU Work - Ascend NPU Model Adaptation

此仓库包含 7 个 RegNet 系列模型在华为昇腾 Ascend910 NPU 上的适配、部署与精度验证。

模型列表

模型参数量NPU 延迟架构
RegNet-X-08039.6M10.7msRegNetX-8GF
RegNet-X-16054.3M12.5msRegNetX-16GF
RegNet-X-320107.8M21.5msRegNetX-32GF
RegNet-Y-12051.8M14.7msRegNetY-1.6GF
RegNet-Y-320145.0M25.1msRegNetY-32GF
RegNet-Y-320-SEER145.0M24.6msRegNetY-32GF
RegNet-Y-640-SEER302.8M39.8msRegNetY-128GF

验证结果

所有 7 个模型均通过精度验证:

  • CPU (FP32) 与 NPU (FP32) 输出高度一致
  • 最大绝对误差 < 1e-2
  • 余弦相似度 > 0.999999
  • Top-1 一致率: 100%
  • NPU 加速比: 对比 CPU 提升 ~200x

硬件环境

  • NPU: Ascend910 (64GB HBM)
  • CPU: ARM 64-bit (192 cores)
  • PyTorch: 2.9.0 / torch_npu: 2.9.0.post1

标签: #NPU #Ascend #RegNet #ImageClassification #PyTorch #Ascend910 #FP32 #timm