MysteryGuy
MysteryGuy

Reputation: 1151

Jupyter notebook kernel does not want to interrupt

I was running a cell in a Jupyter Notebook for a while and decided to interrupt. However, it still continues to run and I don't know how to proceed to have the thing interrupted...

Thanks for help

Upvotes: 3

Views: 10425

Answers (1)

ixeption
ixeption

Reputation: 2050

Sometimes this happens, when you are on a GPU accelerated machine, where the Kernel is waiting for some GPU operation to be finished. I noticed this even on AWS instances.

The best thing you can do is just to wait. In the most cases it will recover and finish at some point. If it does not, at least it will tell you the kernel died after some minutes and you don´t have to copy paste your notebook, to back up your work. In rare cases, you have to kill your python process manually.

Upvotes: 3

Related Questions