diff --git a/paddle/phi/backends/device_base.h b/paddle/phi/backends/device_base.h index cfdca650bbdf3d..94cc654bcf36d5 100644 --- a/paddle/phi/backends/device_base.h +++ b/paddle/phi/backends/device_base.h @@ -19,15 +19,9 @@ #include "paddle/phi/backends/event.h" #include "paddle/phi/backends/stream.h" -#include "paddle/phi/api/profiler/trace_event_collector.h" +namespace phi { -namespace paddle { -namespace platform { class TraceEventCollector; -} // namespace platform -} // namespace paddle - -namespace phi { class DeviceInterface { // Driver / Runtime public: