1. 08 8月, 2023 2 次提交
    • 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
  2. 07 8月, 2023 1 次提交
  3. 03 8月, 2023 1 次提交
  4. 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
  5. 31 7月, 2023 1 次提交
  6. 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
  7. 27 7月, 2023 1 次提交
  8. 26 7月, 2023 1 次提交
  9. 25 7月, 2023 1 次提交
  10. 19 7月, 2023 1 次提交
  11. 17 7月, 2023 1 次提交
  12. 12 7月, 2023 1 次提交
  13. 11 7月, 2023 2 次提交
  14. 10 7月, 2023 3 次提交
  15. 07 7月, 2023 1 次提交
  16. 03 7月, 2023 2 次提交
  17. 02 7月, 2023 2 次提交
  18. 30 6月, 2023 3 次提交
  19. 29 6月, 2023 4 次提交
    • H
      Refactor build attribute (#54968) · eef38db1
      hong 提交于
      * update
      
      * refactor build context
      
      * fix bug
      
      * polish code
      
      * change func name
      eef38db1
    • 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
    • W
      [IR] add type&attribtue api for builder. (#54965) · f239d7d1
      winter-wang 提交于
      f239d7d1
    • H
      Refactor op info parser (#54859) · f18d538b
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      
      * add first pd_op to kernel dialect
      
      * lower pd op to kernel dialect
      
      * update
      
      * update
      
      * remove useless code
      
      * add attrite print test
      
      * fix bug
      
      * update
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish  code  and add python test
      
      * add test
      
      * fix test error
      
      * add env flag
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * fix build_static bug
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * update
      
      * update
      
      * fix bug
      
      * split file
      
      * fix conflict
      
      * polish code and fix conflict
      
      * support place transformer
      
      * finish bug
      
      * add gpu flags
      
      * fix with cuda macro
      
      * add fetch kernel
      
      * support fetch var in new ir
      
      * fix bug
      
      * polish code
      
      * change array equal to np.testing
      
      * support feed in new ir
      
      * update
      
      * fix bug
      
      * try to hack combine op
      
      * add scope guard
      
      * revert atan2 op
      
      * add scope guard
      
      * update
      
      * polish code
      
      * update
      
      * refactor build kernel context
      
      * fix unitest bug
      
      * polish code
      
      * use original order
      
      * remove useless code
      
      * polish code
      
      * fix bug
      f18d538b
  20. 28 6月, 2023 5 次提交
  21. 27 6月, 2023 2 次提交
  22. 26 6月, 2023 2 次提交