File tree 2 files changed +5
-3
lines changed
paddle/fluid/distributed/fleet_executor
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if(NOT WITH_CINN)
17
17
endif ()
18
18
19
19
if (NOT CINN_GIT_TAG)
20
- # 2023.01.12 commit
20
+ # 2023.01.28 commit
21
21
set (CINN_GIT_TAG 04cbe3ca3cd17a8267a229ce7ab8d8b8b63c7f4e)
22
22
endif ()
23
23
@@ -40,7 +40,10 @@ set(CINN_OPTIONAL_ARGS
40
40
-DWITH_MKL_CBLAS=${WITH_MKL}
41
41
-DWITH_MKLDNN=${WITH_MKL}
42
42
-DPUBLISH_LIBS=ON
43
- -DWITH_TESTING=ON )
43
+ -DWITH_TESTING=ON
44
+ -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
45
+ -DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR}
46
+ -DPYTHON_LIBRARIES=${PYTHON_LIBRARIES} )
44
47
set (CINN_BUILD_COMMAND ${CMAKE_COMMAND} --build . --target cinnapi -j)
45
48
set (CINN_BINARY_DIR ${CINN_PREFIX_DIR} /src/external_cinn-build )
46
49
set (CINN_LIB_NAME "libcinnapi.so" )
Original file line number Diff line number Diff line change @@ -442,7 +442,6 @@ bool DistModel::PrepareFleetExe() {
442
442
} else {
443
443
rank_info->set_ip_port (config_.trainer_endpoints [i]);
444
444
}
445
- rank_info->set_ip_port (config_.trainer_endpoints [i]);
446
445
id_to_rank.insert ({i, i});
447
446
}
448
447
fleet_exe.reset (new FleetExecutor (executor_desc_));
You can’t perform that action at this time.
0 commit comments