1. 10 12月, 2021 1 次提交
  2. 07 12月, 2021 1 次提交
  3. 02 12月, 2021 1 次提交
  4. 24 11月, 2021 1 次提交
    • 0
      [Dy2stat]support pure fp16 for dy2stat (#36944) · 52edad6a
      0x45f 提交于
      * run dy2stat pure fp16 in Linear model
      
      * no use self._pure_fp16_inputs
      
      * add test and fix Adam error in dy2stat pure fp16 training
      
      * use paddle.optimizer.Adam
      
      * run test in gpu
      
      * change test time for CI
      
      * enlarge atol for test_resnet_pure_fp16
      
      * refine code and enlarge atol
      
      * make custom_white_list and custom_black_list take effect for AMP and pure fp16
      
      * check tracer is not None
      
      * use default atol
      
      * change filter_size
      
      * change atol and add some NOTE
      52edad6a
  5. 22 11月, 2021 1 次提交
  6. 19 11月, 2021 1 次提交
  7. 03 11月, 2021 1 次提交
    • 0
      [Dy2stat]support Python3 type annotation (#36544) · db8425ec
      0x45f 提交于
      * Support Py3 type annotations in @to_static
      
      * support type hint for args in func
      
      * support type hint assign
      
      * if annotation and value(Constant) are diffent type, we use value type
      
      * polish type_from_annotation()
      
      * code format
      
      * code format
      
      * remove useless commentary
      
      * fix review
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      db8425ec
  8. 28 10月, 2021 1 次提交
  9. 27 10月, 2021 1 次提交
  10. 20 10月, 2021 1 次提交
  11. 19 10月, 2021 1 次提交
  12. 12 10月, 2021 1 次提交
  13. 16 9月, 2021 1 次提交
  14. 14 9月, 2021 1 次提交
  15. 03 9月, 2021 1 次提交
  16. 01 9月, 2021 2 次提交
  17. 05 8月, 2021 2 次提交
  18. 28 7月, 2021 1 次提交
  19. 27 7月, 2021 1 次提交
  20. 23 7月, 2021 1 次提交
  21. 22 7月, 2021 1 次提交
  22. 20 7月, 2021 1 次提交
  23. 15 7月, 2021 1 次提交
  24. 14 7月, 2021 1 次提交
  25. 05 7月, 2021 1 次提交
  26. 30 6月, 2021 1 次提交
  27. 24 6月, 2021 1 次提交
  28. 21 6月, 2021 1 次提交
  29. 17 6月, 2021 1 次提交
  30. 16 6月, 2021 1 次提交
  31. 09 6月, 2021 2 次提交
  32. 08 6月, 2021 1 次提交
  33. 04 6月, 2021 1 次提交
    • H
      [Dy2stat] Add Support for paddle.grad (#33110) · 82630f38
      Huihuang Zheng 提交于
      This PR made these changes to support double grad:
      
      1. Translate `paddle.grad` to `paddle.static.gradients` to support double grad for dy2stat.
      2. Fix IfElseTransformer bug which may not change value if "Store before Load" variable is in "Store" statement is in IfElse conditional statement
      3. Add `DOut` to support double grad variables in `run_program_op`
      4. Add support for renaming for double grads for `jit.save/load`
      82630f38
  34. 20 5月, 2021 1 次提交
  35. 19 5月, 2021 1 次提交
  36. 30 4月, 2021 1 次提交
    • H
      [Dy2stat] Fix to_tensor Bug Reported from QA (#32701) · 00268194
      Huihuang Zheng 提交于
      Dy2stat failed when user writes return paddle.to_tensor(xxx), the reason is that visit_Expr doesn't work when the Expr is in return. Some other statements may trigger same bug. To fix it, we re-wrote a transformer to transform paddle.to_tensor to paddle.assign for all Call nodes.
      00268194
  37. 09 4月, 2021 1 次提交