Oh, you are right. I haven’t checked the compute capability of your device.
The PyTorch binaries ship for GPUs with compute capability >= 3.7, while your GTX 770 has 3.0, so you would need to build PyTorch from source.
You can find the instructions here 129.