Run Your VS Code Jupyter Notebooks on the Google Colab Runtime

  • Google Colab has launched an official extension for Visual Studio Code, enabling developers to connect local notebooks to Colab runtimes directly within VS Code
  • The release bridges two popular ecosystems: VS Code, the versatile code editor many developers use daily, and Colab, a cloud-based notebook environment widely adopted for AI/ML, providing seamless access to GPUs and TPUs
  • With the extension, VS Code users can open or create .ipynb notebooks and, via a few clicks, select a Colab runtime so the notebook runs on Colab's compute while staying in the VS Code interface

Example Notebook