-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[PRIM][IR]support add vjp #56163
Merged
Charles-hit
merged 63 commits into
PaddlePaddle:develop
from
Charles-hit:support_add_vjp
Aug 16, 2023
Merged
[PRIM][IR]support add vjp #56163
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
f630e33
[prim][newir] add basic framework for primitive
cxxly c8bd625
support desctensor in new ir
Charles-hit 5612359
add vjp interface
zhangbo9674 4d8079f
Merge commit 'refs/pull/55660/head' of https://github.com/PaddlePaddl…
Charles-hit fe5605b
support vjp in new ir
Charles-hit f9389ec
support vjp in new ir
Charles-hit 67cf1fc
polish vjp interface
Charles-hit 35f867b
fix stop_gradients set
Charles-hit 5fe88d5
resolve conflict
Charles-hit 703c168
fix vjp dispatch
Charles-hit 0738201
add comment
Charles-hit d49d38a
add vjp test for new ir
Charles-hit a9e9d01
add test for tanh vjp
Charles-hit 4df18b5
[prim][newir] add basic framework for primitive
cxxly 5a65b50
support desctensor in new ir
Charles-hit 5a3710a
support vjp in new ir
Charles-hit c035675
support vjp in new ir
Charles-hit a9b8240
polish vjp interface
Charles-hit 901352c
fix stop_gradients set
Charles-hit de4ac55
fix vjp dispatch
Charles-hit f3da449
add comment
Charles-hit 84b92dd
add vjp test for new ir
Charles-hit 690a0b9
add test for tanh vjp
Charles-hit 4ee2d44
add eager and static backend for warp lower level api
cxxly 866dc2c
support call_vjp pybind
Charles-hit 0d3d7d6
support call_vjp pybind
Charles-hit dc3e7be
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit b4579f2
polish code and add test for vjp
Charles-hit be05029
remove useless code
Charles-hit 619bcd0
polish code
Charles-hit e57d1f0
remove useless code
Charles-hit ac8b2a6
support mean vjp
Charles-hit 5612b2f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit afcb454
add test for mean vjp and support has_vjp function
Charles-hit 40d7ab0
fix call_vjp
Charles-hit d9a78f6
polish code
Charles-hit ed442ff
add primitive ops set for backend
Charles-hit 95efe5e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit f802b36
add vjp test for tanh_
Charles-hit 820b313
fix inference CI
Charles-hit 4f320f0
fix inference ci
Charles-hit fe1b035
modify fluid cmake
Charles-hit 587bea0
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit c155302
remove useless deps
Charles-hit d4f37b2
add cmake
Charles-hit bde35c0
fix comment
Charles-hit aaa32d9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit d06b608
fix test
Charles-hit cd562f0
polish code
Charles-hit f9bca3c
modify backward stop_gradients
Charles-hit 7ba60cc
modify static_backend.cc
Charles-hit 87adbb4
Merge commit 'refs/pull/56137/head' of https://github.com/PaddlePaddl…
Charles-hit 0a1ff71
support add and add_inplace vjp
Charles-hit 096db4e
remove useless code
Charles-hit f07fd0f
remove useless code
Charles-hit bc5a8e8
Merge commit 'refs/pull/56137/head' of https://github.com/PaddlePaddl…
Charles-hit 05842d0
remove cout
Charles-hit 30add70
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit c176eef
remove cout
Charles-hit 19e3fcf
fix add_grad
Charles-hit 05be317
fix add test exe
Charles-hit 3f8531d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit f5141b9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
Charles-hit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
自动代码生成时展开为两层循环,以确保输出两层都遍历到
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
代码生成的时候根据算子来决定即可