gpt4 book ai didi

cloud - 任何人都遇到过关于 Google colaboratory :You are connected to a GPU runtime, 的警告,但没有使用 GPU

转载 作者:行者123 更新时间:2023-12-04 04:31:17 25 4
gpt4 key购买 nike

这个警告已经持续了三个星期。我想知道这个解决方案。 this warning comes out.

最佳答案

我相信这意味着您的工作没有使用 GPU。 GPU 和 TPU 运行时的值(value)高于“无”运行时。 Colab 一次只允许两个 GPU 运行时 session 。没有允许大约五个。
此外,它们总共只允许使用 12 小时,并且每次 session 都是累积的。
如果您不需要或不知道是否需要 GPU,我建议使用 None 运行时。如果运行时为 None,则 Colab 对超时和 session 数量是宽松的。

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.

关于cloud - 任何人都遇到过关于 Google colaboratory :You are connected to a GPU runtime, 的警告,但没有使用 GPU,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61360422/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com