1. 08 9月, 2023 1 次提交
  2. 07 9月, 2023 1 次提交
  3. 03 9月, 2023 1 次提交
    • C
      【New IR】New ir op test v1.1(sum passed) (#56756) · e2af9d56
      Chen Zhiyang 提交于
      * add reference of lbfgs
      
      * add reference of lbfgs
      
      * new ir op test v1.0
      
      * fix new ir optest bug1.0
      
      * modify two testcase bug
      
      * add new ir white list & pass test_mean_op.py
      
      * rename white list
      
      * add new_ir_guard
      
      * new ir sum op test all pass
      
      * rename backward.grad as ir_backward.grad
      
      * check place for new ir
      
      * fix test_build_model env bug
      
      * fix test_prim_program backward bug
      
      * change backward to ir_backward in check_appr
      
      * add check_new_ir flag for mkldnn
      
      * clean
      
      ---------
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      e2af9d56
  4. 31 8月, 2023 1 次提交
  5. 30 8月, 2023 1 次提交
  6. 29 8月, 2023 1 次提交
  7. 28 8月, 2023 2 次提交
    • G
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_,... · c5fc413a
      GGBond8488 提交于
      【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509)
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * support sinh and cosh in cpu
      
      * support asin, acos, atan, asinh, acosh, atanh in cpu
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * support sinh and cosh in gpu
      
      * support asin, acos, atan, asinh, acosh, atanh in gpu
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * check complex in python
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * tmp commit
      
      * add atan2
      
      * add inplace api
      
      * fix error
      
      * add inpalce divide
      
      * add inplace api
      
      * add more inplace
      
      * add more inpalce
      
      * fix logical_not error
      
      * fix typro
      
      * fix typro
      
      * mv out atan2 ldexp
      
      * mv out atan2 ldexp
      
      * fix ge error
      
      * fix dygraph commpare error
      
      * fix dygraph commpare error
      
      * fix cast inpalce error
      
      * open inplace test
      
      * fix ops.yaml error
      
      * mv cast inpalce to python
      
      * fix coverage ci
      
      * add last inplace
      
      * fix inplace error
      
      * fix cast error
      
      * fix error
      
      * add nan_to_num_
      
      * fix typro
      
      * fix sparse cast error
      
      * remove gpu 4
      
      * fix static cast error
      
      * fix cast error
      
      * fix
      
      * Revert "check complex in python"
      
      This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05.
      
      * add renorm , fix error
      
      * add coverage
      
      * fix cumsum inpalce version error
      
      * add cast inpalce impl
      
      * rm test.log
      
      * fix multiply_dyfunction and add multiply_backward test
      
      * add and use is_same_tensor
      
      * fix typro
      
      * fix sone error
      
      * fix typro
      
      ---------
      Co-authored-by: NScotty <jmhgchn@gmail.com>
      Co-authored-by: NScotty <527407973@qq.com>
      c5fc413a
    • X
      [API Enhancement] No.1 support the any number of times in paddle.diff [used AI Studio] (#56681) · 39e8b023
      Xavier ZXY 提交于
      * Fix: The number of times to recursively compute the difference supports any number
      
      * Fix: use pre-commit to format code
      39e8b023
  8. 16 8月, 2023 1 次提交
  9. 09 8月, 2023 1 次提交
  10. 07 8月, 2023 2 次提交
  11. 02 8月, 2023 1 次提交
  12. 27 7月, 2023 2 次提交
  13. 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
  14. 18 7月, 2023 1 次提交
    • 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
  15. 17 7月, 2023 1 次提交
  16. 11 7月, 2023 1 次提交
  17. 05 7月, 2023 1 次提交
  18. 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
  19. 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
  20. 16 6月, 2023 1 次提交
  21. 14 6月, 2023 1 次提交
  22. 13 6月, 2023 1 次提交
  23. 12 6月, 2023 1 次提交
    • H
      log/Log10/log2/log1p support int32/int64/float16/bfloat16 forward (#54089) · 2ddd0473
      Hui Zhang 提交于
      * fix for log xxx
      
      * add int32/int64 for cpu/gpu; add float16/bfloat16 for cpu forward
      
      * fix docstring
      
      * fix bug
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bug
      
      * using cast
      
      * fix test
      
      * fix api
      
      * fix other bugs
      
      * fix ci bug for not using dygraph guard
      
      * add bfloat16 test
      
      * fix ut
      
      * bf16
      2ddd0473
  24. 09 6月, 2023 1 次提交
  25. 07 6月, 2023 1 次提交
  26. 05 6月, 2023 1 次提交
  27. 02 6月, 2023 1 次提交
  28. 23 5月, 2023 1 次提交
  29. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  30. 18 5月, 2023 1 次提交
  31. 17 5月, 2023 1 次提交
  32. 16 5月, 2023 1 次提交
  33. 12 5月, 2023 1 次提交
    • P
      【Hackathon 4 No.20】Add i0 / i0e to paddle (#52058) · ce256f75
      PommesPeter 提交于
      * added base code for i0 and i0e
      
      * added grad base code for i0 and i0e
      
      * added i0 and i0e python code
      
      * added ops and backward yaml config
      
      * added i0 and i0e cpu kernel, but not test.
      
      * added i0 and i0e code and unitest files
      
      * added test files
      
      * added i0/i0e gpu implementation code
      
      * updated code style
      
      * updated code style
      
      * fixed unitests code
      
      * updated i0 with eigen3
      
      * fixed bug and added more test cases
      
      * refactor: fixed static graph bug
      
      * refactor: removed i0 and i0e from op_compat
      
      * refactor: updated code style
      
      * refactor: updated op_compat.yaml
      
      * refactor: updated op_compat.yaml
      
      * refactor: fixed op name mapping and optimize unittest case
      
      * refactor: manually implement i0 / i0e
      
      * refactor: added grad kernel for i0 / i0e,didn't finish
      
      * Update math.py
      
      * refactor: added equation to doc in English and added comments for computing i0 / i0e gradient
      
      * refactor: removed eigen implementation
      
      * refactor: finished i0 / i0e cpu and gpu op
      
      * refactor: updated code style
      
      * fix: find  a bug but not fix
      
      * fix: incorrect unittest cases
      
      * update: updated code style and remove my file
      
      * update: updated unittest case
      
      * fix: fixed sign error
      
      * fix: fixed mistakes when merging
      
      * refactor: updated code style
      
      * refactor: remove unused code
      
      * refactor: updated code style
      ce256f75
  34. 09 5月, 2023 1 次提交
  35. 05 5月, 2023 1 次提交
  36. 27 4月, 2023 1 次提交
  37. 26 4月, 2023 1 次提交