I have a problem with building PyTorch from source. I use Anaconda Python 3.6. I installed all the dependencies using conda and issued "python setup.py install" command to build it. It builds all files successfully but then it fails" at line 286 of caffe2/contrib/cuda-convnet2"
Pls help! Thank you!
Installation with python 3.7 worked for me. Try out the below steps
Then try importing pytorch
Hope this helps.