Runtime error: CUDA Error: no kernel image is available for execution on this device

Hi, I am new to using Pytorch. I am facing the above error. My system specifications are given below:

OS : Ubuntu 16.04
CUDA version - 10.1
Device count - 1
Device name - GeForce GT 720
Device capability - (3,5)
Pytorch version - 1.4.0

Can someone guide me as to how to resolve this issue?

Thanks in advance.

The PyTorch binaries ship with CUDA for GPUs with compute capability >=3.7, while your GPU has 3.5, so you would need to build from source as shown here.

Let us know, if you get stuck somewhere. :wink:

1 Like