(gcloud.ai-platform.jobs.submit.training)INVALID_ARGUMENT: 字段

(gcloud.ai-platform.jobs.submit.training) INVALID_ARGUMENT: Field

我在 运行 AI Platform 训练作业时收到以下错误:

ERROR: (gcloud.ai-platform.jobs.submit.training) INVALID_ARGUMENT: Field: master_config.accelerator_config Error: Attaching 1 NVIDIA_TESLA_T4(s) on VM type n1-highcpu-32 is not supported.
- '@type': type.googleapis.com/google.rpc.BadRequest
  fieldViolations:
  - description: Attaching 1 NVIDIA_TESLA_T4(s) on VM type n1-highcpu-32 is not supported.
    field: master_config.accelerator_config

config.yaml

trainingInput:
  scaleTier: CUSTOM
  masterType: n1-highcpu-32
  masterConfig:
    acceleratorConfig:
      count: 1
      type: NVIDIA_TESLA_T4

对于 n1-highcpu-32,您可以选择 2 个或 4 个 NVIDIA Tesla T4 GPU

请验证 Compute Engine 和加速器的组合 here