-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
25 changed files
with
3,420 additions
and
2,663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 2 additions & 15 deletions
17
paddle/fluid/eager/api/manual/eager_manual/forwards/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
cc_library( | ||
add_n_fwd_func | ||
SRCS add_n_fwd_func.cc | ||
DEPS ${eager_deps} ${fluid_deps} ${GLOB_OP_LIB} ${GLOB_OPERATOR_DEPS}) | ||
|
||
add_dependencies(add_n_fwd_func eager_codegen) | ||
|
||
cc_library( | ||
conv2d_fwd_function | ||
SRCS conv2d_fwd_function.cc | ||
DEPS ${eager_deps} ${fluid_deps} ${GLOB_OP_LIB} ${GLOB_OPERATOR_DEPS}) | ||
|
||
add_dependencies(conv2d_fwd_function eager_codegen) | ||
|
||
set(eager_manual_functions | ||
conv2d_fwd_function add_n_fwd_func | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/eager_manual/forwards/add_n_fwd_func.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/eager_manual/forwards/conv2d_fwd_function.cc | ||
PARENT_SCOPE) |
13 changes: 2 additions & 11 deletions
13
paddle/fluid/eager/api/manual/eager_manual/nodes/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
cc_library( | ||
add_n_node | ||
SRCS add_n_node.cc | ||
DEPS ${eager_deps} ${fluid_deps}) | ||
|
||
cc_library( | ||
conv2d_nodes | ||
SRCS conv2d_nodes.cc | ||
DEPS ${eager_deps} ${fluid_deps}) | ||
|
||
set(eager_manual_nodes | ||
conv2d_nodes add_n_node | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/eager_manual/nodes/conv2d_nodes.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/eager_manual/nodes/add_n_node.cc | ||
PARENT_SCOPE) |
29 changes: 3 additions & 26 deletions
29
paddle/fluid/eager/api/manual/fluid_manual/forwards/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,5 @@ | ||
cc_library( | ||
fused_gate_attention_fwd_func | ||
SRCS fused_gate_attention_fwd_func.cc | ||
DEPS ${eager_deps} ${fluid_deps} ${GLOB_OP_LIB} ${GLOB_OPERATOR_DEPS}) | ||
|
||
add_dependencies(fused_gate_attention_fwd_func eager_codegen | ||
copy_dygraph_forward_functions) | ||
|
||
cc_library( | ||
fused_feedforward_fwd_func | ||
SRCS fused_feedforward_fwd_func.cc | ||
DEPS ${eager_deps} ${fluid_deps} ${GLOB_OP_LIB} ${GLOB_OPERATOR_DEPS}) | ||
|
||
add_dependencies(fused_feedforward_fwd_func eager_codegen | ||
copy_dygraph_forward_functions) | ||
|
||
cc_library( | ||
fused_attention_fwd_func | ||
SRCS fused_attention_fwd_func.cc | ||
DEPS ${eager_deps} ${fluid_deps} ${GLOB_OP_LIB} ${GLOB_OPERATOR_DEPS}) | ||
|
||
add_dependencies(fused_attention_fwd_func eager_codegen | ||
copy_dygraph_forward_functions) | ||
|
||
set(fluid_manual_functions | ||
fused_gate_attention_fwd_func fused_feedforward_fwd_func | ||
fused_attention_fwd_func | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/forwards/fused_gate_attention_fwd_func.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/forwards/fused_feedforward_fwd_func.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/forwards/fused_attention_fwd_func.cc | ||
PARENT_SCOPE) |
19 changes: 3 additions & 16 deletions
19
paddle/fluid/eager/api/manual/fluid_manual/nodes/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
cc_library( | ||
fused_gate_attention_node | ||
SRCS fused_gate_attention_node.cc | ||
DEPS ${eager_deps} ${fluid_deps}) | ||
|
||
cc_library( | ||
fused_feedforward_node | ||
SRCS fused_feedforward_node.cc | ||
DEPS ${eager_deps} ${fluid_deps}) | ||
|
||
cc_library( | ||
fused_attention_node | ||
SRCS fused_attention_node.cc | ||
DEPS ${eager_deps} ${fluid_deps}) | ||
|
||
set(fluid_manual_nodes | ||
fused_gate_attention_node fused_feedforward_node fused_attention_node | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/nodes/fused_gate_attention_node.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/nodes/fused_feedforward_node.cc | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/manual/fluid_manual/nodes/fused_attention_node.cc | ||
PARENT_SCOPE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ nv_library( | |
nv_test( | ||
cudnn_helper_test | ||
SRCS cudnn_helper_test.cc | ||
DEPS dynload_cuda phi) | ||
DEPS dynload_cuda) |
Oops, something went wrong.