英文:
gcp rest call to get machine types supported for different gpu types
问题
我正在尝试使用此REST调用来获取支持它的机器类型和加速器:https://compute.googleapis.com/compute/v1/projects/{}/zones/{}/machineTypes。
尽管我可以获取a2和g2的加速器信息,但对于n1机器类型,信息不可用...
我尝试了加速器类型调用和机器类型REST调用...是否有其他GCP REST调用可以列出支持任何GPU类型的机器类型?
英文:
I am trying to use this rest call to get machine types and accelerators supported for it :https://compute.googleapis.com/compute/v1/projects/{}/zones/{}/machineTypes.
While i get the accelerators information for a2 and g2, the info is not available for n1 machine type...
I tried the accelerator types call and machine types rest call..Is there any other gcp rest call which can list supported machine types for any gpu type?
答案1
得分: 0
目前没有API或CLI命令可用于列出GPU。
注意:仅N1、A2和G2虚拟机支持GPU。这将简化您查找支持GPU附件的GPU机型的搜索。
我使用此文档查找GPU的详细信息。
这个链接详细介绍了N1系列支持的GPU。
大多数区域仅支持有限的GPU选择。有关更多详细信息,请查阅此链接。
目前,需要进行研究才能确定某个机型是否支持所需区域/区域的GPU类型。例如,区域us-west1-c
不支持任何GPU。
英文:
There is no API or CLI command to list GPUs at this time.
Note: only the N1, A2, and G2 VMs support GPUs. That should simplify your search for GPU machine types that support GPU attachments.
I use this documentation to look up GPU details.
This link details the GPUs supported for the N1 family.
Most regions support a limited selection of GPUs. Consult this link for more details.
At this time, it takes research to know if a machine type supports a GPU type in the desired region/zone. For example, the zone us-west1-c
does not support any GPUs.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论