1. 08 9月, 2023 1 次提交
  2. 07 9月, 2023 1 次提交
  3. 18 8月, 2023 1 次提交
  4. 14 8月, 2023 1 次提交
    • C
      [xdoctest][task 106] Reformat example code with google style in... · 5ddc31f2
      Candy2Tang 提交于
      [xdoctest][task 106] Reformat example code with google style in python/paddle/optimizer/adamw.py (#56222)
      
      * [xdoctest][task 106]reformat example code with google style in python/paddle/optimizer/adamw.py
      
      * fix word typo test=docs_preview
      
      * fix word typo test=docs_preview
      
      * fix whitespace test=docs_preview
      5ddc31f2
  5. 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
  6. 18 5月, 2023 1 次提交
    • shaojie_wang's avatar
      [AMP]Master grad in static graph (#53362) · 972581d8
      shaojie_wang 提交于
      * add master gradients on static graph
      
      * add unit test for bf16 master grad static graph
      
      * use float16 as v100 test dtype
      
      * only skip GPU which do not support bf16
      
      * use linear layer to test master grad
      
      * 1.push master grad creation before all optimizer ops; 2.remove useless unittest; 3.use a function to create master grad states
      972581d8
  7. 11 5月, 2023 1 次提交
  8. 27 4月, 2023 1 次提交
  9. 04 4月, 2023 1 次提交
  10. 23 3月, 2023 1 次提交
  11. 20 3月, 2023 1 次提交
  12. 15 3月, 2023 1 次提交
  13. 10 3月, 2023 1 次提交
  14. 28 2月, 2023 1 次提交
  15. 24 2月, 2023 1 次提交
    • W
      Revert grad scale optimization pr (#50839) · 8a503522
      Weilong Wu 提交于
      * Revert "fixoptminizer _set_auxiliary_var bug (#50335)"
      
      This reverts commit c44005f0.
      
      * Revert "refine optimizer create accumulators (#50188)"
      
      This reverts commit 244e7546.
      
      * Revert "fix found_inf bug for custom optimizer (#50158)"
      
      This reverts commit 64573f9f.
      
      * Revert "refine amp scaler found_inf (#49864)"
      
      This reverts commit 382e9a06.
      
      * fix code format
      
      * fix conflict
      8a503522
  16. 06 2月, 2023 1 次提交
  17. 30 1月, 2023 1 次提交
  18. 03 1月, 2023 1 次提交
  19. 30 12月, 2022 1 次提交
  20. 25 12月, 2022 1 次提交
  21. 09 12月, 2022 1 次提交
  22. 29 11月, 2022 1 次提交
  23. 17 11月, 2022 1 次提交
  24. 23 10月, 2022 1 次提交
  25. 23 9月, 2022 1 次提交
  26. 14 9月, 2022 1 次提交
  27. 26 8月, 2022 1 次提交
  28. 15 8月, 2022 1 次提交
  29. 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
  30. 01 6月, 2022 1 次提交
  31. 15 4月, 2022 1 次提交
  32. 28 3月, 2022 1 次提交
  33. 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
  34. 27 10月, 2021 1 次提交
  35. 18 10月, 2021 1 次提交
  36. 29 9月, 2021 1 次提交
  37. 26 9月, 2021 1 次提交
  38. 22 9月, 2021 1 次提交
  39. 17 9月, 2021 1 次提交
    • Z
      [AMP] Support pure fp16 training mode for dygraph (#35521) · adaeee4d
      zhangbo9674 提交于
      * add pure fp16 major function in auto_cast & tracer
      
      * support master weight in dygraph for pure fp16
      
      * check mix dtype of fp16&fp32 for check_finite_and_unscale op
      
      * change pure fp16 funtion name
      
      * refine some bug in auto_cast
      
      * refine auto_cast interface logic
      
      * add param _casted_by_pure_fp16 for class Layer
      
      * support state_dict hook for save model by user appointed dtype in pure_fp16_decorator
      
      * refine pure_fp16_decorator as decorator
      
      * add unittest
      
      * add comment
      
      * add comment
      
      * support recompute
      
      * add comment for auto_cast and decorator
      
      * support to_static_state_dict for paddle.jit.save
      
      * unlimite models num and optimizers num
      
      * add lookup_table in black_list
      
      * fix momentum and layer state_dict
      
      * fix bug in layer state_dict
      
      * fix bug in layer state_dict_helper
      
      * refine unittest
      
      * refine test_momentun_op
      
      * refine interface and some code
      
      * refine amp_decorator interface
      
      * refine pure fp16 interface
      
      * refine master weight interface
      adaeee4d
  40. 14 9月, 2021 1 次提交