1. 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
  2. 02 8月, 2023 1 次提交
  3. 18 7月, 2023 1 次提交
  4. 17 7月, 2023 2 次提交
  5. 14 7月, 2023 1 次提交
    • Z
      [IR] Reconstruct the Instruction for NewIrInterpreter (#55239) · 69e9f03e
      zhangbo9674 提交于
      * add inplace interface
      
      * support inplace
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refien code
      
      * add file
      
      * add interface
      
      * refine code
      
      * refine code
      
      * add phi kernel instruction
      
      * refine code
      
      * add test
      
      * delete unuse code
      
      * add test
      
      * add test
      
      * add deps
      
      * delete unused code
      
      * fix bug
      
      * fix bug
      69e9f03e
  6. 11 7月, 2023 1 次提交
  7. 10 7月, 2023 1 次提交
  8. 06 7月, 2023 2 次提交
  9. 03 7月, 2023 1 次提交
  10. 30 6月, 2023 1 次提交
  11. 29 6月, 2023 1 次提交
    • Z
      [IR] Refine PhiKernelOp attributes name and delete some unused code2 (#54944) · a7419ff5
      zhangbo9674 提交于
      * refine code
      
      * add some interface for phi kernel op
      
      * fix compile bug
      
      * delete unused code
      
      * support code
      
      * fix bug
      
      * refine code
      
      * delete unused code
      
      * fix compile bug
      
      * fix compile bug
      
      * delete unused code
      
      * add elementwise add op
      
      * fix compile bug
      
      * refine code
      
      * fix compile bug
      
      * add ut for attribute member function
      
      * delete unused code
      
      * refine ut
      a7419ff5