PyTorch and Jupyter notebook?

Hey guys, so I am using pytorch 1.4.0 on my jupyter through ipykernel. The kernel dies for no (unknown?) reason… and this often happens when I ran my specific notebook (sometimes it’s good though). is this a bug? Can I collect some info to help debug this? Thanks.

In my experience Jupyter notebooks are not the best in reporting the error message or showing the stack trace. I would recommend to save your notebook as a Python script (there is an export option for it) and run the script in your terminal to get the error message.

I don’t think it’s a bug in my code though… I think it’s something between pytorch and jupyter notebook?