I think the latest cuda version vailable is 11.3, use the command provided in pytorch installation guide https://pytorch.org 3
It installs automatically pytorch cuda compatible.
Pardon if I misunderstood your request!