googleapis / googleapis/python-aiplatform

Followed notebooks samples for CPR and deploy but getting FailedPrecondition

Open
#4,559 0 comments 2 reactions 1 assignee Claimed by @kthytang View on GitHub
api: vertex-ai samples
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

Follow this tutorial: https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/prediction/custom_prediction_routines/SDK_Custom_Predict_SDK_Integration.ipynb

everything works fine, including the local endpoint deployment, but when doing the mode.deploy to an endpoint at the end I encounter the error:
`FailedPrecondition: 400 Model server exited unexpectedly Model server logs can be found at ...` but the logs show nothing, just

![image](https://github.com/user-attachments/assets/92422b03-ea54-4772-9f8e-4a6dcb16ae88)

Not sure how to debug this. Perhaps a bit to add is that I am quite familiar with the GCP ecosystem and I did try several ways to deploy this. All started by not being able to deploy my own model, then turned into the tutorial, and I guess if that doesn't work then something must be wrong with the implementation.

If you could even point me to where the problem might be I can take a look myself but I do need a bit of guidance as I am a bit stuck. Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.