|
|
|
|
|
by refibrillator
337 days ago
|
|
Well “import torch” for example will resolve certain dynamically linked symbols, which must be done first before importing your own .so code that uses libtorch and pybind11. If not you will get a super fun to debug segfault, leaving you staring at gdb backtrace output while you ponder your career choice. This is buried deep in the PyTorch docs and I don’t have the willpower to go find it right now, sorry. |
|