1. 06 9月, 2023 1 次提交
  2. 05 9月, 2023 1 次提交
  3. 04 9月, 2023 2 次提交
  4. 01 9月, 2023 1 次提交
  5. 30 8月, 2023 1 次提交
  6. 29 8月, 2023 2 次提交
  7. 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
  8. 27 8月, 2023 1 次提交
  9. 25 8月, 2023 3 次提交
  10. 24 8月, 2023 3 次提交
  11. 23 8月, 2023 2 次提交
  12. 21 8月, 2023 2 次提交
  13. 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
  14. 17 8月, 2023 1 次提交
  15. 16 8月, 2023 2 次提交
    • 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
    • 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
  16. 15 8月, 2023 2 次提交
  17. 14 8月, 2023 1 次提交
  18. 11 8月, 2023 2 次提交
    • 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
  19. 09 8月, 2023 1 次提交
  20. 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
  21. 02 8月, 2023 1 次提交
  22. 18 7月, 2023 1 次提交
  23. 17 7月, 2023 2 次提交
  24. 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
  25. 11 7月, 2023 1 次提交
  26. 10 7月, 2023 1 次提交
  27. 06 7月, 2023 1 次提交