Google Colab Disk space vs Google Drive disk space

Viewed 18406

I'm using Google Colab to do some machine learning project. I've mounted my drive, activated the GPU, purchased extra storage space from google drive, and have over 100Gb of free space on google drive, but the "drive" monitor in my Colab notebook says that the drive is filling up. Screen shots of my Colab notbook and Google Drive storage below.

enter image description here

enter image description here

Why does the notebook show that the drive is filling up? I've refreshed my google drive several times to make sure that the storage space that's showing is accurate.

2 Answers

The Google Drive storage and Google Colab disk space are different.

Google drive storage is the space given in the google cloud. whereas the colab disk space is the amount of storage in the machine alloted to you at that time. You can increase the storage by changing the runtime.

A machine with GPU has more memory and diskspace than a runtime with cpu only. Similarly if you want more, you can change the runtime to a TPU machine.

Google drive storage and google colab disk are different. Google drive storage is object storage system while google colab disk is a File system that you use during the colab runtime(mostly a SSD, or a HDD). Both are different and have different usage (read here for more).

The problem you are facing is the shortage of SSD disk during the runtime. Google colab has no option to increase this. You need to shift to cloud notebooks to increase the size of the runtime SSD.

Related