1. 28 8月, 2023 2 次提交
  2. 24 8月, 2023 2 次提交
    • 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
  3. 21 8月, 2023 3 次提交
  4. 18 8月, 2023 1 次提交
  5. 17 8月, 2023 2 次提交
  6. 16 8月, 2023 2 次提交
  7. 15 8月, 2023 1 次提交
  8. 09 8月, 2023 2 次提交
  9. 08 8月, 2023 1 次提交
  10. 07 8月, 2023 4 次提交
    • Y
      [New IR]Add attrs Interface for Python (#55974) · 02e6347d
      YuanRisheng 提交于
      * add attrs and dtype interface
      
      * fix compile bugs
      
      * fix some bugs
      
      * fix windows bugs
      02e6347d
    • N
      [xdoctest] reformat example code with google style in `paddle/tensor/math` (#55768) · ae88111f
      Nyakku Shigure 提交于
      * [xdoctest] reformat example code with google style in `paddle/tensor/math`
      
      * preview, test=docs_preview
      
      * scale, test=docs_preview
      
      * stanh, test=docs_preview
      
      * multiplex, test=docs_preview
      
      * pow, test=docs_preview
      
      * max, test=docs_preview
      
      * others..., test=docs_preview
      
      * update trunc example code, test=docs_preview
      ae88111f
    • X
      [dy2static] PaddleSOT pr (#54202) · c1913a5f
      xiongkun 提交于
      * add paddle-symbolic-trace to paddle
      
      * add symoblic trace
      
      * delete swp
      
      * support Layer in symbolic trace
      
      * fix test-symbolic-trace, make symbolic trace return a StaticFunction
      
      * template the error message
      
      * fix some unittest
      
      * Modify the execution mode of test
      
      * Modify the module name
      
      * add dy2static unittest decorator
      
      * change some unittest files by @ast_only_test
      
      * fix unittest.
      
      * test-symbolic-trace
      
      * update test_write_python_container.py
      
      * update
      
      * fix test_param_parse.py
      
      * add submodule and ln -sf in cmakefile
      
      * update
      
      * update
      
      * fix some ast only errors
      
      * update
      
      * Polish ut
      
      * fix unittests
      
      * update
      
      * update
      
      * fix unittests
      
      * update
      
      * test warning ast only
      
      * update
      
      * Ast only some uts
      
      * Fix unitests
      
      * test_error ast only
      
      * update
      
      * update
      
      * Support build_strategy for sot
      
      * update
      
      * import sot as a third party module
      
      * update
      
      * update
      
      * Polish code
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * remove old fluid api and use paddle.nn.relu instead
      
      * fix
      
      * comment the print of ast code
      
      * add try-finally block
      
      * fix dy2static stop-gradient bugs
      
      * fix code
      
      * remove unused submodule and minor codestyle fix
      
      * fix
      
      * fix cast error
      
      * fix interpolate meets int64 in static model
      
      * add evalframe support for py311
      
      * fix
      
      * fix err
      
      * switch ENABLE_FALL_BACK=False
      
      * fix
      
      * Fix CI for some unittest
      
      * add ENABLE_SOT
      
      * remove setup.py dependences
      
      ---------
      Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
      Co-authored-by: Nfeifei-111 <2364819892@qq.com>
      Co-authored-by: N0x45f <wangzhen45@baidu.com>
      Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
      c1913a5f
    • D
      fix cholesky_solve document bug (#55999) · 24c63733
      DHANUSH N 提交于
      24c63733
  11. 02 8月, 2023 3 次提交
  12. 31 7月, 2023 3 次提交
  13. 28 7月, 2023 1 次提交
  14. 27 7月, 2023 2 次提交
  15. 19 7月, 2023 1 次提交
    • J
      disable __setitem__ in static mode & add API paddle.static.setitem with dy2st strategy (#53682) · 7849d58d
      JYChen 提交于
      * add paddle.static.setitem
      
      * add some help doc
      
      * support setitem
      
      * support machanism
      
      * add more unittest
      
      * remove usless code
      
      * raise error in static setitem
      
      * fix d2s UT
      
      * remove static only for both-used code
      
      * fix bool set_value in static, fix set_value_op UT
      
      * fix unittests
      
      * [May case some error]: remove inplace-version check
      
      * add two test case for dy2st
      
      * fix function in vision
      
      * fix dy2st setitem support, refine UT case
      
      * fix slice in static_mode
      
      * add ParametersMap
      
      * remove pop
      
      * modify place
      
      * [fix]: variable is also a tensor
      
      * rewrite some ut & remove slicetransformer in dy2st
      
      * solve error in static-mode
      
      * fix ut
      
      * return a result for set_array_write
      
      * fix test_set_value_op_xpu
      
      * code is different in dynamic / static mode
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
      7849d58d
  16. 18 7月, 2023 3 次提交
    • Z
      修改COPY-FROM add_example_for_lazygurd (#55411) · 96ff6103
      zhangjingwei 提交于
      * add_example_for_lazygurd
      
      * fix
      96ff6103
    • G
      batch add inpalce api (#55078) · 19302938
      GGBond8488 提交于
      * batch add inpalce api
      
      * fix inplace fn generate
      
      * add test for  new inpalce api
      
      * fix typro
      
      * fix typro
      
      * fix typro
      
      * fix test error
      
      * fix atan2
      
      * remove atan2
      
      * auto genereate inpalce api
      
      * fix inplace generate fn error
      
      * fix windows error
      
      * fix test error
      
      * fix test error
      
      * fix windows ci error
      
      * fix test error
      
      * fix test_error
      
      * fix test error
      
      * fix eigen aliasing error in inplace
      
      * remove elementwise_pow inplace
      
      * fix doc error
      
      * fix test error
      19302938
    • M
      [Add] Paddle 代码 CI 中引入 xdoctest 检查 (#55295) · 26fba07c
      megemini 提交于
      * [Add]Add Xdoctester
      
      * [Fix]fix beta docstring
      
      * [Doctest]change dirichlet docstring
      
      * [Doctest]change gumbel docstring
      
      * [Doctest]change bernoulli docstring
      
      * [Doctest]change categorical docstring
      
      * [Doctest]change ops.py docstring
      
      * [Doctest]change conv docstring
      
      * [Doctest]change distance docstring, test=docs_preview
      
      * [Change]add ref
      
      * [Change]patch xdoctest debug
      26fba07c
  17. 17 7月, 2023 1 次提交
  18. 11 7月, 2023 1 次提交
  19. 05 7月, 2023 2 次提交
  20. 03 7月, 2023 1 次提交
    • L
      【PaddlePaddle Hackathon 4】No.63 : add lerp bf16 support (#53078) · ce31a72e
      LoneRanger 提交于
      * add lerp bf16 support
      
      * fix bug
      
      * Update test_lerp_op.py
      
      modify the input dtype
      
      * modify the test_lerp_op.py
      
      * Update test_lerp_op.py
      
      * fix bug of import
      
      * add user_defined_grads
      
      * Update test_lerp_op.py
      
      * fix bug of grad
      
      * fix bug of grad
      
      * fix bug of grad
      
      * add the check for bfloat16 dtype
      ce31a72e
  21. 28 6月, 2023 1 次提交
    • G
      【Inplace】Add copy for inplace (#54683) · 98debaa8
      GGBond8488 提交于
      * add clone for inpalce
      
      * fix name
      
      * add inplace pow
      
      * fix typro
      
      * add note
      
      * fix typro
      
      * fix typro
      
      * fix bug
      
      * fix test error
      
      * add type error test
      
      * adjust indentation
      98debaa8
  22. 26 6月, 2023 1 次提交