diff --git a/paddle/phi/core/enforce.h b/paddle/phi/core/enforce.h index d8449d5ca45d22ee21945187962a5665b9b8f314..e0dd918cef418824016fcce142534c735de6f8bb 100644 --- a/paddle/phi/core/enforce.h +++ b/paddle/phi/core/enforce.h @@ -98,7 +98,6 @@ limitations under the License. */ #if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP) #include "paddle/phi/backends/gpu/gpu_types.h" #endif -#include "paddle/fluid/platform/flags.h" #include "paddle/utils/variant.h"