1. 16 8月, 2023 6 次提交
    • 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
    • H
      [NewIR]New ir support vector type place transfer (#56328) · 2a378ff5
      hong 提交于
      * fix op translator reshape type
      
      * new ir support vector type place transfer
      
      * add test case
      2a378ff5
    • L
      [NewIR] support c_broadcast (#56284) · a8981be0
      Leo Chen 提交于
      * [NewIR] support c_broadcast
      
      * add legacyOpList
      a8981be0
    • W
      [IR] fix assert op pd to kernel pass bug (#56314) · 58708a00
      wanghuancoder 提交于
      * fix assert op pd to kernel pass bug
      
      * refine
      
      * refine
      58708a00
    • 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 6 次提交
    • 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
    • Z
      [IR] Fix dialect lower bug (#56130) · 0c7fdda9
      zhangbo9674 提交于
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * fix bug
      0c7fdda9
    • C
      c00320c5
  5. 09 8月, 2023 2 次提交
  6. 08 8月, 2023 3 次提交
    • H
      New ir support legacy kernel instruction (#55880) · f9c2f4ca
      hong 提交于
      * new ir remove fetch list
      
      * fix pattern rewrite bug
      
      * try to remove constant fold
      
      * revert code
      
      * add pattern rewrite test flag
      
      * fix multi fetch
      
      * remove usless code
      
      * new ir support legacy kernel instraction
      
      * new ir support legacy kernel instruction
      
      * add scope prefix
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix
      
      * revert channel shuffl test
      
      * polish code
      
      * try to fix windows compile error
      
      * polish code
      
      * update
      
      * update
      
      * revert op test
      f9c2f4ca
    • 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
    • Z
      refine code (#56020) · 611e71d0
      zhangbo9674 提交于
      611e71d0
  7. 07 8月, 2023 3 次提交
  8. 05 8月, 2023 1 次提交
  9. 04 8月, 2023 3 次提交
  10. 03 8月, 2023 1 次提交
  11. 02 8月, 2023 2 次提交
    • Z
      [IR] NewIr Interpreter Beta run regular (#55828) · 63b7fc80
      zhangbo9674 提交于
      * add interface
      
      * add code
      
      * add code
      
      * add code
      
      * add code
      
      * fix bug
      
      * fix bug
      
      * add var prefix
      
      * add code
      
      * add code
      
      * add code
      
      * fix compile bug
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * fix bug
      
      * add code
      
      * add code
      
      * fix bug
      
      * add code
      
      * add code
      
      * refine code
      
      * refine code
      
      * fix bug
      
      * add code
      
      * fix bug in phi__kernel_utils
      
      * refine code
      
      * fix bug
      
      * open flag
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * fix bug
      63b7fc80
    • X
      【new ir】add ir pybind api (#55745) · ef29468e
      xiaoguoguo626807 提交于
      * add ir core
      
      * add test
      
      * modify name
      
      * merge
      
      * add test for __eq__
      
      * shield  test for __eq__
      
      * --amend
      
      * Update new_ir_compiler.cc
      ef29468e
  12. 01 8月, 2023 4 次提交
  13. 31 7月, 2023 3 次提交
  14. 30 7月, 2023 1 次提交
  15. 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