How can I disconnect the google colab runtime from within a cell?

Viewed 2102

I often start a training run before going to bed and I'd like to release the runtime from within the last cell of my notebook. How can I do this?

My motivation is simply to save the extra 90 minutes of usage before the idle timeout kills the runtime anyway, so I accumulate fewer GPU hours and stay at a higher priority... (Maybe that's a pointless goal...)

1 Answers

To post the answer mentioned in the comments above (taken from here):

Run !kill -9 -1 from within a cell.

Related