Hi,
I’m working on various DIY projects in putting torch model on a Raspberry Pi3 B, OS Raspbian. It is fun & cheap. Searched over internet, not found a reliable instruction in building pytorch in armv7l. After some trial-and-error, I could build the PyTorch 0.5.0 on RPi3. I upload the wheel to PyPi.

  
      
      PyPI
  
  
    

rpi3.torch 149

PyTorch in Raspberry Pi3 B, py35, armv7l


  
  
    
    
  
  


If you are interested, may download to your RPi3 & install. Here is the dependencies,
sudo apt-get install libatlas-base-dev libopenblas-dev cython libatlas-dev m4 libblas-dev python3-dev cmake python3-yaml
sudo pip install --upgrade numpy
numpy 1.14.3
Have fun.