0% found this document useful (0 votes)
39 views3 pages

Making The Most of Your Colab Subscription - Colab

The document outlines the benefits of a Colab subscription, including access to faster GPUs, more memory, and longer runtimes for paid users. It provides instructions on how to change runtime settings to utilize these features and encourages users to manage resources effectively. Additionally, it offers guidance on providing feedback and accessing further resources for working with Colab and machine learning.

Uploaded by

Anh Duong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views3 pages

Making The Most of Your Colab Subscription - Colab

The document outlines the benefits of a Colab subscription, including access to faster GPUs, more memory, and longer runtimes for paid users. It provides instructions on how to change runtime settings to utilize these features and encourages users to manage resources effectively. Additionally, it offers guidance on providing feedback and accessing further resources for working with Colab and machine learning.

Uploaded by

Anh Duong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

3/20/25, 12:14 PM Making the Most of your Colab Subscription - Colab

keyboard_arrow_down Making the Most of your Colab Subscription


keyboard_arrow_down Faster GPUs
Users who have purchased one of Colab's paid plans have access to faster GPUs and more memory. You can upgrade your notebook's GPU
settings in Runtime > Change runtime type in the menu to select from several accelerator options, subject to availability.

The free of charge version of Colab grants access to Nvidia's T4 GPUs subject to quota restrictions and availability.

You can see what GPU you've been assigned at any time by executing the following cell. If the execution result of running the code cell below
is "Not connected to a GPU", you can change the runtime by going to Runtime > Change runtime type in the menu to enable a GPU
accelerator, and then re-execute the code cell.

gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
print('Not connected to a GPU')
else:
print(gpu_info)

In order to use a GPU with your notebook, select the Runtime > Change runtime type menu, and then set the hardware accelerator to the
desired option.

keyboard_arrow_down More memory


Users who have purchased one of Colab's paid plans have access to high-memory VMs when they are available. More powerful GPUs are
always offered with high-memory VMs.

You can see how much memory you have available at any time by running the following code cell. If the execution result of running the code
cell below is "Not using a high-RAM runtime", then you can enable a high-RAM runtime via Runtime > Change runtime type in the menu.
Then select High-RAM in the Runtime shape toggle button. After, re-execute the code cell.

from psutil import virtual_memory


ram_gb = virtual_memory().total / 1e9
print('Your runtime has {:.1f} gigabytes of available RAM\n'.format(ram_gb))

if ram_gb < 20:


print('Not using a high-RAM runtime')
else:
print('You are using a high-RAM runtime!')

Longer runtimes

All Colab runtimes are reset after some period of time (which is faster if the runtime isn't executing code). Colab Pro and Pro+ users have
access to longer runtimes than those who use Colab free of charge.

Background execution
Colab Pro+ users have access to background execution, where notebooks will continue executing even after you've closed a browser tab.
This is always enabled in Pro+ runtimes as long as you have compute units available.

Relaxing resource limits in Colab Pro

Your resources are not unlimited in Colab. To make the most of Colab, avoid using resources when you don't need them. For example, only
use a GPU when required and close Colab tabs when finished.

If you encounter limitations, you can relax those limitations by purchasing more compute units via Pay As You Go. Anyone can purchase
compute units via Pay As You Go; no subscription is required.

https://colab.research.google.com/notebooks/pro.ipynb#scrollTo=BJW8Qi-pPpep&printMode=true 1/3
3/20/25, 12:14 PM Making the Most of your Colab Subscription - Colab

Send us feedback!

If you have any feedback for us, please let us know. The best way to send feedback is by using the Help > 'Send feedback...' menu. If you
encounter usage limits in Colab Pro consider subscribing to Pro+.

If you encounter errors or other issues with billing (payments) for Colab Pro, Pro+, or Pay As You Go, please email [email protected].

More Resources

Working with Notebooks in Colab


Overview of Colab
Guide to Markdown
Importing libraries and installing dependencies
Saving and loading notebooks in GitHub
Interactive forms
Interactive widgets

Working with Data


Loading data: Drive, Sheets, and Google Cloud Storage
Charts: visualizing data
Getting started with BigQuery

Machine Learning Crash Course


These are a few of the notebooks from Google's online Machine Learning course. See the full course website for more.

Intro to Pandas DataFrame


Linear regression with tf.keras using synthetic data

Using Accelerated Hardware


TensorFlow with GPUs
TensorFlow with TPUs

Machine Learning Examples

To see end-to-end examples of the interactive machine learning analyses that Colab makes possible, check out these tutorials using models
from TensorFlow Hub.

A few featured examples:

Retraining an Image Classifier: Build a Keras model on top of a pre-trained image classifier to distinguish flowers.
Text Classification: Classify IMDB movie reviews as either positive or negative.
Style Transfer: Use deep learning to transfer style between images.
Multilingual Universal Sentence Encoder Q&A: Use a machine learning model to answer questions from the SQuAD dataset.
Video Interpolation: Predict what happened in a video between the first and the last frame.

https://colab.research.google.com/notebooks/pro.ipynb#scrollTo=BJW8Qi-pPpep&printMode=true 2/3
3/20/25, 12:14 PM Making the Most of your Colab Subscription - Colab

https://colab.research.google.com/notebooks/pro.ipynb#scrollTo=BJW8Qi-pPpep&printMode=true 3/3

You might also like