1. 23 9月, 2019 1 次提交
    • M
      Forward recompute3 (#19913) · 9901f696
      mapingshuo 提交于
      * add recompute based checkpoints methods for large batch training
      test=develop
      
      * add append_backward_with_forward_recomputation
      test=develop
      
      * refine optimizer
      test=develop
      
      * update backward and optimizer
      test=develop
      
      * make Variable usable
      test=develop
      
      * add recompute code
      
      * refine optimizer
      test=develop
      
      * refine addup _append_backward_ops_with_checkpoints_
      1) for recompute part, just cache the grad_op_desc without appending to block
      2) before appending grad_op_desc to backward part, addup_repetitive_vars, remove unused branch
      test=develop
      
      * make method private
      
      * add recompute strategy into DistributedStrategy
      test=develop
      
      * checkpoint version3
      test=develop
      
      * remove some print information
      test=develop
      
      * remove unused sumop
      test=develop
      
      * try to fix recompute with graph building modules
      
      * add input names to vars should be held
      
      * add memory debug tool
      
      * backup backward
      
      * Fix bugs
      
      * add backward desc for op not in any segments
      
      * add exception info for sub_block
      
      test=develop
      
      * modify code style
      
      test=develop
      
      * modify code style
      
      test=develop
      
      * remove print functions
      
      test=develop
      
      * add API spec
      
      test=develop
      test=document_preview
      
      * make Recompute a child class of Optimizer
      
      test=develop
      test=document_preview
      
      * add API spec
      
      test=develop
      test=document_preview
      
      * modify API spec
      
      test=develop
      test=document_preview
      
      * add document for Recompute
      
      test=develop
      test=document_preview
      
      * change API doc of Rcompute
      
      test=develop
      test=document_preview
      
      * code cleaning
      
      test=develop
      test=document_preview
      
      * modify API spec
      
      * fix bugs when segments hold no element
      
      * add testcase for Recompute Optimizer
      
      test=develop
      test=document_preview
      
      * add test for apply_gradient, and code cleaning
      
      test=develop
      test=document_preview
      
      * add test case for load function
      
      * enable CI
      
      test=develop
      test=document
      
      * add test case
      
      test=develop
      test=document_preview
      
      * add sample code for 4 function of recompute optimizer
      
      test=develop
      test=document_preview
      9901f696
  2. 20 9月, 2019 1 次提交
  3. 10 9月, 2019 1 次提交
  4. 05 9月, 2019 1 次提交
    • J
      Refactor dygraph (#19107) · e9233d1c
      Jiabin Yang 提交于
      * refactor dygraph,test=develop
      
      * fix failed unittest,test=develop
      
      * polish code,test=develop
      
      * check windows ci error,test=develop
      try to fix windows ci error by np.allclose,test=develop
      
      * polish vlog and profiler, test=develop
      
      * try to fix preceding ops order,test=develop
      
      * test transformer in windows ci, test=develop
      
      * use python c-api to speed up tracer.trace,test=develop
      
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, add ut for debug string and gradient_accumulator
      
      * test=develop, add tests for layer/gradient_accumulator/prepared_op
      
      * test=develop, fix complie error for test_prepared_op
      
      * test=develop, add more ut for dygraph
      
      * test=develop, create API.spec for dygraph api change
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, refoctor name to make it easier to understand
      
      * test=develop, fix multi-gpu failed problem , add Tracer tests, change PADDLEENFORCE to PADDLEENFORCE_EQ
      
      * test=develop, fix ut failed on parallel se-resnext
      
      * test=develop, change one more PADDLE_ENFORCE
      e9233d1c
  5. 26 8月, 2019 2 次提交
    • C
      Fix optimizer bug (#19410) · bfb6ac81
      chengduo 提交于
      * fix optimizer bug
      test=develop
      bfb6ac81
    • M
      Lookahead optimizer (#19386) · d5ac87ec
      mapingshuo 提交于
      * Add lookahead optimizer
      
      * add unittest for lookahead optimizer
      
      test=develop
      
      * add doc string for LookaheadOptimizer
      
      test=develop
      test=document_preview
      
      * add API spec for lookahead
      
      test=develop
      test=document_preview
      
      * modify api spec
      
      test=develop
      test=document_preview
      
      * modified doc string
      
      * modify the test file
      
      test=develop
      test=document_preview
      
      * modify doc string
      
      test=develop
      test=document_preview
      d5ac87ec
  6. 12 8月, 2019 1 次提交
  7. 06 8月, 2019 1 次提交
  8. 01 7月, 2019 1 次提交
  9. 30 6月, 2019 1 次提交
  10. 26 6月, 2019 1 次提交
    • Y
      Update lamb optimizer (#18333) · 23941e43
      Yibing Liu 提交于
      * Update lamb optimizer
      
      test=develop, test=document_preview
      
      * Regenerate api spec
      
      test=develop, test=document_preview
      23941e43
  11. 24 6月, 2019 1 次提交
  12. 23 6月, 2019 1 次提交
  13. 20 6月, 2019 1 次提交
  14. 11 6月, 2019 1 次提交
    • H
      Pipeline Concurrency (#17402) · 969e6378
      hutuxian 提交于
      Add Pipeline Concurrency Train Mode:
      - Cpp: pipeline_trainer & section_worker
      - Python: PipelineOptimizer
      - Add a new data_feed type: PrivateInstantDataFeed
      - Add a test demo of pipeline trainer and the test model is gnn
      - Do not support win32 now
      969e6378
  15. 06 6月, 2019 1 次提交
    • J
      Add optimizer save and load (#16986) · 022dfed4
      Jiabin Yang 提交于
      * save optimizer related vars in dygraph
      
      * test=develop, add optimizer save and load
      
      * test=develop, add optimizer save and load
      
      * test=develop, merge code and add multi-optimizer save and load
      
      * test=develop, fix test_imperative_checkpoint
      
      * test=develop, fix include error
      
      * test=develop, fix include error
      
      * test=develop, renew api spec
      
      * test=develop, refine code
      
      * test=develop, set default value for checkpoint
      
      * test=develop, fix ci error
      
      * test=develop, change API.spec and make api more readable
      
      * test=develop, refine version and time stamp
      
      * test=develop, add example code and refine code
      
      * test=develop, refine doc
      
      * test=develop, change version
      022dfed4
  16. 04 6月, 2019 1 次提交
  17. 03 6月, 2019 1 次提交
  18. 31 5月, 2019 1 次提交
  19. 29 5月, 2019 1 次提交
    • H
      Add new gard clip [old gradient clip not support in dy graph] (#17523) · 9f85f218
      Hongyu Liu 提交于
      * add gradient clip in minimize; test=develop
      
      * fix bug; test=develop
      
      * fix format; test=develop
      
      * move new grad clip to dygraph/grad_clip.py; test=develop
      
      * fix lr decay and grad clip test; test=develop
      
      * seperate dygraph grad clip; test=develop
      
      * fix grad clip test; develop
      
      * fix api spec bug; test=develop
      
      * add blank line, test=develop,test=document_preview
      
      to fix format problem
      9f85f218
  20. 28 5月, 2019 2 次提交
  21. 24 5月, 2019 2 次提交
  22. 23 5月, 2019 2 次提交
  23. 21 5月, 2019 1 次提交
    • Y
      Add LAMB Optimizer support (#17489) · f9796b12
      Yibing Liu 提交于
      * Add LAMB optimizer
      
      * Expose LAMB Optimizer's APIs
      
      test=develop, test=document_preview
      
      * Cleanup code & doc
      
      test=develop, test=document_preview
      
      * Update lamb optimizer's formula
      
      test=develop
      f9796b12
  24. 20 5月, 2019 1 次提交
  25. 17 5月, 2019 1 次提交
  26. 14 5月, 2019 1 次提交
  27. 08 5月, 2019 1 次提交
  28. 18 4月, 2019 1 次提交
  29. 10 4月, 2019 2 次提交
  30. 09 4月, 2019 1 次提交
  31. 08 4月, 2019 1 次提交
  32. 02 4月, 2019 1 次提交
  33. 30 3月, 2019 1 次提交
  34. 29 3月, 2019 1 次提交
  35. 28 3月, 2019 1 次提交