RuntimeError: CUDA error: no kernel image is available for execution on the device

Hello, may I ask that the environment where I am installing the training is almost complete~ but there are some problems during execution

The message appears:
RuntimeError: CUDA error: no kernel image is available for execution on the device

I checked the Internet and found that there is a mismatch between cuda and pytorch

my pytorch is 1.7.0 py3.7 cuda10.2.89 cudnn7.6.5.0 putorch

If cuda 10.2 according to the specification of nvidia graphics card, the message just now will appear

Cuda compilation tools, release 10.2, V10.2.89

Check the environment that has been installed before and find that 10.0 is installed

Cuda compilation tools, release 10.0, V10.130

If the pytorch 1.4.0 version is according to the specifications written in the paper, the corresponding cuda version cannot be found on the official website

Torch has caught GPU cuda (available is true)

What can I do? Please help me!

There’S no cuda core for the cc of your gpu. Which gpu model do you have?


GPU Fan 1