This is line I get the segfault:
0x00007fffe6aff4a0 in construct<_object*, _object*> (__p=0xb, this=0x14d7b08) at /usr/include/c++/4.8/ext/new_allocator.h:120
120             { ::new((void *)__p) _Up(std::forward<_Args>(__args)…); }
Does this mean the pip version of PyTorch is compiled with gcc 4.8? that is too old