在谷歌云平台上的深度学习培训过程中,我希望不时地在虚拟机中添加或删除GPU。使用UI来做这件事既慢又麻烦。他们的CLI是否可以做到这一点?(gcloud...)我希望它在gcloud compute instances update ...下,但它不是。在创建机器时,可以使用gcloud compute instances create --accelerator选项。
发布于 2020-08-12 20:49:36
您不能使用gcloud更改已经创建的GCP虚拟机中的GPU数量。
{
"guestAccelerators": [
{
"acceleratorCount": accelerator-count,
"acceleratorType": "https://compute.googleapis.com/compute/v1/projects/project-id/zones/zone/acceleratorTypes/accelerator-type"
}
]
}您也可以在Google IssueTracker and file a new feature request上的gcloud中请求这样的功能。
https://stackoverflow.com/questions/63371745
复制相似问题