liuzhishan:

https://conda.anaconda.org/mingfeima/linux-32


hi, i didn’t try to build on aliyun before. But the normal build process is listed on

  
      
      GitHub
  
  
    

pytorch/pytorch 31

pytorch - Tensors and Dynamic neural networks in Python  with strong GPU acceleration


  
  
    
    
  
  


i suggest you use conda to install all the dependencies as CMAKE_PREFIX_PATH refers to /home/user/anaconda3. if you use pip at the first place, the libs will installed under system python instead of conda python.
if you still have trouble installing with conda, it might be a aliyun support issue.
mkldnn is only needed if you want to run cpu instances, in case mkldnn is installed in conda, it will be enabled during the build by default.