I didn’t run it in gdb because it sounds complicated, I think I will have to compile pytorch again, is that right? Plus this is totally random and it occurs after many batches (which takes hours) so I am not quite sure how to approach this. I tried logging progress to a file but still cannot infer the root cause of the issue