diff --git a/paddle/phi/core/distributed/comm_context_manager.cc b/paddle/phi/core/distributed/comm_context_manager.cc index 3154b44c5ecf13e17e1a46e8073da4073cbd1e9d..7bbf0612ab323ed673c26dd0dba56f05a36e44c3 100644 --- a/paddle/phi/core/distributed/comm_context_manager.cc +++ b/paddle/phi/core/distributed/comm_context_manager.cc @@ -33,6 +33,7 @@ #include "paddle/phi/core/distributed/nccl_comm_context.h" #endif #ifdef PADDLE_WITH_CUSTOM_DEVICE +#include "glog/logging.h" #include "paddle/phi/core/distributed/xccl_comm_context.h" #endif