小编gkv*_*gkv的帖子

无法使用自定义容器 GCP 进行部署

我的镜像是 11.4 GB。我正在尝试以下命令:

gcloud beta ai-platform versions create v1 \
  --region=$REGION \
  --model=$MODEL \
  --machine-type=n1-highmem-2 \
  --image=$REGION-docker.pkg.dev/$PROJECT_ID/$REPO_NAME/$IMAGE_NAME \
  --ports=8000 
Run Code Online (Sandbox Code Playgroud)

它失败了:

Error: model server never became ready. Please validate that your model file or container configuration are valid, Error details: model server never became ready: status: "False" last_transition_time { seconds: 1603932493 } reason: "ContainersNotReady" message: "containers with unready status: [online-prediction-be-test85b70d-v1fb1b0606]" type: "ContainersReady"
Run Code Online (Sandbox Code Playgroud)

即使我可以使用docker run. 我需要改变什么?

当我在未指定区域且详细程度设置为 DEBUG 的情况下运行时,我得到:

RecursionError: maximum recursion depth exceeded while calling a Python object
ERROR: …
Run Code Online (Sandbox Code Playgroud)

google-cloud-platform google-ai-platform

5
推荐指数
1
解决办法
1954
查看次数