1. 06 9月, 2023 3 次提交
  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. 31 8月, 2023 2 次提交
  4. 30 8月, 2023 1 次提交
    • C
      [IR] Rigister LegacyKernelOp into KernelDialect (#56680) · ded10442
      chen2016013 提交于
      * Register LegacyKernelDialect & Rigister LegacyKernelOp
      
      * fix code style
      
      * delete LegacyKernelDialect ,register LegacyKernelOp into PaddleKernelDialect
      
      * fix bug
      
      * change as reviewed comments
      
      * bug fix
      
      * bug fix
      
      * try to restart coverage CI
      
      * pass legacy op to kernel pass
      
      * fix code style
      
      * fix code style
      
      * fix code style
      ded10442
  5. 29 8月, 2023 1 次提交
  6. 28 8月, 2023 1 次提交
  7. 25 8月, 2023 1 次提交
  8. 24 8月, 2023 3 次提交
    • Z
      [IR] Fix BuildOperatorBase bug (#56552) · a15fec8b
      zhangbo9674 提交于
      * fix inplace with set_parameter
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * fix bug
      
      * refine op_gem
      
      * fix bug
      a15fec8b
    • X
      【new ir】modify builtin_split bug (#56463) · 6de9a8d3
      xiaoguoguo626807 提交于
      * [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
      
      * backward origin code
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add attrs and dtype interface
      
      * add primitive ops set for backend
      
      * fix compile bugs
      
      * fix some bugs
      
      * fix windows bugs
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * origin test of tanh and mean passed
      
      * fix conflict
      
      * modify stop_gradient
      
      * remove useless deps
      
      * add cmake
      
      * modify block.ops
      
      * modify test
      
      * fix conflict
      
      * reply review comments
      
      * reply review comments
      
      * pulish code
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * refactor grad_op
      
      * support add and add_inplace vjp
      
      * remove useless code
      
      * remove useless code
      
      * remove cout
      
      * modify add_n
      
      * modify add_n with add_vjp test
      
      * modify add_n with add_vjp test
      
      * fix conflict and concat call_vjp
      
      * modify backward test
      
      * Add more gen api
      
      * modify split kernel pass
      
      * modify concat api
      
      * modify builtin split bug
      
      * delete vlog
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      6de9a8d3
    • Y
      [New IR]Support build New IR model in python (#56315) · 4f652ac2
      YuanRisheng 提交于
      4f652ac2
  9. 21 8月, 2023 1 次提交
  10. 19 8月, 2023 1 次提交
  11. 18 8月, 2023 2 次提交
    • X
      [NewIR]Add builtin.split op (#56431) · 14393611
      xiaoguoguo626807 提交于
      * [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
      
      * backward origin code
      
      * add test for mean vjp and support has_vjp function
      
      * fix call_vjp
      
      * polish code
      
      * add attrs and dtype interface
      
      * add primitive ops set for backend
      
      * fix compile bugs
      
      * fix some bugs
      
      * fix windows bugs
      
      * add vjp test for tanh_
      
      * fix inference CI
      
      * fix inference ci
      
      * modify fluid cmake
      
      * origin test of tanh and mean passed
      
      * fix conflict
      
      * modify stop_gradient
      
      * remove useless deps
      
      * add cmake
      
      * modify block.ops
      
      * modify test
      
      * fix conflict
      
      * reply review comments
      
      * reply review comments
      
      * pulish code
      
      * fix comment
      
      * fix test
      
      * polish code
      
      * modify backward stop_gradients
      
      * modify static_backend.cc
      
      * refactor grad_op
      
      * support add and add_inplace vjp
      
      * remove useless code
      
      * remove useless code
      
      * remove cout
      
      * modify add_n
      
      * modify add_n with add_vjp test
      
      * modify add_n with add_vjp test
      
      * fix conflict and concat call_vjp
      
      * modify backward test
      
      * Add more gen api
      
      * add builtin split op
      
      ---------
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      14393611
    • H
      [NewIR] new ir support assert op (#56353) · 7f5c14bc
      hong 提交于
      * fix op translator reshape type
      
      * update
      
      * new ir support vector type place transfer
      
      * add test case
      
      * update
      
      * revert code
      
      * add test assert new ir test
      
      * update
      
      * update
      7f5c14bc
  12. 16 8月, 2023 2 次提交
  13. 15 8月, 2023 1 次提交
  14. 11 8月, 2023 1 次提交
  15. 08 8月, 2023 1 次提交
    • 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
  16. 05 8月, 2023 1 次提交
  17. 04 8月, 2023 3 次提交
  18. 03 8月, 2023 1 次提交
  19. 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
  20. 01 8月, 2023 1 次提交
    • H
      [NewIR]New ir support print op (#55648) · 75c29ac1
      hong 提交于
      * new ir support print op
      
      * fix gpu bug
      
      * fix bug
      
      * update
      
      * remove layout to string
      
      * remove usless header
      
      * polish code
      
      * fix bug
      
      * posolis code
      75c29ac1
  21. 31 7月, 2023 1 次提交
  22. 27 7月, 2023 1 次提交
    • H
      [NewIR]Fix new ir dygraph 2 static concat grad bug (#55634) · 51ebcf68
      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
      
      * relax constraint when inserting get_parameter
      
      * add env flag
      
      * fix bug
      
      * dygraph2static support new ir
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * update
      
      * fix build_static bug
      
      * update test
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * fix inference compile
      
      * fix program translator error
      
      * only run on cpu, not support gpu yet
      
      * fix conflict
      
      * polish code
      
      * fix bug
      
      * add feed with place op
      
      * update
      
      * remove useless unitest
      
      * udpate mkldnn
      
      * update
      
      * update
      
      * align mkldnn version
      
      * new ir support builtin slice op
      
      * fix bug
      
      * fix phi kernel adaptor bug
      
      * add enable static
      
      * add enable_static
      
      * remove useless test case
      
      * change feed list to single variable
      
      * update
      
      * add feed with place and shaddow output op
      
      * fix bug
      
      * remove usless code
      
      * support gpu
      
      * fix bug
      
      * fix bug
      
      * remove template
      
      * add more data type
      
      * fix cimpile bug
      
      * udpate
      
      * remove useless code
      
      * revert dygraph2st test
      
      * remove usless code
      
      * revert op
      
      * fix bug
      
      * remove instance norm
      
      * fix concat grad bug
      
      * revert code
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      51ebcf68
  23. 25 7月, 2023 1 次提交
    • H
      [NewIR]new ir dygraph to static supoort gpu (#55620) · fb9bec5d
      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
      
      * relax constraint when inserting get_parameter
      
      * add env flag
      
      * fix bug
      
      * dygraph2static support new ir
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * update
      
      * fix build_static bug
      
      * update test
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * fix inference compile
      
      * fix program translator error
      
      * only run on cpu, not support gpu yet
      
      * fix conflict
      
      * polish code
      
      * fix bug
      
      * add feed with place op
      
      * update
      
      * remove useless unitest
      
      * udpate mkldnn
      
      * update
      
      * update
      
      * align mkldnn version
      
      * new ir support builtin slice op
      
      * fix bug
      
      * fix phi kernel adaptor bug
      
      * add enable static
      
      * add enable_static
      
      * remove useless test case
      
      * change feed list to single variable
      
      * update
      
      * add feed with place and shaddow output op
      
      * fix bug
      
      * remove usless code
      
      * support gpu
      
      * fix bug
      
      * fix bug
      
      * remove template
      
      * add more data type
      
      * fix cimpile bug
      
      * udpate
      
      * remove useless code
      
      * revert dygraph2st test
      
      * remove usless code
      
      * revert op
      
      * fix bug
      
      * new ir dygraph2static support gpu
      
      * remove usless code
      
      * code polish
      
      * add const
      
      * revert code and remove useless code
      
      * revert code
      
      * revert legacy op yaml
      
      * remove useless code
      
      * delete std::move
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      fb9bec5d
  24. 20 7月, 2023 1 次提交
    • H
      [NewIR]Change feed list to variable list && support GPU (#55401) · 75517841
      hong 提交于
      * add feed with place op
      
      * remove useless unitest
      
      * udpate mkldnn
      
      * update
      
      * new ir support builtin slice op
      
      * fix phi kernel adaptor bug
      
      * add enable_static
      
      * remove useless test case
      
      * change feed list to single variable
      
      * support gpu
      
      * fix bug
      
      * remove template
      
      * add more data type
      
      * fix cimpile bug
      75517841
  25. 18 7月, 2023 1 次提交
  26. 17 7月, 2023 1 次提交
  27. 13 7月, 2023 1 次提交
  28. 12 7月, 2023 2 次提交
    • H
      Support selected rows new ir (#54987) · fc66b5d7
      hong 提交于
      * refine program translator
      
      * fix warning: not override
      
      * fix bug
      
      * merge new modifications
      
      * modify by reviews
      
      * resolve conflicts
      
      * resolve conflicts
      
      * fix
      
      * fix
      
      * update
      
      * support selected rows
      
      * update
      
      * add selectrows
      
      * fix bug
      
      * add ut
      
      * refine code
      
      * refien code
      
      * update
      
      * update
      
      * support selected rows
      
      * support selected rows
      
      * support dense tensor
      
      * remove useless code
      
      * polish code
      
      * remote standalone executor test
      
      ---------
      Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      fc66b5d7
    • W
      [clang-tidy] enable `readability-container-size-empty` check (#55279) · be3a6fa7
      Wang Xin 提交于
      * [clang-tidy] enable readability-container-size-empty check
      
      * fix test_custom_kernel Failed
      
      * add clang-tid-10 in dockerfile
      
      * add clang-tidy in dockerfile
      
      * fix bug
      be3a6fa7
  29. 10 7月, 2023 1 次提交