A1010
A1010

Reputation: 360

Does Google-Colab continue running the script when "Runtime disconnected"?

I am training a neural network for Neural Machine Traslation on Google Colaboratory. I know that the limit before disconnection is 12 hrs, but I am frequently disconnected before (4 or 6 hrs). The amount of time required for the training is more then 12 hrs, so I add some savings each 5000 epochs.

I don't understand if when I am disconnected from Runtime (GPU is used) the code is still execute by Google on the VM? I ask it because I can easily save the intermediate models on Drive, and so continue the train also if I am disconnected.

Does anyone know it?

Upvotes: 1

Views: 8332

Answers (1)

Bob Smith
Bob Smith

Reputation: 38629

Yes, for ~1.5 hours after you close the browser window. To keep things running longer, you'll need an active tab.

Upvotes: 1

Related Questions