【问题标题】:How can I increase RAM capacity in Colab pro+?如何在 Colab pro+ 中增加 RAM 容量?
【发布时间】:2021-11-11 00:46:34
【问题描述】:

如何在 Colab pro + 中增加 RAM 容量? 我需要大于 35 GB 的 RAM,但 Colab pro+ 仅提供 12 GB

问候 柴彦S.

【问题讨论】:

  • 我不认为你可以。
  • 有同样的问题。即使选择了“high-ram”运行时,我在 Colab Pro+ 上仍然只能获得 12Gb 的 RAM。他们为此收取 50 美元/月的费用,完全是骗局。

标签: google-colaboratory


【解决方案1】:

要将您的笔记本偏好设置为使用高内存运行时,请选择运行时 >“更改运行时类型”菜单,然后在运行时形状下拉列表中选择高内存。

然后您可以通过在单元格中运行以下代码来检查它:

from psutil import virtual_memory
ram_gb = virtual_memory().total / 1e9
print('Your runtime has {:.1f} gigabytes of available RAM\n'.format(ram_gb))

if ram_gb < 20:
  print('Not using a high-RAM runtime')
else:
  print('You are using a high-RAM runtime!')

【讨论】:

  • 谢谢拉哈,但它不起作用。我已经按照你的建议做了。
  • 您确定您的帐户已升级到 pro+ 吗?有时您有多个 google 帐户,并且您与非专业帐户相关联。这太奇怪了。如果问题仍然存在,您可以联系 Google 团队。
猜你喜欢
  • 2020-08-18
  • 1970-01-01
  • 2020-07-15
  • 2021-04-12
  • 1970-01-01
  • 2020-12-22
  • 1970-01-01
  • 2020-08-07
  • 1970-01-01
相关资源
最近更新 更多