1. 16 8月, 2023 4 次提交
    • C
      Rename desctensor (#56334) · 6a42ddc6
      Charles-hit 提交于
      * add flags for cinn test
      
      * rename DescTensor
      
      * remove useless code
      
      * modify code style
      
      * modify code style
      
      * modify code style
      6a42ddc6
    • L
      [NewIR] support c_broadcast (#56284) · a8981be0
      Leo Chen 提交于
      * [NewIR] support c_broadcast
      
      * add legacyOpList
      a8981be0
    • C
      [PRIM][IR]support add vjp (#56163) · 84482da8
      Charles-hit 提交于
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * add vjp interface
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * add eager and static backend for warp lower level api
      
      * support call_vjp pybind
      
      * polish code and add test for vjp
      
      * remove useless code
      
      * polish code
      
      * remove useless code
      
      * support mean vjp
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add primitive ops set for backend
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * remove useless deps
      
      * add cmake
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * support add and add_inplace vjp
      
      * remove useless code
      
      * remove useless code
      
      * remove cout
      
      * remove cout
      
      * fix add_grad
      
      * fix add test exe
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      84482da8
    • H
      [NewIR]New ir support c concat (#56243) · fcde3991
      hong 提交于
      * support new ir load combine
      
      * update
      
      * polish code
      
      * remove print
      
      * support c concat
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish code
      
      * fix compile bug
      
      * polish code
      
      * remove useless code
      fcde3991
  2. 15 8月, 2023 3 次提交
  3. 14 8月, 2023 1 次提交
  4. 11 8月, 2023 5 次提交
    • B
      add indextype (#56112) · 34e90574
      Bo Zhang 提交于
      IR 的 builtin dialect 中加入 IndexType
      34e90574
    • Y
      [NewIR]Polish IR code (#56087) · 8cf4b1c2
      YuanRisheng 提交于
      * perfect code
      
      * delete __all__
      8cf4b1c2
    • C
      [PRIM][IR]fix comment for vjp (#56137) · 533b62ff
      Charles-hit 提交于
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * add vjp interface
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * add eager and static backend for warp lower level api
      
      * support call_vjp pybind
      
      * polish code and add test for vjp
      
      * remove useless code
      
      * polish code
      
      * remove useless code
      
      * support mean vjp
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add primitive ops set for backend
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * remove useless deps
      
      * add cmake
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * remove useless code
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      533b62ff
    • X
      【New IR] delete print program in test and delete add_n attribute c++ interface... · eadc5d07
      xiaoguoguo626807 提交于
      【New IR] delete print program in test and delete add_n attribute c++ interface to reply #56080 (#56120)
      
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * fix conflicts
      
      * pseudocode of backward
      
      * modify test
      
      * modify register op
      
      * clear other code
      
      * modify ci build bug
      
      * reply review comments
      
      * reply review comments
      
      * delete print and add_n c++ interface
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      eadc5d07
    • C
      c00320c5
  5. 09 8月, 2023 2 次提交
  6. 08 8月, 2023 1 次提交
    • C
      [PRIM][IR] Migrate vjp rules to new ir in non primitive mode (#55647) · 501a51fc
      Charles-hit 提交于
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * add vjp interface
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * [prim][newir] add basic framework for primitive
      
      * support desctensor in new ir
      
      * support vjp in new ir
      
      * support vjp in new ir
      
      * polish vjp interface
      
      * fix stop_gradients set
      
      * fix vjp dispatch
      
      * add comment
      
      * add vjp test for new ir
      
      * add test for tanh vjp
      
      * add eager and static backend for warp lower level api
      
      * support call_vjp pybind
      
      * polish code and add test for vjp
      
      * remove useless code
      
      * polish code
      
      * remove useless code
      
      * support mean vjp
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add primitive ops set for backend
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * remove useless deps
      
      * add cmake
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      501a51fc
  7. 07 8月, 2023 2 次提交
  8. 02 8月, 2023 1 次提交
  9. 01 8月, 2023 3 次提交
  10. 31 7月, 2023 2 次提交
  11. 28 7月, 2023 1 次提交
    • H
      New ir support fluid op (#55693) · b76c2f94
      hong 提交于
      * new ir support save combine
      
      * update
      
      * polish code
      
      * update
      
      * new ir support fluid op
      
      * remove depulicate op
      
      * fix ir exe test compile error
      
      * fix compile bug
      
      * update
      
      * code format
      
      * update
      
      * update
      
      * polish code
      b76c2f94
  12. 26 7月, 2023 1 次提交
  13. 24 7月, 2023 1 次提交
  14. 20 7月, 2023 1 次提交
    • H
      [NewIR]Change feed list to variable list && support GPU (#55401) · 75517841
      hong 提交于
      * add feed with place op
      
      * remove useless unitest
      
      * udpate mkldnn
      
      * update
      
      * new ir support builtin slice op
      
      * fix phi kernel adaptor bug
      
      * add enable_static
      
      * remove useless test case
      
      * change feed list to single variable
      
      * support gpu
      
      * fix bug
      
      * remove template
      
      * add more data type
      
      * fix cimpile bug
      75517841
  15. 18 7月, 2023 2 次提交
  16. 17 7月, 2023 2 次提交
  17. 14 7月, 2023 2 次提交
  18. 12 7月, 2023 1 次提交
    • H
      Support selected rows new ir (#54987) · fc66b5d7
      hong 提交于
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * update
      
      * support selected rows
      
      * update
      
      * add selectrows
      
      * fix bug
      
      * add ut
      
      * refine code
      
      * refien code
      
      * update
      
      * update
      
      * support selected rows
      
      * support selected rows
      
      * support dense tensor
      
      * remove useless code
      
      * polish code
      
      * remote standalone executor test
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      fc66b5d7
  19. 11 7月, 2023 1 次提交
  20. 10 7月, 2023 1 次提交
  21. 06 7月, 2023 2 次提交
  22. 03 7月, 2023 1 次提交