'Save failed in Google Colab

I opened a number of tabs at the same time. I think that's why Google Colab was not able to support the heavy load. The message stated:

Save failed

This file could not be saved. Please use the File menu to download the .ipynb and upload the notebook to make a copy that includes your recent changes.

Is downloading the file and uploading again the only solution?



Solution 1:[1]

It turned out to be a network issue. Output is heavy and colab is not able to save it is not able to make a handshake because internet speed is poor. So just switch the internet source and see it working.

Solution 2:[2]

I had the same problem despite ''Runtime > Change runtime type' being already set 'None' beforehand. As the OP I had no other instances of the notebook open.

In the end I did 3 things in the following order:

  1. File > Save a copy in Drive
  2. File > Save a copy in GitHub
  3. File > Save

Just picking the 'Save' from the drop down again did the trick for me. My variables were still loaded all is working as before.

enter image description here

Solution 3:[3]

I deleted (heavy) outputs and it worked out, it started saving without fail notifications

Solution 4:[4]

I got the same issue and eventually I found it's because I set up the hardware accelerator.
This would be fixed if reseting the 'Runtime/Change runtime type' to 'None'.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 nilsinelabore
Solution 2 ilam engl
Solution 3 Nazgul Mamasheva
Solution 4 fwq