cannnot install pytorch on tx2

Hello,I tried to install pytorch on tx2.First I followed the https://gist.github.com/dusty-nv/ef2b372301c00c0a9d3203e42fd83426 However there are many erros,then i found
https://devtalk.nvidia.com/default/topic/1042821/jetson-tx2/pytorch-install-with-python3-broken/post/5290956/#5290956
and followed the commet6 of it,it errored as :
/home/nvidia/Tools/pytorch/torch/csrc/cuda/nccl.h:21:23: error: variable or field ‘throw_nccl_error’ declared void

I have set the use_nccl=false both in cmakelists and setup.py.Why does it stll make the nccl.h?

Hi,

Please clean build the package after updating.
Try this command first:

sudo python setup.py clean

Thanks.

Thanks for replying,but it doesn’t work

Hi, Im currently installing pytorch on Jetson TX2 myself. I had a lot of trouble on JetPack 3.1, so I opted to use JetPack 3.2. Im still finishing the first installation, so far no trouble.
If I succeed I will share my solution.
But if I may, did you $sudo nano CMakesList.txt and $sudo nano setup.py?
I`m having trouble setting NCCL off.

Thanks.

Hi,

We can reproduce this issue on our environment now.
Will update information with you once we find a solution.

Thanks.

I found a way around the problem and am currently working on a full tutorial -to be posted sometime this week-.

Finally, I was able to work my way around the problem.
The final tutorial is to be used after a clean JetPack flash.
I strongly suggest either JetPack3.2.1 or JetPack3.3

https://github.com/Bfzanchetta/DLARM/blob/master/jetsontx2/pytorch_install.sh

Have a good one!