1. 11 4月, 2023 1 次提交
    • Y
      Cherry pick for fix of operator precision. (#52705) · d1e8b1e2
      Yiqun Liu 提交于
      * Fix scale kernel for low precision, cherry pick #50998.
      
      * Fix the FP16 precision problem of add_n. (#50129)
      
      * Change squared_l2_norm to reuse ReduceKernel, and register fp16 and bf16 kernel, which is cherry pick #48315.
      
      * Cherry-pick the fix of MPTypeTrait in KP, which is implemented in #50993.
      
      * Cherry-pick the multi-precision support of AdamW for bf16, #48041.
      
      * Fix compiling error.
      
      * Cherry-pick the fix of CubTensorReduceImpl for bfloat16 in #50993.
      
      * Fix unittest.
      
      ---------
      Co-authored-by: Nliuruyan <44316842+liuruyan@users.noreply.github.com>
      d1e8b1e2
  2. 20 10月, 2022 1 次提交
  3. 26 8月, 2022 1 次提交
  4. 25 8月, 2022 1 次提交
    • H
      Fix relu python call (#45082) · 839fac65
      hong 提交于
      * add python final state
      
      * fix bug
      
      * fix bugs
      
      * fix bug
      
      * fix bug
      
      * revert impl, final state mul not support selected rows
      
      * fix softmax use cudnn error
      
      * add softlable false unitest
      
      * revert loss.py
      839fac65
  5. 18 8月, 2022 2 次提交
  6. 25 7月, 2022 1 次提交
  7. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  8. 23 4月, 2022 1 次提交
  9. 18 4月, 2022 1 次提交
  10. 28 3月, 2022 1 次提交
  11. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  12. 19 2月, 2022 1 次提交
    • S
      Add the DistributedFusedLamb optimizer (#39148) · 5df3cd61
      sneaxiy 提交于
      * add DistributedFusedLamb op
      
      * polish code
      
      * fix compile error
      
      * compatible with pten changement
      
      * fix rocm compile error
      
      * improve converage
      
      * update upstream/develop
      
      * fix cast_with_ptr.h
      
      * add FLAGS_distributed_lamb_divide_nranks_when_allreduce=1
      
      * fix clip before allreduce
      
      * add use_master_param_norm
      
      * code polish
      
      * fix bug
      
      * fix ROCM ci
      5df3cd61
  13. 27 12月, 2021 1 次提交
  14. 22 12月, 2021 1 次提交
  15. 17 12月, 2021 1 次提交
    • S
      Refine some AMP operators for BERT (#37923) · d80fe268
      sneaxiy 提交于
      * support multi precision update for LAMB
      
      * hide some api
      
      * fix ci uts
      
      * fix lamb output of dygraph
      
      * remove some changes to some PR
      
      * try to fix Py3 CI compile error
      
      * fix test_imperative_optimizer, add lars ut, add layer_norm ut
      
      * fix ut, fix format
      
      * fix ut
      
      * fix windows ci
      d80fe268
  16. 13 10月, 2021 1 次提交
    • Z
      Add fp16 for clip_by_norm & clip_by_global_norm (#36198) · 3a869cc5
      zhangbo9674 提交于
      * add fp16 for clip_by_norm api
      
      * support ClipByGlobalNorm for fp16 in dygraph
      
      * add unittest for dygraph clipGlobalNorm
      
      * refine unittest for dygraph clipGlobalNorm for mac and windows
      
      * refine unittest
      
      * add unittest for fp64
      
      * refine unittest for fp64
      3a869cc5
  17. 11 10月, 2021 1 次提交
  18. 14 9月, 2021 1 次提交
  19. 10 9月, 2021 1 次提交
  20. 18 8月, 2021 1 次提交
  21. 06 8月, 2021 1 次提交
    • S
      paddle/nn fix formula bugs (#34643) · 0f19ac7c
      sunzhongkai588 提交于
      * fix paddle.optimizer test=document_fix
      
      * fix paddle.optimizer test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix bugs in paddle.nn.functional document test=document_fix
      
      * fix nn formula bugs test=document_fix
      
      * fix nn formula bugs test=document_fix
      
      * fix nn formula bugs test=document_fix
      0f19ac7c
  22. 05 8月, 2021 1 次提交
  23. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  24. 26 10月, 2020 1 次提交
  25. 09 10月, 2020 1 次提交
  26. 30 9月, 2020 1 次提交
  27. 24 9月, 2020 1 次提交
  28. 02 9月, 2020 1 次提交
  29. 14 8月, 2020 1 次提交
    • Y
      Upgrade `no_grad` decorator (#25472) · 617eb67f
      Yang Zhang 提交于
      * Upgrade `no_grad` decorator
      
      test=develop
      
      - match torch decorator usage (i.e., with parenthesis)
      - handle generator functions
      - add `paddle.no_grad` alias
      
      * Switch from `functools` to `decorator`
      
      preserves signature
      
      * Reword decorator usage note
      617eb67f
  30. 14 5月, 2020 1 次提交
  31. 22 4月, 2020 1 次提交
  32. 17 4月, 2020 1 次提交
  33. 07 4月, 2020 1 次提交
  34. 02 4月, 2020 1 次提交
  35. 11 3月, 2020 1 次提交
  36. 28 2月, 2020 1 次提交
  37. 07 1月, 2020 1 次提交
    • C
      Fix grad clip (#21784) · 5c339193
      Chengmo 提交于
      * fix grad clip, clip op belongs to Backward op when running in Parameter Server mode.
      5c339193
  38. 11 10月, 2019 2 次提交