forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pir] [run program op] Ir run program node prune (PaddlePaddle#57566)
* support build model in python * fix ci bugs * fix ci bugs * fix compile bugs * fix ci bugs * add infermeta for data * fix ci bugs * fix ci bugs * fix ci bugs * fix bugs when run ir program mutiple times * perfect code * frontend demo debugging * support program split and go into run program node. * simple run the dy2static test in newir_api mode. * remove frame.proto changes * merge * fix ir-run-program-node * fix some code * fix output error * fix some errors * fix * fix * fix * fix conflict * fix files * fix some errors * support backward inputs prune * support new ir prune in run_program_ad_func * fix conflict * tmp commit * support backward of run program node in nn.Layer * fix unittest problem * filter inputs and outputs * fix grad changes * fix error when merge * fix * success run gpt forward and backward. * consider no need buffer to reduce gpu memory usage * merge * fix concat case.py * fix concat op * fix * fix * fix mac compile problem * fix compile error --------- Co-authored-by: YuanRisheng <[email protected]>
- Loading branch information
1 parent
522bc3a
commit f025068
Showing
16 changed files
with
517 additions
and
191 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
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 |
---|---|---|
|
@@ -1027,6 +1027,7 @@ void ConstructAttrMapForRunProgram( | |
"fm", | ||
"fo", | ||
"bx", | ||
"no_need_buffers", | ||
"bp", | ||
"bm", | ||
"bo_g", | ||
|
Oops, something went wrong.