运行报错:Could not run ‘aten::empty_with_format’ with arguments from the ‘CPUTensorId’ backend. ‘aten::empty_with_format’ is only available for these backend “CUDA、NPU”
需要将tensor放到npu上,类似input = input.npu()
父主题:
FAQ