Anyone experienced the warning about Google colaboratory:You are connected to a GPU runtime, but not utilizing the GPU

浪子不回头ぞ 提交于 2020-12-06 11:52:34

问题


This warning has been going on for three weeks now. I would like to know this solution. this warning comes out.


回答1:


I believe it means your work isn't using the GPU. GPU and TPU runtimes are valued more than the "None" runtime. Colab only allows for two GPU runtime sessions at a time. None allows for approximatley five.

Also they only allow for twelve hours total use, and each session will be cumulative.

If you don't need or don't know if you need GPU, I would suggest the None runtime. Colab is lenient on timeouts and amount of sessions if the runtime is None.


https://research.google.com/colaboratory/faq.html

I saw a message saying my GPU is not being utilized. What should I do?

Colab offers optional accelerated compute environments, including GPU and TPU. Executing code in a GPU or TPU runtime does not automatically mean that the GPU or TPU is being utilized. To avoid hitting your GPU usage limits, we recommend switching to a standard runtime if you are not utilizing the GPU. Choose Runtime > Change Runtime Type and set Hardware Accelerator to None.

For examples of how to utilize GPU and TPU runtimes in Colab, see the Tensorflow With GPU and TPUs In Colab example notebooks.



来源:https://stackoverflow.com/questions/61360422/anyone-experienced-the-warning-about-google-colaboratoryyou-are-connected-to-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!