Skip to content

Commit b672291

Browse files
committed
Change to PYBIND11_MODULE because the deprecation of PYBIND11_PLUGIN
test=develop
1 parent 81994e8 commit b672291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/pybind/pybind.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ bool IsCompiledWithDIST() {
8686
#endif
8787
}
8888

89-
PYBIND11_PLUGIN(core) {
89+
PYBIND11_MODULE(core) {
9090
// Not used, just make sure cpu_info.cc is linked.
9191
paddle::platform::CpuTotalPhysicalMemory();
9292

0 commit comments

Comments
 (0)