@@ -92,7 +92,7 @@ Status NewThreadPoolFromThreadPoolOptions(
9292 const string& name = thread_pool_options.global_name ();
9393 if (name.empty ()) {
9494 // Session-local threadpool.
95- VLOG (0 ) << " Direct session inter op parallelism threads for pool "
95+ VLOG (1 ) << " Direct session inter op parallelism threads for pool "
9696 << pool_number << " : " << num_threads;
9797 *pool = new thread::ThreadPool (
9898 options.env , ThreadOptions (), strings::StrCat (" Compute" , pool_number),
@@ -253,23 +253,19 @@ DirectSession::DirectSession(const SessionOptions& options,
253253 operation_timeout_in_ms_(options_.config.operation_timeout_in_ms()) {
254254 const int thread_pool_size =
255255 options_.config .session_inter_op_thread_pool_size ();
256- LOG (INFO) << " thread_pool_size=" << thread_pool_size << " \n " ;
257256 if (thread_pool_size > 0 ) {
258257 for (int i = 0 ; i < thread_pool_size; ++i) {
259258 thread::ThreadPool* pool = nullptr ;
260259 bool owned = false ;
261- LOG (INFO) << " creating thread pool #" << i << " \n " ;
262260 init_error_.Update (NewThreadPoolFromThreadPoolOptions (
263261 options_, options_.config .session_inter_op_thread_pool (i), i, &pool,
264262 &owned));
265263 thread_pools_.emplace_back (pool, owned);
266264 }
267265 } else if (options_.config .use_per_session_threads ()) {
268- LOG (INFO) << " using per-session thread pools\n " ;
269266 thread_pools_.emplace_back (NewThreadPoolFromSessionOptions (options_),
270267 true /* owned */ );
271268 } else {
272- LOG (INFO) << " using global thread pools\n " ;
273269 thread_pools_.emplace_back (GlobalThreadPool (options), false /* owned */ );
274270 // Run locally if environment value of TF_NUM_INTEROP_THREADS is negative
275271 // and config.inter_op_parallelism_threads is unspecified or negative.
@@ -279,7 +275,6 @@ DirectSession::DirectSession(const SessionOptions& options,
279275 env_num_threads < 0 )) {
280276 run_in_caller_thread_ = true ;
281277 }
282- LOG (INFO) << " run_in_caller_thread_=" << run_in_caller_thread_ << " \n " ;
283278 }
284279 // The default value of sync_on_finish will be flipped soon and this
285280 // environment variable will be removed as well.
@@ -590,14 +585,14 @@ Status DirectSession::RunInternal(int64 step_id, const RunOptions& run_options,
590585 if (executors_and_keys->items .size () > 1 ) {
591586 pool = thread_pools_[0 ].first ;
592587 } else {
593- VLOG (0 ) << " Executing Session::Run() synchronously!" ;
588+ VLOG (1 ) << " Executing Session::Run() synchronously!" ;
594589 }
595590 }
596591
597592 std::unique_ptr<RunHandler> handler;
598593 if (ShouldUseRunHandlerPool (run_options) &&
599594 run_options.experimental ().use_run_handler_pool ()) {
600- VLOG (0 ) << " Using RunHandler to scheduler inter-op closures." ;
595+ VLOG (1 ) << " Using RunHandler to scheduler inter-op closures." ;
601596 handler = GetOrCreateRunHandlerPool (options_)->Get ();
602597 }
603598 auto * handler_ptr = handler.get ();
0 commit comments