Google合作实验室:“没有可使用GPU的后端".为什么是这样? [英] Google Colaboratory: 'No backend with GPU available'. Why is this?

查看:219
本文介绍了Google合作实验室:“没有可使用GPU的后端".为什么是这样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google Colabs GPU训练多个卷积神经网络.情况一直很好,但是从昨天开始,我收到一条消息,说没有可用的GPU后端.

I'm using Google Colabs GPU to train multiple Convolutional Neural Networks. It's been going relatively fine but since yesterday I get a message that says there is 'no backend with GPU available.

我个人认为,您可以无休止地使用他们的GPU,只需记住一个人最多只能训练12个小时.但是,现在我无法使用GPU后端.我尝试过多次重新启动运行时并登录/注销,但无法再获得GPU.我请我的一个朋友检查他是否可以使用GPU后端,这对他来说很好.

Personally, I thought that you could use their GPU's endlessly, just keeping in mind that one can only train for 12-hour stretches at maximum. However, now I can't get a backend with GPU. I've tried restarting runtime multiple times and logging in/out, but can't get a GPU anymore. I asked a friend of mine to check if he could get a backend with GPU, and it worked just fine for him.

这使我认为这不是Google的问题,而是我的问题.可能的原因是什么?如何在Colab上重新获得GPU?难道是因为我使用它们过多,它们阻止了我?

This makes me think that it's not an issue on Google's side, but at my side. What could be possible causes for this and how could I get a GPU on Colab again? Could it be that they blocked me out because I'm using them too much?

推荐答案

修改:截至2020年2月,

Edit: As of February, 2020, the FAQ has been updated with much more information on usage limits and a pointer to Colab Pro for users in need of higher limits.

我的原始答案如下.

常见问题解答.

报价:

我如何使用GPU,为什么有时不可用?

协作室旨在用于交互使用.长期运行的背景 尤其是在GPU上的计算可能会停止.请不要使用 加密货币挖矿的合作伙伴.不支持这样做,并且 可能会导致服务不可用.我们鼓励希望 通过Colaboratory的用户界面运行连续或长期运行的计算 使用本地运行时.

Colaboratory is intended for interactive use. Long-running background computations, particularly on GPUs, may be stopped. Please do not use Colaboratory for cryptocurrency mining. Doing so is unsupported and may result in service unavailability. We encourage users who wish to run continuous or long-running computations through Colaboratory’s UI to use a local runtime.

似乎可以定期重置对GPU的访问限制,因此,您可能需要等待一段时间才能冷却,之后才能再次访问GPU.

It seems that limits on GPU access are periodically reset, so you're likely to be able to access a GPU again later after waiting for some time for cooldown.

这篇关于Google合作实验室:“没有可使用GPU的后端".为什么是这样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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