Similar issues.
PyTorch version: 1.7.1+cu110
Cuda version: NVIDIA-SMI 460.27.04    Driver Version: 460.27.04    CUDA Version: 11.2
(This is the latest beta driver for Ubuntu; needed to fix persistent driver crash.)
torch.cuda.is_available(): True
When running a model: RuntimeError: CUDA error: no kernel image is available for execution on the device
Now, I am a PyTorch/Cuda newbie, so user error is a real possibility.
What are the compatibility rules for Cuda/PyTorch? Should the Cuda 11.0 PyTorch build work with 11.2? A doc on the Nvidia web site suggests it should, FWIW. Or, should I rebuild from sources as suggested for other instances of this issue?