Skip to content

Commit

Permalink
【Hackathon 6th Fundable Projects 4 No.5】remove parallel executor in r…
Browse files Browse the repository at this point in the history
…un_program op -part (#64818)

* test rm pe in run_program op

* fix ci

* fix PR-CI-Windows-Inference

* rm pe executor cache

* fix compile bug

* fix codestyle

* remove useless code

* test ci

* remove parallel executor

* test rm ssa_graph_executor

* remove ssa_graph_executor
  • Loading branch information
ccsuzzh authored Jun 11, 2024
1 parent 62582e0 commit 01acc12
Show file tree
Hide file tree
Showing 36 changed files with 34 additions and 5,688 deletions.
20 changes: 11 additions & 9 deletions paddle/fluid/framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -882,21 +882,22 @@ target_link_libraries(
conditional_block_op_helper
pylayer_op_helper)

cc_library(
parallel_executor
SRCS parallel_executor.cc
DEPS ssa_graph_executor graph build_strategy collective_helper
variable_helper)

cc_library(
compiled_program
SRCS compiled_program.cc
DEPS graph build_strategy)
DEPS graph
build_strategy
reference_count_pass
eager_deletion_pass
buffer_shared_inplace_op_pass
buffer_shared_cross_op_memory_reuse_pass
inplace_addto_op_pass
set_reader_device_info_utils)

cc_library(
executor_cache
SRCS executor_cache.cc
DEPS parallel_executor pir_transforms pir)
DEPS pir_transforms pir)
cc_library(
prune
SRCS prune.cc
Expand Down Expand Up @@ -962,7 +963,8 @@ cc_library(
phi
common
imperative_flag
layer)
layer
op_dialect_vjp)

cc_library(
type_info
Expand Down
36 changes: 0 additions & 36 deletions paddle/fluid/framework/details/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ if(WITH_PSCORE)
endif()
set_source_files_properties(
reduce_op_handle.cc PROPERTIES COMPILE_FLAGS ${DISTRIBUTE_COMPILE_FLAGS})
set_source_files_properties(
threaded_ssa_graph_executor.cc PROPERTIES COMPILE_FLAGS
${DISTRIBUTE_COMPILE_FLAGS})
set_source_files_properties(
async_ssa_graph_executor.cc PROPERTIES COMPILE_FLAGS
${DISTRIBUTE_COMPILE_FLAGS})
endif()

set(op_handle_srcs
Expand Down Expand Up @@ -81,36 +75,6 @@ endif()

add_dependencies(detail_op_handle framework_proto auto_parallel_proto xxhash)

set(ssa_graph_executor_srcs
ssa_graph_executor.cc
threaded_ssa_graph_executor.cc
parallel_ssa_graph_executor.cc
async_ssa_graph_executor.cc
bind_threaded_ssa_graph_executor.cc
fast_threaded_ssa_graph_executor.cc
scope_buffered_ssa_graph_executor.cc
scope_buffered_monitor.cc)
set(SSA_GRAPH_EXECUTOR_DEPS
graph
framework_proto
detail_op_handle
reference_count_pass
eager_deletion_pass
buffer_shared_inplace_op_pass
buffer_shared_cross_op_memory_reuse_pass
inplace_addto_op_pass
set_reader_device_info_utils
scope
simple_threadpool
device_context
profiler
selected_rows_utils)

cc_library(
ssa_graph_executor
SRCS ${ssa_graph_executor_srcs}
DEPS ${SSA_GRAPH_EXECUTOR_DEPS})

set(IR_PASS_DEPS
graph_viz_pass
multi_devices_graph_pass
Expand Down
208 changes: 0 additions & 208 deletions paddle/fluid/framework/details/async_ssa_graph_executor.cc

This file was deleted.

68 changes: 0 additions & 68 deletions paddle/fluid/framework/details/async_ssa_graph_executor.h

This file was deleted.

Loading

0 comments on commit 01acc12

Please sign in to comment.