在 google colab 上进行长时间 运行 训练的官方方法是什么?
What is the official way to do long-running training on google colab?
我有一个神经网络,需要大约 7-15 天才能在多个 GPU 上进行训练。
Google colab 在 运行 脚本运行几个小时后断开连接。您可以采取一些“技巧”来使会话保持活动状态,但这显然不是官方标准。
一旦我在google colab 中编写了我的脚本,我应该如何处理运行 很长一段时间的脚本?我已连接并使用 google 的深度学习 VM。
目前没有 运行 脚本的免费 版本合作社;事实上,从官方常见问题解答的Resource Limits部分可以清楚地看出,最大运行时间是12小时(重点是添加的):
How long can notebooks run in Colab?
Notebooks run by connecting to virtual machines that have maximum
lifetimes that can be as much as 12 hours. Notebooks will also
disconnect from VMs when left idle for too long. Maximum VM lifetime
and idle timeout behavior may vary over time, or based on your usage.
This is necessary for Colab to be able to offer computational
resources for free. Users interested in longer VM lifetimes and more
lenient idle timeout behaviors that don’t vary as much over time may
be interested in Colab Pro.
所以,如果你真的需要 运行 天的顺序,你应该考虑 Colab Pro。
我有一个神经网络,需要大约 7-15 天才能在多个 GPU 上进行训练。 Google colab 在 运行 脚本运行几个小时后断开连接。您可以采取一些“技巧”来使会话保持活动状态,但这显然不是官方标准。
一旦我在google colab 中编写了我的脚本,我应该如何处理运行 很长一段时间的脚本?我已连接并使用 google 的深度学习 VM。
目前没有 运行 脚本的免费 版本合作社;事实上,从官方常见问题解答的Resource Limits部分可以清楚地看出,最大运行时间是12小时(重点是添加的):
How long can notebooks run in Colab?
Notebooks run by connecting to virtual machines that have maximum lifetimes that can be as much as 12 hours. Notebooks will also disconnect from VMs when left idle for too long. Maximum VM lifetime and idle timeout behavior may vary over time, or based on your usage. This is necessary for Colab to be able to offer computational resources for free. Users interested in longer VM lifetimes and more lenient idle timeout behaviors that don’t vary as much over time may be interested in Colab Pro.
所以,如果你真的需要 运行 天的顺序,你应该考虑 Colab Pro。