How to update pytorch using cuda to the most recent version?

What cuda version do you have? and did you select the correct cuda version in http://pytorch.org