Segmentation fault when loading custom operator

This could be a C++ ABI issue. To ensure libtorch ABI compatibility, I recommend first try using the libtorch libraries in the PyTorch package installation folder. For example, if you install PyTorch 1.2.0 using conda, please try to run something similar to cmake -DCMAKE_PREFIX_PATH=/data/miniconda3/envs/v1.2.0/lib/python3.7/site-packages/torch .. (change the package path as appropriate) as the cmake step.