I provided full instructions here:

  
    
    
    "wheel not supported" for pip install 
  
  
    Torch CPU
!pip install http://download.pytorch.org/whl/cu75/torch-0.2.0.post1-cp27-cp27mu-manylinux1_x86_64.whl

!pip install torchvision
!pip install --upgrade http://download.pytorch.org/whl/cu75/torch-0.2.0.post1-cp27-cp27mu-manylinux1_x86_64.whl

!pip install --upgrade torchvision


Torch GPU
Build PyTorch from source
RUN git clone https://github.com/pytorch/pytorch.git  
&& cd pytorch  
&& git checkout 4eb448a051a1421de1dda9bd2ddfb34396eb7287  
&& TORCH_CUDA_ARCH_LIST=“3.5 5.2 6.0 6.1+PTX”…