From https://research.google.com/colaboratory/faq.html we can see that:
Code is executed in a virtual machine dedicated to your account. Virtual machines are recycled when idle for a while, and have a maximum lifetime enforced by the system.
Installing extra packages, I kinda fucked up the virtual machine I'm currently on (playing with /etc/apt/sources.list... for example).
Is there a way to force the machine reset or recycle ? If not, do we know the lifetime or idle time before being recycled ?
Thanks
To clear all output from your notebook, goto 'edit -> clear all output'. This is equivalent to resetting the virtual machine colab is running in.
1 Answer. Show activity on this post. Files that you save in Google Colab are there only for the duration of the session - they will all get deleted when you end it. That's why it's common to move the files outside of this space.
To clear outputs, go to 'EDIT' and 'clear all outputs'. If you want to reset all packages, data files etc. installed, you have got to the runtime as you mentioned.
To drop your current backend and start fresh with a new one, select the command 'Reset all runtimes...' from the Runtime menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With