1. 17 9月, 2021 2 次提交
    • 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
    • W
      polish code. (#35783) · 61010bb8
      WeiXin 提交于
      61010bb8
  2. 15 9月, 2021 1 次提交
  3. 28 7月, 2021 1 次提交
  4. 14 7月, 2021 1 次提交
  5. 17 6月, 2021 1 次提交
  6. 27 4月, 2021 1 次提交
  7. 26 4月, 2021 1 次提交
  8. 07 4月, 2021 1 次提交
  9. 11 3月, 2021 1 次提交
  10. 20 1月, 2021 1 次提交
  11. 18 12月, 2020 1 次提交
  12. 03 12月, 2020 1 次提交
    • L
      [Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to... · b9a8ebd5
      liym27 提交于
      [Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253)
      
      Usage scenarios:A function could have run successfully in static mode,  you can use it to decorate a function in the following cases:
        1. An unknown error occurs in the dynamic-to-static conversion process of the function;
        2. In the internal implementation of the function, it has two branches: dynamic branch and static branch;
        3. Users don't want to convert the function in the process of dynamic to static.
      b9a8ebd5
  13. 27 11月, 2020 1 次提交
  14. 19 11月, 2020 1 次提交
  15. 11 11月, 2020 1 次提交
  16. 06 11月, 2020 2 次提交
  17. 26 10月, 2020 1 次提交
  18. 13 10月, 2020 1 次提交
    • C
      Polish save load en doc details (#27845) · 94faa112
      Chen Weihang 提交于
      * polish save load en doc details, test=document_fix
      
      * polish details, test=document_fix
      
      * remove blank, test=document_fix
      
      * fix ascii error, test=document_fix
      
      * update fc's input to x, test=document_fix
      
      * update fc argument activation, test=document_fix
      94faa112
  19. 11 10月, 2020 1 次提交
  20. 24 9月, 2020 1 次提交
  21. 23 9月, 2020 1 次提交
    • C
      Add new paddle.save/load APIs (#27331) · bb84f0e6
      Chen Weihang 提交于
      * init commit of new save/load
      
      * fix failed unittests
      
      * fix save_load_v2 unittest failed
      
      * fix failed unittest & polish doc
      
      * add tests for coverage
      
      * add more tests & move static apis
      
      * fix example code error
      
      * polish emample code
      
      * fix detail example code problem
      bb84f0e6
  22. 17 9月, 2020 2 次提交
  23. 11 9月, 2020 1 次提交
  24. 10 9月, 2020 1 次提交
  25. 08 9月, 2020 1 次提交
  26. 07 9月, 2020 1 次提交
  27. 03 9月, 2020 1 次提交
  28. 31 8月, 2020 1 次提交
  29. 28 8月, 2020 1 次提交
    • L
      [Dy2Stat] Add debugging and logging mechanism for dygraph to static (#26457) · b1f9ed60
      liym27 提交于
      * [Dy2Stat] Add debugging and logging mechanism for dygraph to static. 
      
      * Remove TransformerError temporarily. 
      
      * import mock in PY2, from unittest import mock in PY3. test=develop
      
      * Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface. 
      
      * polish doc of set_verbosity and set_code_level. 
      b1f9ed60
  30. 27 8月, 2020 1 次提交
  31. 25 8月, 2020 1 次提交
  32. 11 8月, 2020 1 次提交
    • P
      Paddle-2.0 API directory migration (#25898) · 2efcb481
      pangyoki 提交于
      * Directory migration, test=develop
      
      * Change imperative from paddle init to paddle framework, test=develop
      
      * Fixed jit bug, test=develop
      
      * default static mode, test=develop
      
      * fixed format and create parameter belongs to framework, test=develop
      
      * Fixed import package, test=develop
      
      * fix __init__ format, test=develop
      
      * fixed alias problem
      
      * fixed paddle.enable_imperative problems, test=develop
      
      * Add unittest
      
      * delete install_check comment
      
      * Fixed unittest timeout
      
      * fixed unittest error
      
      * move Program default_xx_program to static package
      
      * optimize unittest method
      
      * fixed framework __init__ format
      
      * fixed jit path
      
      * delete alias
      
      * move jit to paddle
      
      * Fixed unittest format
      
      * fixed paddle.default_main_program
      
      * Fixed save load API in paddle __init__.py
      
      * fixed ci paddle.imperative.to_variable
      2efcb481
  33. 07 8月, 2020 2 次提交
    • L
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error... · 168ea223
      liym27 提交于
      [Dy2Stat-ErrorMessage]Optimize error value to improve readability when error raised in runtime.  (#25970)
      
      * don't remove op_callstack
      
      * [Dy2Stat-ErrorMessage] Optimize error value to improve readability if error raised in run-time. 
        1. update op_callstack with original information;
        2. simplify error value to improve readability if error raised in run-time.
      
      * Fix error in Python3. 
      168ea223
    • L
      [Dy2Stat-ErrorMessage]Enhance original error and create new exception (#25798) · 12bf9d71
      liym27 提交于
      * [Dy2Stat-ErrorMessage]Enhance original error and create new exception. test=develop
      
      * Delete redundant code and change func name to create_and_update_origin_info_map. 
      
      * optimize loop_transformer. 
      
      * fix bug in print_transformer.
      
      * Modify code according to the comments.
      12bf9d71
  34. 29 7月, 2020 2 次提交
  35. 24 7月, 2020 1 次提交