This repository was archived by the owner on Jul 10, 2025. It is now read-only.
RFC: Modify BulkInferrer TFX component #417
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RFC: Modify BulkInferrer TFX component
Objective
Modify BulkInferrer TFX component.
Changes :-
output_examples
artifact.Motivation
A BulkInferrer TFX component is used to perform batch inference on unlabeled tf.Examples.
The generated output examples contains the original features and the prediction results.
Keeping all original features in the output is troubling when dealing with feature heavy models.
For most of the use cases we only require example identifiers and the predictions in the output.
In machine learning, it is a common practice to train multiple models using the same feature set to perform different tasks (sometimes same tasks).
It will be convenient to have a multimodel inference feature in bulk-inferrer. The component should take a list of models and produce predictions for all models.