You cropped the picture?
More seriously, it is very unlikely that PyTorch executed your calculation but forgot about it, maybe it is something about the tools you use or the broader context of your code, which you don’t say anything about.
Best regards
Thomas