1. 08 9月, 2020 1 次提交
    • C
      Update 2.0 Save/Load API names/arguments/doc examples (#27138) · 29861846
      Chen Weihang 提交于
      * Update set_dict method name & add aliases (#26700)
      
      * update set_dict method name & add aliases
      
      * fix var name error
      
      * fix alias formats
      
      * use set_state_dict in unittest
      
      * add decorator solve compatible problem
      
      * polish decorator
      
      * replace layer set_state_dict by patched method
      
      * remove import monkey path layer
      
      * fix import function error
      
      * add unittest for coverage
      
      * Support load state dict form `inference model` format save result (#26718)
      
      * support load infer model format state dict
      
      * add unittests
      
      * remove keep name table
      
      * recolve circle inport
      
      * fix compatible problem
      
      * recover unittest
      
      * polish doc and comment
      
      * Change jit.save/load configs to config & update code examples (#27056)
      
      * change configs to config & update examples
      
      * fix deprecate decorator conflict
      29861846
  2. 07 9月, 2020 1 次提交
  3. 06 9月, 2020 3 次提交
  4. 04 9月, 2020 1 次提交
    • M
      [cherry pick to 2.0-beta]update optimizer (#26711) (#26943) · cbb0f59d
      MRXLT 提交于
      * update optimizer (#26711)
      
      * update doc
      
      * update doc
      
      * fix optimizer sample code
      
      * add default value for adamw weight_decay
      
      * fix adamw
      
      * change LearningRateDecay to _LRScheduler
      
      * fix adamw;notest
      
      * fix load;notest
      
      * remove file
      
      * bug fix
      
      * fix code style
      
      * bug fix
      
      * add ut
      
      * adamw support weight_decay=0
      
      * fix ut
      
      * fix set_lr doc
      
      * fix doc
      
      * change parameters place
      
      * fix sample code
      cbb0f59d
  5. 02 9月, 2020 1 次提交
  6. 31 8月, 2020 3 次提交
  7. 28 8月, 2020 4 次提交
    • Z
      Remove `sorted_sum_gradient_` form BasicEngine and PartialGradTask. (#26766) · f32ae272
      Zhen Wang 提交于
      Use `Tensor` instead of `Variable`  in the doc of paddle.grad.
      f32ae272
    • C
      Add interface to launch parallel dygraph by multiprocessing (#26044) · 31f422ae
      Chen Weihang 提交于
      * add dygraph parallel run interface
      
      * polish implement & unified env property name
      
      * add print config arg
      
      * refactor init_parallel_env function
      
      * Compatible with multiprocessing and launch modes
      
      * set default trainer start port
      
      * support run in python 2
      
      * polish python2 support code
      
      * remove python2 support
      
      * refine launch import
      
      * polish dome design details
      
      * refactor api implemention & path
      
      * use new method _set_expected_place
      
      * add spawn unittest framework & mnist test
      
      * add more unittests & doc
      
      * fix unittest failed
      
      * polish english doc
      
      * self review and polish details
      
      * refactor code by reviewer's comments
      
      * fix unittest failed
      
      * fix parallel_env unittest
      
      * fix several typos
      
      * fix error introduced when fixing typos
      
      * add unpublic note for start_processes
      
      * polish details by xiaoguang's comment
      
      * verify correctly when spawn nprocs=-1
      
      * refactor spawn & init_parallel_env design
      
      * polish doc details
      
      * open spawn unittests
      
      * try to fix doc compile error
      
      * try to fix unknown doc format error
      
      * add skip unittest when not gpu
      31f422ae
    • 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
    • Z
      Update the demo code and the doc of varbase.backward. (#26506) · f9066e6a
      Zhen Wang 提交于
      * update the demo code and the doc of varbase.backward.
      
      * update the doc of the fake interface `paddle.fluid.Variable`.
      
      * remove BackwardStrategy.
      f9066e6a
  8. 27 8月, 2020 2 次提交
  9. 26 8月, 2020 1 次提交
  10. 25 8月, 2020 1 次提交
  11. 24 8月, 2020 4 次提交
  12. 22 8月, 2020 1 次提交
  13. 21 8月, 2020 4 次提交
  14. 20 8月, 2020 1 次提交
  15. 19 8月, 2020 4 次提交
  16. 18 8月, 2020 2 次提交
  17. 16 8月, 2020 2 次提交
  18. 15 8月, 2020 1 次提交
    • Z
      expose and unify the Tensor concepts to the user (#25978) · 6de463d3
      Zhou Wei 提交于
      * expose and unify the Tensor concepts to the user
      
      * expose tensor to user
      
      * add copy place for Tensor
      
      * add copy place for Tensor
      
      * add note
      
      * add macro PADDLE_WITH_CUDA
      
      * remove RUN_TYPE=DIST
      
      * fix some error
      6de463d3
  19. 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
  20. 13 8月, 2020 2 次提交
    • L
      Feature/Enable Auto-Mixed-Precision in dynamic graph (#24903) · 2d95280e
      Leo Chen 提交于
      * add auto_cast, test=develop
      
      * add loss scaler, test=develop
      
      * add comments, test=develop
      
      * refine code, test=develop
      
      * refine code, test=develop
      
      * do not set flags automatically, test=develop
      
      * fix custom op bug, test=develop
      
      * add more test, test=develop
      
      * refine enable logic, test=develop
      
      * enable amp test with GPU, test=develop
      
      * add unittest
      
      * add test for found_inf
      
      * follow comments
      
      * follow comments
      
      * remove global variable, use singleton
      
      * add some notes
      
      * update comments
      
      * update comments
      
      * update comments
      
      * add use_dynamic_loss_scaling argument
      
      * refine found_inf
      
      * refine found_inf
      2d95280e
    • C
      Fix loaded variable suffix repeat error (#26169) · 838e36e9
      Chen Weihang 提交于
      * fix loaded var suffix repeat error
      
      * use new dygraph name for loaded param
      838e36e9