Solved: CUDA error for PyTorch: Error 804: forward compatibility was attempted on non supported HW

Mine is ubuntu18.0, and the environment is 

pip install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge

 The problem is that when I was running fine yesterday, an error suddenly occurred today. After checking, I determined that there was no problem.

Finally, just restart ubuntu

Guess you like

Origin blog.csdn.net/qq_55542491/article/details/129830077