运行报错:options.device().type() == DeviceType::NPU INTERNAL ASSERT FAILED xxx:
需要将tensor放到npu上,类似input = input.npu()
父主题:
FAQ