1. 11 8月, 2023 1 次提交
  2. 09 8月, 2023 1 次提交
  3. 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
  4. 18 7月, 2023 1 次提交
  5. 11 7月, 2023 1 次提交
  6. 10 7月, 2023 1 次提交
  7. 06 7月, 2023 1 次提交
  8. 03 7月, 2023 1 次提交
  9. 30 6月, 2023 1 次提交
  10. 29 6月, 2023 2 次提交
  11. 28 6月, 2023 2 次提交
  12. 27 6月, 2023 1 次提交
  13. 22 6月, 2023 1 次提交
  14. 20 6月, 2023 1 次提交
    • Z
      [IR] Change IR from Static library to dynamic library (#54729) · 24a3cb52
      zhangbo9674 提交于
      * new_ir to shared
      
      * refine code
      
      * add ir lib path to env
      
      * refine type
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * close win
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add win share
      
      * refine code
      
      * refie code
      
      * refine code
      
      * refine code
      
      * refien code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * solve conflict
      
      * solve conflict
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * fix interpretercore program bug
      
      * delete unuse code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix cinn bug
      
      * fix cinn bug
      
      * debug
      
      * fix cinn bug
      
      * delete unused code
      
      * fix cinn bug
      
      * fix cinn bug
      
      * fix  ug
      
      * test win openblas
      
      * test win openblas
      
      * fix win openblas bug
      
      * polish code
      
      * fix win open blas bug
      
      * close win dll
      
      * fix flag bug
      
      * test for windows
      
      * fix compile bug
      24a3cb52
  15. 14 6月, 2023 1 次提交
  16. 13 6月, 2023 2 次提交
  17. 12 6月, 2023 2 次提交
  18. 09 6月, 2023 1 次提交
    • Z
      [IR] Refine IR builder and throw methods (#54396) · 3a452e4e
      zhangbo9674 提交于
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * delete unused code
      
      * delete unused code
      
      * refine code
      3a452e4e
  19. 08 6月, 2023 1 次提交
    • K
      [IR] IR attribute printer and support mutable attribute (#54369) · 51ca74bb
      kangguangli 提交于
      * add vector type support for program translator
      
      * polish
      
      * support basic attribute type
      
      * resolve conflicts
      
      * add verify for combine/slice and unittests
      
      * polish
      
      * support more type in attribute translator
      
      * modify by reviews
      
      * fix merge mistakes
      
      * refine code
      
      * refine code
      
      * add interface
      
      * fix: op name normalization
      
      * fix typo
      
      * refactor input translator
      
      * fix merge conflicts
      
      * fix op normalizer bug
      
      * refactor attribute translator
      
      * fix bug
      
      * refactor output translator
      
      * fix typo
      
      * fix
      
      * fix approval error
      
      * fix coverage
      
      * fix op_compat parser
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * refactor scalar attribute
      
      * draft
      
      * fix
      
      * fix op build
      
      * fix op build
      
      * temporarily save
      
      * adpat mutable attribute
      
      * refine op_comat_gen process
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * fix merge conflicts
      
      * complete dialect attribute printer and refine ir_throw
      
      * polish code
      
      ---------
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      51ca74bb
  20. 07 6月, 2023 1 次提交
  21. 06 6月, 2023 1 次提交
  22. 05 6月, 2023 2 次提交
  23. 02 6月, 2023 1 次提交
  24. 01 6月, 2023 2 次提交
  25. 30 5月, 2023 1 次提交
  26. 29 5月, 2023 1 次提交
  27. 23 5月, 2023 1 次提交
    • Z
      [IR] Add op definition auto code generator (#54026) · b49a7e26
      zhangbo9674 提交于
      * Use copy_if_different to avoid recompilation of generated cutlass
      kernels.
      
      * add program parameter dialect_interface
      
      * fix op create bug
      
      * add conv2d
      
      * draft of paddle converter
      
      * fix CI
      
      * fix windows CI
      
      * fix program destructor
      
      * printer draft
      
      * fix bug
      
      * printer draft finish
      
      * fix windows CI
      
      * reserve inplace semantics
      
      * revert program::destroy since no need to do topology sort
      
      * revert
      
      * modify by reviews
      
      * commit printer and resnet50 related ops
      
      * fix
      
      * fix
      
      * fix op definition
      
      * refine op dyn_cast
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add code gen
      
      * refine code
      
      * refine code
      
      * refine code
      
      ---------
      Co-authored-by: Numiswing <umiswing@foxmail.com>
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      b49a7e26