-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CachingModelWrapper.predict() to use the cache instead of bypa…
…ssing. Simplifies CachingModelWrapper by removing the dataset_name and using the model name in the CacheKey. Updates CachingModelWrapper.predict_with_metadata() to act as a passthrough to predict(), now that predict() uses the cache. This will simplify and stabilize LIT's behavior as we move toward the removal of the Model.predict_with_metadata() API from models. PiperOrigin-RevId: 549716363
- Loading branch information
Showing
2 changed files
with
52 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters