File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tensorflow_serving/servables/tensorflow Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,11 @@ absl::StatusOr<tfrt::SavedModel::Options> CreateCommonSavedModelOptions(
222
222
compile_options.min_num_batch_threads = config.tfrt_min_num_batch_threads ();
223
223
compile_options.min_max_enqueued_batches =
224
224
config.tfrt_min_max_enqueued_batches ();
225
+ #ifdef PLATFORM_GOOGLE
226
+ // TODO(shtatnov): Remove the IFDEF after TF 2.20 is released.
227
+ compile_options.batch_queue_global_prioritization_num_threads =
228
+ config.tfrt_batch_queue_global_prioritization_num_threads ();
229
+ #endif // PLATFORM_GOOGLE
225
230
compile_options.batch_padding_policy = config.batch_padding_policy ();
226
231
compile_options.batch_options = config.in_graph_batching_parameters ();
227
232
You can’t perform that action at this time.
0 commit comments