简体   繁体   English

fastai 使用谷歌云平台

[英]fastai using google cloud platform

for studying fastai course I am trying to set up Google Cloud Platform (GCP) to use pyTorch and fastai using fastai guide.为了学习 fastai 课程,我正在尝试设置 Google Cloud Platform (GCP) 以使用 pyTorch 和使用 fastai 指南的 fastai。

I created a google project and want to create an instance using machine type "n2d-highmem-8'" in zone "us-west1-b" as I suppose to do by the guide.我创建了一个谷歌项目,并希望按照我想在指南中做的那样在区域“us-west1-b”中使用机器类型“n2d-highmem-8”创建一个实例。

I get err: "Machine type with name 'n2d-highmem-8' does not exist in zone 'us-west1-b'."我收到错误消息:“名称为‘n2d-highmem-8’的机器类型在‘us-west1-b’区域中不存在。”

  • when I looked for other zones that contain machines with the type 'n2d', I found "europe-west4-b", but when I try to run it with this zone I get the err: "ERROR: (gcloud.compute.instances.create) Could not fetch resource:当我寻找包含类型为“n2d”的机器的其他区域时,我找到了“europe-west4-b”,但是当我尝试使用该区域运行它时,我得到了错误:“错误:(gcloud.compute.instances .create) 无法获取资源:
    • The resource 'projects/.../zones/europe-west4-b/acceleratorTypes/nvidia-tesla-p100' was not found"找不到资源“projects/.../zones/europe-west4-b/acceleratorTypes/nvidia-tesla-p100”

there some things I can not understand here.有些事情我在这里无法理解。

  • by creating a project I set its zone?通过创建一个项目来设置它的区域? I thought project is like a class and I can set different zones for different instances.我认为项目就像一个 class,我可以为不同的实例设置不同的区域。

  • I can not understand why I can not run it on 'us-west1-b', I trien to change to 'n2d-highmem-4' and 'n2d-highmem-16' but it did not work.我不明白为什么我不能在 'us-west1-b' 上运行它,我尝试更改为 'n2d-highmem-4' 和 'n2d-highmem-16' 但它没有用。

I created the instance with google cli.我用 google cli 创建了实例。

does quota mean the number of instances I can create of a project?配额是指我可以创建一个项目的实例数吗? is there any reason I will need more than 1?有什么理由我需要超过 1 个吗?


first of all, thank you..首先,谢谢你..

I still can not make it works, and I fail to understand the basics here.我仍然无法让它工作,而且我不了解这里的基础知识。 now it seems like its start to creating the instance but now I get the error: WARNING: Some requests generated warnings: - Disk size: '200 GB' is larger than image size: '50 GB'.现在它似乎开始创建实例,但现在我收到错误:警告:某些请求生成警告:- 磁盘大小:“200 GB”大于图像大小:“50 GB”。 You might need to resize the root repartition manually if the operating system does not support automatic resizing the disk means the google cloud instance disk size right?如果操作系统不支持自动调整磁盘大小,您可能需要手动调整根重新分区的大小意味着谷歌云实例磁盘大小对吗? its the vm not my own computer disk memory right?它的虚拟机不是我自己的计算机磁盘 memory 对吗? why is it a problem that the vm size is larger the image.为什么 vm 大小比图像大是个问题。

I thought it has to be like it.我认为它必须像它一样。

You may want to try n1-highmen-8 instead of n2d-highmem-8, that's from the Fastai Forum post by Satyartha(April 19)您可能想尝试 n1-highmen-8 而不是 n2d-highmem-8,它来自 Satyartha 的 Fastai 论坛帖子(4 月 19 日)

according to this article n2d machien type is not available in US-west regions adn zones.根据这篇 文章,n2d machien 类型在美国西部地区和地区不可用。

For the Disksize error, it seems to be FastAI related .对于Disksize错误,好像是FastAI相关的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM