-
Notifications
You must be signed in to change notification settings - Fork 53
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
Model deployment for predictions in Vertex AI #162
Comments
Have you tried if it "just works" with Tensorflow 2.15.0, tfdf 1.8.1 and ydf 0.9.0? I just tried the following on Google colab after installing these versions and everything worked fine. I think the proto collision was separately solved on the YDF side.
|
Hi @rstz, Thank you for your quick reply and looking into this ! It works with those versions but the collision error happens at the import of But I cannot force install |
Hi all,
I am currently transitioning from
tfdf
toydf
for training Random Forest models. I need to save the models in theSavedModel
format for Vertex AI predictions, still requiring me to usetfdf
. I am thus using the following versions in my training pipeline:tfdf==1.9.1
which fixes the collision issue with YDFtfdf==1.9.1
is only compatible with that version of TF (cf. compatibility table)tf-keras
to be able to use Keras 2.x since Keras 3.x is now the default in TF 2.16.1After training, I save my model in the Keras
SavedModel
format and would like to deploy it in Vertex AI for making predictions. However, the latest TF version available in Vertex AI as a prebuilt container is 2.15.Do you know if there is a plan to include a prebuilt container with TF 2.16.1 to allow for models trained with YDF to be used in Vertex AI ?
If not, is there an other way to circumvent the collision issue (I cannot force install
ydf
as my dependencies are resolved withpoetry
).Thank you for your help and for the great lib :),
Best,
Nasser
The text was updated successfully, but these errors were encountered: