Just in case its helpful, I’ve also compiled a version of torch 1.4 and torchvision 0.5 for the Raspberry Pi (Tested with an RPi 3B). These wheels have the NEON optimisations enabled, and can support the new torch jit functionality also.
You can find the wheels here:

  
      
      GitHub
  
  
    

choonkiatlee/pi-torch 98

Contribute to choonkiatlee/pi-torch development by creating an account on GitHub.


  
  
    
    
  
  


and the docker images I used to compile these wheels here:

  
      
      GitHub
  
  
    

choonkiatlee/qemu-raspbian 23

Contribute to choonkiatlee/qemu-raspbian development by creating an account on GitHub.