diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index f93e9b6de922132df5ea2ebd6ee6b84e460cae45..c7561bc2fd40c43183b547a3ba0402b6a7f4ae4c 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -331,8 +331,9 @@ bool SupportsVNNI() { bool IsCompiledWithBrpc() { #ifndef PADDLE_WITH_DISTRIBUTE return false; -#endif +#else return true; +#endif } bool IsCompiledWithDIST() {