If you can find a VPS beyond the GREAT WALL, you can make it by the following  way.
Install Anaconda on your VPS
Create virtual python envs    (e.g.  conda create -n py3_pytorch python=3.6 )
Activate your virtual envs and install pytorch
Find the directory of your envs    (maybe it will be here  ~/anaconda2/envs/py3_pytorch) and  copy the whole directory to you own machine and place it in the dicectory   your_machine/anaconda2/envs/
Then you can use it by directly activate the virtual envs (source activate py3_pytorch)