TensorFlow Serving using TensorFlow 2.22.0-rc0.
Major Features and Improvements
- Updated TensorFlow to 2.22.0-rc0 and TF-Text to 2.22.0rc0.
PredictStreamednow returns regular outputs for non-streaming models on TFRT SavedModel servables. (commit: 301b24d)- Add
ServerCore::shared_servable_state_monitor()returning astd::shared_ptr<ServableStateMonitor>so callers can share ownership of the monitor withServerCore. (commit: 308f955)
Breaking Changes
- REST/JSON tensor inputs are now limited to a maximum array nesting depth of 256; deeper inputs are rejected with an error. (commit: 41f612f)
Bug Fixes and Other Changes
- Validate TFRT Predict
output_filterbefore execution whendisable_output_filteris set. (commit: ddab286) - Update release notes for TensorFlow Serving 2.21.0. (commit: 66aa059)
- Stamp
sampling_configandsaved_model_tagsonLogMetadatainMaybeStartLoggingStream(), matching the existing behavior in the unaryLog()path. Previously, streamed PredictionLogs had emptysampling_config. (commit: bed9307) - Prepare to migrate
ABSL_PRINTF_ATTRIBUTEto[[gnu::format(...)]]. (commit: c5dade3) - Cap
num_batch_threadsinBundleFactoryTest::TestBatchingto prevent sanitizer timeouts. (commit: 66446f1) - Reduce allocations and copies when preparing
Predictrequests. (commit: 2beb697) - Make
server_initandprediction_service_utilvisible to one client package. (commit: 690648b)