-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjusted CMakeFiles to support compilation for final state auto gener…
…ated codes (#39215) * Removed debug info * Added automatic code generation for final state Eager Dygraph * Modified backward yaml * Added EagerUtils helper functions for final state CodeGen * Adjusted CMakeFiles to support compilation for final state auto generated codes * Fixed final state eager codegen * Fixed CI problems * Fixed yaml.load() method failure * Turned final state codegen off for now * Fixed minor issue
- Loading branch information
1 parent
76103c8
commit 09198b0
Showing
7 changed files
with
215 additions
and
71 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
paddle/fluid/eager/api/generated/eager_generated/backwards/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 +1,3 @@ | ||
cc_library(scale_node SRCS scale_node.cc DEPS global_utils pten pten_api grad_node_info) | ||
#cc_library(final_dygraph_node SRCS nodes.cc DEPS ${eager_deps}) | ||
#add_dependencies(final_dygraph_node eager_final_state_codegen) |
2 changes: 2 additions & 0 deletions
2
paddle/fluid/eager/api/generated/eager_generated/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 +1,3 @@ | ||
cc_library(eager_scale SRCS scale.cc DEPS pten_api pten autograd_meta scale_node) | ||
#cc_library(final_dygraph_function SRCS dygraph_functions.cc DEPS ${eager_deps}) | ||
#add_dependencies(final_dygraph_function eager_final_state_codegen) |
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
175 changes: 111 additions & 64 deletions
175
paddle/fluid/eager/auto_code_generator/final_state_generator/eager_gen.py
Large diffs are not rendered by default.
Oops, something went wrong.
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