diff --git a/paddle/fluid/pybind/compatible.cc b/paddle/fluid/pybind/compatible.cc index d358358f38ee02df22572e3a05b5712fa99e2a30..25bf9c7bd05c4983fd8dbb41e8742165e8d97e54 100644 --- a/paddle/fluid/pybind/compatible.cc +++ b/paddle/fluid/pybind/compatible.cc @@ -18,7 +18,7 @@ #include #include "paddle/fluid/framework/op_version_registry.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; diff --git a/paddle/fluid/pybind/imperative.cc b/paddle/fluid/pybind/imperative.cc index 8a21271db409fccd48c9096d9dd2ca976e057773..d80bfb188ae3bf27294e34bea610984fe2caaba4 100644 --- a/paddle/fluid/pybind/imperative.cc +++ b/paddle/fluid/pybind/imperative.cc @@ -54,7 +54,7 @@ limitations under the License. */ #include "paddle/fluid/operators/utils.h" #include "paddle/fluid/pybind/eager_utils.h" #include "paddle/fluid/pybind/op_function.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/fluid/pybind/slice_utils.h" #include "paddle/fluid/pybind/tensor_py.h" #include "paddle/fluid/pybind/uva_utils.h" diff --git a/paddle/fluid/pybind/io.cc b/paddle/fluid/pybind/io.cc index 811f2ae8affe49f392a821749ef9aa665eeaee2d..c421c20b980db8dac2f5205c59d27e407b896938 100644 --- a/paddle/fluid/pybind/io.cc +++ b/paddle/fluid/pybind/io.cc @@ -17,7 +17,7 @@ limitations under the License. */ #include "paddle/fluid/framework/lod_tensor.h" #include "paddle/fluid/framework/selected_rows_utils.h" #include "paddle/fluid/platform/enforce.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; namespace paddle { diff --git a/paddle/fluid/pybind/io.h b/paddle/fluid/pybind/io.h index 7f10306e919e9eabb16842ddda195914d407e027..10c42582283530e1a3fd76542a1489811b2afe99 100644 --- a/paddle/fluid/pybind/io.h +++ b/paddle/fluid/pybind/io.h @@ -21,7 +21,7 @@ typedef SSIZE_T ssize_t; #include -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace paddle { namespace pybind { diff --git a/paddle/fluid/pybind/parallel_executor.cc b/paddle/fluid/pybind/parallel_executor.cc index f1d2f456a28d91c30fa3a313ef63e9dc0fe26078..ba1d4ca250b13d14a1d58da2e07e96b912b64863 100644 --- a/paddle/fluid/pybind/parallel_executor.cc +++ b/paddle/fluid/pybind/parallel_executor.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/place.cc b/paddle/fluid/pybind/place.cc index 84dca60c210f27ddd013796c133e8820ac2b0978..217edf96f1343f1fa1fd281f155106de1ae4080e 100644 --- a/paddle/fluid/pybind/place.cc +++ b/paddle/fluid/pybind/place.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/protobuf.cc b/paddle/fluid/pybind/protobuf.cc index b30f5f4257d5ca660cd6b3827ab5bd751d8a71c2..25d72f02464009e509c53b21194b6e1535106d81 100644 --- a/paddle/fluid/pybind/protobuf.cc +++ b/paddle/fluid/pybind/protobuf.cc @@ -26,7 +26,7 @@ limitations under the License. */ #include "paddle/fluid/framework/var_desc.h" #include "paddle/fluid/framework/version.h" #include "paddle/fluid/jit/property.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" namespace py = pybind11; diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index cf94fc57fce60a8c12394f92c2eceb2c38f01764..df5b2c27122d9aff20844bb58417b6d7e8703985 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -115,7 +115,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL) diff --git a/paddle/fluid/pybind/pybind_boost_headers.h b/paddle/fluid/pybind/pybind_variant_caster.h similarity index 100% rename from paddle/fluid/pybind/pybind_boost_headers.h rename to paddle/fluid/pybind/pybind_variant_caster.h diff --git a/paddle/fluid/pybind/tensor.cc b/paddle/fluid/pybind/tensor.cc index 6ee72e0c1630b74ccd4008846568256da91cce7a..660d9badc302a5d9d9e8b327315ca3e6cbbe5683 100644 --- a/paddle/fluid/pybind/tensor.cc +++ b/paddle/fluid/pybind/tensor.cc @@ -114,7 +114,7 @@ limitations under the License. */ #include "paddle/fluid/pybind/ir.h" #include "paddle/fluid/pybind/metrics_py.h" #include "paddle/fluid/pybind/ps_gpu_wrapper_py.h" -#include "paddle/fluid/pybind/pybind_boost_headers.h" +#include "paddle/fluid/pybind/pybind_variant_caster.h" #include "paddle/phi/backends/device_manager.h" #if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL)