cuda error: no kernel image is available for execution on the device
1. 问题描述有一个项目要用到torch,readme里的部署过程如下: 1conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.6 -c pytorch -c conda-forge 但是环境配好了以后,一用到to(self.device)就会报以下的错: 1runtimeerror