PyTorch cannot find cuda devices at 22.04 with 3090Ti GPUs

Your nvidia-smi shows you have CUDA 12.0 installed. I don’t see that as an option for Pytorch on the install page. Maybe you can downgrade to a lower version of CUDA, such as 11.7. That will then match the version of Pytorch installed.