I am using libtorch C++ to do model inference. I want to debug the libtorch code because I faced a “segmentation fault” error when running the model forward function{module_.forward(inputs)}
[Compiler]: Gcc 10.2
[CUDA]: 10.2
My question is which version of libtorch should I download for debugging? Pre-cxx ABI or cxx11 ABI? What are the differences for them?
Pre-cxx ABI:
https://download.pytorch.org/libtorch/cu102/libtorch-shared-with-deps-1.8.0.zip
cxx ABI:
https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.8.0.zip
Thanks.