google-colaboratory - 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:
- Connect to Hosted Runtime
- 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 Cloud 中的新机器实例上运行。您无需设置任何硬件。但是每次使用时可能都需要安装一些库。
本地运行时在您家中的机器上运行。您需要安装 Python、Jupyter 并设置一些转发。如果您有大量数据要在本地处理,或者如果您有自己强大的 GPU 可供使用,这将非常有用。
在大多数情况下,我使用托管运行时。
推荐阅读
- ios - UICollectionView 布局错误的项目大小
- r - 按 id 和最近日期的条件 left_join
- python - python repli数据库抛出typeError
- php - 如何回显“未找到结果”。使用 sqlsrv 和 PHP?
- azure - Azure IoT 中心边缘模块“AzureVideoAnalyzerEdge”不会部署
- javascript - AssertionError:预期 [ Array(5) ] 具有属性“名称”
- r - 在R中将字符更改为日期/时间
- javascript - 如何在 Node Js Request 中保存变量
- git - 计算 git 存储库之外的文件或目录的 git 哈希
- connector - 使用 Direct Engine REST API 的流集。此数据收集器不可访问