File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ add_subdirectory(pybind)
6
6
add_subdirectory (string )
7
7
add_subdirectory (recordio )
8
8
# NOTE: please add subdirectory inference at last.
9
- add_subdirectory (inference )
9
+ # add_subdirectory(inference)
Original file line number Diff line number Diff line change @@ -19,13 +19,14 @@ limitations under the License. */
19
19
#include < thread> // NOLINT
20
20
#include < vector>
21
21
22
+ #include " gflags/gflags.h"
23
+
22
24
#include " paddle/fluid/operators/detail/macros.h"
23
25
24
26
#include " paddle/fluid/operators/distributed/request_handler_impl.h"
25
27
#include " paddle/fluid/operators/listen_and_serv_op.h"
26
28
#include " paddle/fluid/platform/profiler.h"
27
29
28
- DECLARE_int32 (listen_and_serv_profile_period);
29
30
DEFINE_int32 (listen_and_serv_profile_period, 0 ,
30
31
" the period of listen_and_serv to do profile" );
31
32
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ def __bootstrap__():
127
127
]
128
128
if core .is_compiled_with_dist ():
129
129
read_env_flags .append ('rpc_deadline' )
130
+ read_env_flags .append ('listen_and_serv_profile_period' )
130
131
131
132
if core .is_compiled_with_cuda ():
132
133
read_env_flags += [
You can’t perform that action at this time.
0 commit comments