[Bug] mmcv ops cannot use AICore on torch 2.6.0 on Ascend npu
Author: AppgyeCreated Feb 5, 2026Updated Feb 5, 2026
Prerequisite
- I have searched Issues and Discussions but cannot get the expected help.
- The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmcv).
Environment
python 3.9 mmcv latest (2.2.0) torch 2.6.0 CANN 8.5
Reproduces the problem - code sample
install and run under Official Documentation and Examples
Reproduces the problem - command or script
install and run under Official Documentation and Examples
Reproduces the problem - error message
我是从源码进行安装的,安装后运行官方的实例程序可以运行,但是我观察到npu是有显存占用的,但是AICORE一直为0,应该全是cpu进行的计算
Additional information
No response
Source: open-mmlab/mmcv