Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed LD_LIBRARY_PATH for eager_code_generator #38160

Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cf37296
Rearranged Eager AutoCodeGen directory structure
jim19930609 Dec 3, 2021
9e0e12b
Removed USE_OP in Eager AutoCodeGen
jim19930609 Dec 3, 2021
2ee135d
Enabled generation for Operators without Grad/Inputs/Outputs
jim19930609 Dec 3, 2021
9bc9793
Merge branch 'develop' into eager_dygraph_codegen_debug
jim19930609 Dec 3, 2021
e9fa346
Resolved operators without input
jim19930609 Dec 3, 2021
e25c061
Fixed merge conflicts
jim19930609 Dec 6, 2021
6988b24
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 6, 2021
7a6fd5f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 6, 2021
d19cd85
Enabled Eager AutoCodeGen for 10+ more operators
jim19930609 Dec 7, 2021
d41a473
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 7, 2021
577a658
Refactored Eager AutoCodeGen with more organized helper objects
jim19930609 Dec 7, 2021
a4b7987
Enabled Eager AutoCodeGen for operators with multiple OpBases
jim19930609 Dec 8, 2021
57b53b2
Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input A…
jim19930609 Dec 8, 2021
2321d49
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 8, 2021
30ab71e
Handled Dispensable Inputs/Outputs in Eager AutoCodeGen
jim19930609 Dec 8, 2021
8ae7ab7
Enabled Eager AutoCodeGen for All Existing Operators & Possible Futur…
jim19930609 Dec 8, 2021
60f9108
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 9, 2021
5f4a332
Merge branch 'eager_dygraph_codegen_dispensable' of https://github.co…
jim19930609 Dec 9, 2021
5d15ccb
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
jim19930609 Dec 15, 2021
f03116d
Fixed CI issues
jim19930609 Dec 15, 2021
5da5369
Fixed LD_LIBRARY_PATH for eager_code_generator
jim19930609 Dec 15, 2021
f23cfd6
Merge branch 'develop' into eager_dygraph_codege_fix_ld_path
jim19930609 Dec 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion paddle/fluid/eager/auto_code_generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ if(WIN32)
VERBATIM)
else()
add_custom_target(eager_codegen
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/eager_generator" "${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/generated/fluid_generated"
COMMAND ${CMAKE_COMMAND} -E env "LD_LIBRARY_PATH=$ENV{LD_LIBRARY_PATH}:${CMAKE_CURRENT_BINARY_DIR}/../../pybind"
"${CMAKE_CURRENT_BINARY_DIR}/eager_generator"
"${PADDLE_SOURCE_DIR}/paddle/fluid/eager/api/generated/fluid_generated"
DEPENDS eager_generator
VERBATIM)
endif()