1. 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
  2. 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
  3. 26 6月, 2023 1 次提交
  4. 16 6月, 2023 1 次提交
  5. 15 6月, 2023 1 次提交
    • H
      exp/expm1 support int32/int64/float16 forward (#54556) · 58ae8c7c
      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
      
      * exp/expm1 support int32/int64
      
      * fix ut
      
      * fix ut
      
      * fix ut
      58ae8c7c
  6. 14 6月, 2023 2 次提交
  7. 13 6月, 2023 4 次提交
  8. 12 6月, 2023 2 次提交
  9. 09 6月, 2023 1 次提交
  10. 07 6月, 2023 1 次提交
  11. 06 6月, 2023 1 次提交
  12. 05 6月, 2023 1 次提交
  13. 02 6月, 2023 5 次提交
  14. 31 5月, 2023 1 次提交
  15. 25 5月, 2023 1 次提交
  16. 23 5月, 2023 2 次提交
  17. 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
  18. 18 5月, 2023 1 次提交
  19. 17 5月, 2023 1 次提交
  20. 16 5月, 2023 4 次提交
  21. 12 5月, 2023 2 次提交
    • 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
    • fix doc eror of index_put in develop (#53727) · 4e416c99
      傅剑寒 提交于
      * fix doc eror of index_put in develop
      
      * fix doc error for index_put; test=document_fix; test=docs_preview
      4e416c99
  22. 10 5月, 2023 1 次提交
    • add index_put api (#52886) · f3393f49
      傅剑寒 提交于
      * add index_put api
      
      * fix value broadcast in backward and add test case in static
      
      * add timeout=120s for index_put
      
      * add op_compat for index_put
      
      * add inplace index_put test
      
      * add test case when index tensor in indices is int32 when indices.size less than x.dims
      
      * add index_put api backward in cpu place
      
      * add backward test case
      
      * refactor code to delete some duplicated code
      
      * replace reshape with resize for decrease extra memcpy
      
      * add datatype flag in backward yaml
      
      * fix bug in documentation
      
      * Update python/paddle/tensor/manipulation.py
      
      ---------
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      f3393f49
  23. 09 5月, 2023 2 次提交
  24. 08 5月, 2023 2 次提交