Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Cloud Vertex AI and TF 2.0 support not available #182

Open
crispindev opened this issue Sep 30, 2021 · 4 comments
Open

Google Cloud Vertex AI and TF 2.0 support not available #182

crispindev opened this issue Sep 30, 2021 · 4 comments
Assignees

Comments

@crispindev
Copy link

Trying to run using TF2.0 and using VertexAI Managed and standalone notebooks and currently not working.

Issues with tf.contribute not available in tf 2.0 and the widget not launching in either type of notebook.

AI Platform was deprecated earlier this year for VertexAI.

@jameswex
Copy link
Collaborator

Are you able to provide an example notebook that fails that you can share with me? I don't have any experience yet with Vertex notebooks and am not sure how they different from AI Platform notebooks.

@crispindev
Copy link
Author

crispindev commented Sep 30, 2021 via email

@jameswex
Copy link
Collaborator

jameswex commented Oct 1, 2021

The issue may be that Vertex AI notebooks use JupyterLab 3.x, and WIT only works currently in versions 1.x and 2.x. See #71 for when we had to update WIT to handle version 2.x.

@jameswex jameswex self-assigned this Oct 1, 2021
@jameswex
Copy link
Collaborator

jameswex commented Oct 1, 2021

@krishr2d2 the WIT tool currently has no built-in support for Vertex AI models like it does for the old AI platform model types. To immediately use a vertex AI model with WIT you would need to use the custom prediction function capability of WIT (https://pair-code.github.io/what-if-tool/learn/tutorials/custom-prediction/) and write python code to query the deployed endpoint on the given examples and return the correctly-formatted results to WIT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants