首页 > 解决方案 > What is the difference between local runtime and hosted runtime in Google Colab?

问题描述

I I just started using Google Colab for a project of mine. I see an button of "CONNECT" on the web page that presents before me two options:

  1. Connect to Hosted Runtime
  2. Connect to Local Runtime

Can anyone explain what the two mean and how it may affect my project? I did not find any useful documentation related to it.

标签: google-colaboratory

解决方案


托管运行时在 Google Cloud 中的新机器实例上运行。您无需设置任何硬件。但是每次使用时可能都需要安装一些库。

本地运行时在您家中的机器上运行。您需要安装 Python、Jupyter 并设置一些转发。如果您有大量数据要在本地处理,或者如果您有自己强大的 GPU 可供使用,这将非常有用。

在大多数情况下,我使用托管运行时。


推荐阅读