From cbb1cfbb5b9902f75401aa3118e12e554a4dac41 Mon Sep 17 00:00:00 2001
From: Qi Li <qili93@qq.com>
Date: Wed, 30 Nov 2022 17:46:05 +0800
Subject: [PATCH] fix phi header file without fluid header, test=develop
 (#48488)

---
 paddle/phi/core/enforce.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/paddle/phi/core/enforce.h b/paddle/phi/core/enforce.h
index d8449d5ca45..e0dd918cef4 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"
 
-- 
GitLab