1. 06 9月, 2023 1 次提交
  2. 04 9月, 2023 1 次提交
    • Z
      [IR] Support inplace pass (#56672) · 67c84c45
      zhangbo9674 提交于
      * add code
      
      * add code
      
      * refine code
      
      * add code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * add code
      
      * add ut
      
      * polish code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * refine code
      
      * add code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      67c84c45
  3. 01 9月, 2023 1 次提交
  4. 28 8月, 2023 1 次提交
    • X
      [NewIR]Split python api and vjp (#56518) · 7995a389
      xiaoguoguo626807 提交于
      * support ir api form prim
      
      * convert vector of int to intarray
      
      * add reference of lbfgs
      
      * add reference of lbfgs
      
      * support ir api for prim
      
      * Add more gen api
      
      * concat python api to concat_grad
      
      * fix gen conflict
      
      * support vjp prim mode in new ir
      
      * remove useless code
      
      * add vjp autogen v1.0
      
      * add test for prim
      
      * resolve type conflict
      
      * modify utils
      
      * remove useless code
      
      * add split op and modify some bug of vectorType
      
      * fix conflict
      
      * add concat python test
      
      * add split python api to vjp
      
      * modify build bug
      
      * modify run bug
      
      * fix conflict bug
      
      * build bug fix
      
      * modify python api bug
      
      * modify test
      
      * fix conflict
      
      * fluid backward recover
      
      * recover conflict
      
      * reply review comments
      
      * modify opruntimeinfo num
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      Co-authored-by: Nchenzhiyang <1792266893@qq.com>
      Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
      7995a389
  5. 25 8月, 2023 2 次提交
  6. 24 8月, 2023 3 次提交
  7. 23 8月, 2023 1 次提交
  8. 21 8月, 2023 1 次提交
  9. 18 8月, 2023 2 次提交
    • C
      [IR] Register cinn_dialect & Generate AddOp (#56357) · 5c6d0e26
      chen2016013 提交于
      * Register cinn_dialect & Generate AddOp
      
      * codestyle fix
      
      * codestyle fix02
      
      * 合并cinn_ops.parsed.yaml和cinn_backward_ops.parsed.yaml;
      将add算子注册进CinnDialect
      
      * 通过宏定义注册算子
      
      * bug-fix
      
      * bug-fix
      
      * bug-fix
      
      * bug-fix
      
      * skip conflict include
      
      * resolve conflict
      5c6d0e26
    • C
      [PRIM][IR]Support prim in new ir (#56342) · 2b5466f9
      Charles-hit 提交于
      * support ir api form prim
      
      * convert vector of int to intarray
      
      * support ir api for prim
      
      * support vjp prim mode in new ir
      
      * remove useless code
      
      * add test for prim
      
      * modify utils
      
      * remove useless code
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      2b5466f9
  10. 17 8月, 2023 1 次提交
  11. 16 8月, 2023 1 次提交
    • 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
  12. 15 8月, 2023 1 次提交
  13. 14 8月, 2023 1 次提交
  14. 11 8月, 2023 1 次提交
  15. 09 8月, 2023 1 次提交
  16. 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
  17. 18 7月, 2023 1 次提交
  18. 11 7月, 2023 1 次提交
  19. 10 7月, 2023 1 次提交
  20. 06 7月, 2023 1 次提交
  21. 03 7月, 2023 1 次提交
  22. 30 6月, 2023 1 次提交
  23. 29 6月, 2023 2 次提交
  24. 28 6月, 2023 2 次提交
  25. 27 6月, 2023 1 次提交
  26. 22 6月, 2023 1 次提交
  27. 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
  28. 14 6月, 2023 1 次提交
  29. 13 6月, 2023 2 次提交
  30. 12 6月, 2023 2 次提交
  31. 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
  32. 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