超出使用限制后,如何在 Google Colab 上再次使用 GPU? [英] How can I use GPU again on Google Colab after exceeding usage limit?

查看:384
本文介绍了超出使用限制后,如何在 Google Colab 上再次使用 GPU?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用免费版的 Google Colab 来运行我的 Tensorflow 代码.12 小时后,它给出错误消息由于 Colab 中的使用限制,您当前无法连接到 GPU".我应用了出厂重置运行时"以再次使用 GPU,但它不起作用.此外,我终止了所有会话并重新开始,但此过程也没有给出任何解决方案.有没有什么方法可以在 Google Colab 免费版上再次使用 GPU.谢谢.

I have used Google Colab in Free version to run my Tensorflow codes. After 12 hours, it gives error message which is "You cannot currently connect to a GPU due to usage limits in Colab." I applied "factory reset runtime" to use GPU again but it does not work. Furthermore, I terminated all sessions and started again but this process does not give any solution too. Is there any method to use GPU again on Google Colab Free version. Thanks.

推荐答案

如果经常使用 GPU,运行时间会越来越短,断线会越来越频繁.您可以连接到另一个 GPU 之前的冷却时间将从几小时延长到几天再到几周.谷歌跟踪一切.他们不仅知道您的帐户的使用情况,而且还知道与该帐户相关的帐户的使用情况,如果他们甚至怀疑有人试图滥用系统,他们将相应地调整使用限制.除了有关使用限制"的一般消息外,他们永远不会向您提供运行时断开连接或无法连接到 GPU 的明确原因.他们也不会为用户提供一种直接的方式来跟踪他们的使用情况,因为这样做只会让人们更容易绕过限制.如果您的帐户基本上被列入黑名单,他们实际上永远不会告诉您您的帐户已被列入黑名单,因为这会给他们带来更多麻烦.尝试永久连接时,您只会收到有关使用限制的相同消息.他们更喜欢让用户感到困惑和猜测,因为这保留了 Google 的所有权力.对于免费服务,谁能说这有什么问题.

If you use GPU regularly, runtime durations will become shorter and shorter and disconnections more frequent. The cooldown period before you can connect to another GPU will extend from hours to days to weeks. Google tracks everything. They not only know your accounts's usage but also the usage of accounts that appear related to that account and will adjust usage limits accordingly if they even suspect someone of trying to abuse the system. They will never give you an explicit reason why the runtime disconnected or why you can't connect to GPU other than the generic message about "usage limits". Neither will they ever give users a straightforward way to track their usage because all that would do is make it easier for people to skirt the restrictions. If your account is basically blacklisted they will never actually tell you your account is blacklisted because that creates more headaches for them. You'll just get the same message about usage limits when trying to connect forever. They prefer to have users confused and guessing because that keeps all the power with Google. And for a free service, who's to say there's anything wrong with that.

对于 Colab Pro,他们可能不会致命地限制过度使用的帐户,但他们可以通过将冷却期延长至 3-5 天,将运行时间从 24 小时减少到 6-8 小时来显着限制它,等等.请记住,这是针对最长持续时间每周多次运行多个帐户的人.如果您每周只使用一个帐户一两次,应该没有问题.

edit: For Colab Pro they likely won't fatally restrict an account for over-usage but they can significantly restrict it by extending the cooldown period to 3-5 days, reducing runtime durations from 24 hrs to 6-8 hrs, etc. Keep in mind this is for people running multiple accounts multiple times a week for the maximum duration. If you're just using a single account once or twice a week you shouldn't have a problem.

这篇关于超出使用限制后,如何在 Google Colab 上再次使用 GPU?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆