15 #ifndef TENSORFLOW_SERVING_MODEL_SERVERS_DEVICE_RUNNER_INIT_STUB_H_
16 #define TENSORFLOW_SERVING_MODEL_SERVERS_DEVICE_RUNNER_INIT_STUB_H_
18 #include "tensorflow/core/lib/core/status.h"
19 #include "tensorflow/core/tfrt/runtime/runtime.h"
21 namespace tensorflow::serving {
24 bool warmup_all_devices =
true;
27 using InitializeDeviceRunnerAndTopologyFuncType =
35 extern InitializeDeviceRunnerAndTopologyFuncType
36 InitializeDeviceRunnerAndTopologyFunc;
39 Status InitializeDeviceRunnerAndTopology(
40 tfrt_stub::Runtime& runtime,
int* num_local_devices =
nullptr,