Visit PyTorch and install the appropriate version for your system.