在 Google Colaboratory 中,有没有办法购买更大的 GPU?

In Google Colaboratory, is there a way to pay for a larger GPU?

我正在测试 GPU 对 Colaboratory 的支持。 GPU 的 RAM 有限。

name: "/device:CPU:0" 
device_type: "CPU" 
memory_limit: 268435456 locality { } 
incarnation: 14648174833476954761, 
name: "/device:GPU:0" 
device_type: "GPU" 
memory_limit: 356515840 
locality { bus_id: 1 } 
incarnation: 11566567776783368174 
physical_device_desc: "device: 0, 
name: Tesla K80, 
pci bus id: 0000:00:04.0, 
compute capability: 3.7"]

GPU显存大小为356MB,请问有没有付费版增加GPU显存的方法?也许这已经是付费 google 产品的一部分,有人知道该产品是什么吗?

目前无法通过 Colab 请求更大的 GPU。

Colab 中的 GPU 未共享。每个用户完全访问一个12G内存的k80

看到 356MB 的空闲 GPU 内存几乎总是表明您创建了一个没有 allow_growth = True 选项的 TensorFlow 会话。看: https://www.tensorflow.org/guide/using_gpu#allowing_gpu_memory_growth

如果您不设置此选项,默认情况下,TensorFlow 将在创建会话时保留几乎所有 GPU 内存。

好消息:截至本周,Colab 现在默认设置此选项,因此当您在 Colab 上使用多个笔记本时,您应该会看到更低的增长。而且,您还可以通过从运行时菜单中选择“管理会话”来检查每个笔记本的 GPU 内存使用情况。

选择后,您会看到一个对话框,其中列出了所有笔记本和每个笔记本正在消耗的 GPU 内存。要释放内存,您也可以从此对话框终止运行时。

Google 推出了可访问更好 GPU 的 colab 专业版 - https://colab.research.google.com/signup