You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I train a model and save it, the resulting saved model file's serving signature contains every feature from the training dataset that was loaded by the dataloader, even when the model doesn't actually use those features.
saved_model_cli show --tag_set serve --signature_def serving_default --dir /tmp/query_encoder
Expected behavior
The serving signature should only contain the features that the model actually uses. (Otherwise, when we try to serve the model, we have to provide a bunch of features that don't do anything.)
Environment details
Merlin versions:
merlin-core 0.8.0+12.g8612b749e3
merlin-dataloader 0.0.2
merlin-models 0.9.0+42.g04597b9277
merlin-systems 0.7.0+19.g032be4d9
Platform: Docker (merlin_ci_runner image)
Python version: 3.8.10
Tensorflow version (GPU?): tensorflow-gpu 2.9.2
Additional context
This is one of several issues that are currently making it difficult to serve Tensorflow session-based models for NVIDIA-Merlin/Merlin#433.
The text was updated successfully, but these errors were encountered:
Bug description
When I train a model and save it, the resulting saved model file's serving signature contains every feature from the training dataset that was loaded by the dataloader, even when the model doesn't actually use those features.
Steps/Code to reproduce bug
Run the following code:
Examine the serving signature with:
Expected behavior
The serving signature should only contain the features that the model actually uses. (Otherwise, when we try to serve the model, we have to provide a bunch of features that don't do anything.)
Environment details
Additional context
This is one of several issues that are currently making it difficult to serve Tensorflow session-based models for NVIDIA-Merlin/Merlin#433.
The text was updated successfully, but these errors were encountered: