Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Max Ram Memory on Google Colab Pro

I am trying to run some image processing algorithms on google colab but ran out of memory (after the free 25Gb option).

I am thinking of purchasing Colab Pro, but the website is not that informative (it says double, but, is it double 12 or double 25?).

The images that I am working on are whole scan images (15000px x 15000px approx or more). Any other suggestions on how to tackle this problem? (on my current system 32Gb Ram I solved this through swap memory)

like image 746
Jesús Peñaloza Avatar asked Apr 03 '20 17:04

Jesús Peñaloza


People also ask

How can I increase my RAM colab pro?

More memory With Colab Pro you have the option to access high-memory VMs when they are available, and with Pro+ even more so. To set your notebook preference to use a high-memory runtime, select the Runtime > 'Change runtime type' menu, and then select High-RAM in the Runtime shape dropdown.

How much faster is Google colab Pro+?

Advantages of Google Colab Pro and Pro+ When creating ki-generated images, the processing time of the images in the Pro and Pro+ model is about six times faster than in the free Colab - a good argument to book at least the Colab Pro version for around 10 euros a month.

Is Google colab unlimited?

Colab is able to provide resources free of charge in part by having dynamic usage limits that sometimes fluctuate, and by not providing guaranteed or unlimited resources. This means that overall usage limits as well as idle timeout periods, maximum VM lifetime, GPU types available, and other factors vary over time.


Video Answer


2 Answers

Go to the upper toolbar > select 'Runtime' > 'Change Runtime Type' > hardware accelerator: select 'TPU'. This will provide you with 35.5GB instead of 25GB of free RAM

like image 144
kroff3 Avatar answered Oct 18 '22 01:10

kroff3


You can now subscribe to the Colab Pro Plus solution provided by Google, which has a maximum RAM of 52Gb.

like image 44
Jinhua Wang Avatar answered Oct 17 '22 23:10

Jinhua Wang