statmike / vertex-ai-mlops

Google Cloud Platform Vertex AI end-to-end workflows for machine learning operations
Apache License 2.0
450 stars 202 forks source link

[04 - Vertex AI Custom Model - scikit-learn - in Notebook] Cannot deploy model to endpoint #23

Closed tomchen29 closed 1 year ago

tomchen29 commented 1 year ago

The notebook runs smoothly until "deploying the model to endpoint". Error screenshot is as below (via Google Photos): https://photos.app.goo.gl/LgXedsdg89mqaXAz9 https://photos.app.goo.gl/dAto3r6mAat3jpGSA

Cloud Monitor has log as below: https://photos.app.goo.gl/Qd4PW7uCXPZN1LxG7

How to Reproduce: Run the notebook on Colab

tomchen29 commented 1 year ago

Update: I was able to run the TensorFlow tutorial ("05 series") on Colab without issue, so I am highly skeptical there is a bug in sklearn image 'us-docker.pkg.dev/vertex-ai/training/scikit-learn-cpu.0-23:latest'.

statmike commented 1 year ago

@goodrules Hi Mike G, Would you be able to look at this question for deploying to endpoint?

goodrules commented 1 year ago

Sure thing, will take a look Monday first thing.

Have a great weekend, Mike

On Fri, Jan 6, 2023 at 9:00 PM Mike Henderson @.***> wrote:

@goodrules https://github.com/goodrules Hi Mike G, Would you be able to look at this question for deploying to endpoint?

— Reply to this email directly, view it on GitHub https://github.com/statmike/vertex-ai-mlops/issues/23#issuecomment-1374347461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB26CJHF3Y7H46FK6HQPMHLWRDE47ANCNFSM6AAAAAATNDH3AU . You are receiving this because you were mentioned.Message ID: @.***>

goodrules commented 1 year ago

@tomchen29 thank you for identifying this as an issue. The code has been updated, a few minor tweaks and switching to using a pickle model vs joblib. Please let us know if you're still seeing an issue deploying.

statmike commented 1 year ago

going to close this issue for now but if there are any problem please continue to add comments here and we can reopen it