@ yselivonchykEugene
I try to compile pytorch1.8.1 from source as same as you, but occurs undefined reference error:
/home/jhang/bi/hj/pytorch_ori_v1.8/build/lib/libtorch_cuda.so: undefined reference to `gloo::getCudaPCIBusID(int)'
/home/jhang/bi/hj/pytorch_ori_v1.8/build/lib/libtorch_cuda.so: undefined reference to `gloo::EnforceNotMet::EnforceNotMet(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status