You could use thread apply all bt to get the backtrace of all threads.



 dgmp:

So, maybe this is a lifelines issue and not a pytorch problem? Super strange though that the error occurs when running pytorch.


That’s indeed strange and there might be some (undesired) interaction between these packages.