1. 11 8月, 2023 1 次提交
    • D
      move some fluid apis (#55986) · eafc9889
      Difer 提交于
      * move fluid apis
      
      * fix type error
      
      * remove static exponential_decay
      
      * fix some import error
      
      * remove nn.py
      
      * fix some error
      
      * fix type error
      eafc9889
  2. 09 8月, 2023 1 次提交
    • L
      remove the... · 723c6f77
      LoneRanger 提交于
      remove the AdamOptimizer、SGDOptimizer、MomentumOptimizer、ModelAverage、LookaheadOptimizer、FtrlOptimizer、DecayedAdagradOptimizer、DpsgdOptimizer in fluid and relocate the ExponentialMovingAverage、PipelineOptimizer、GradientMergeOptimizer and change optimizer base for LarsMomentumOptimizer and RecomputeOptimizer (#55970)
      
      * change the optimizer base for SGDOptimizer
      
      * change the optimizer base for SGDOptimizer
      
      * replace the SGDOptimizer with SGD
      
      * fix bug of sgd
      
      * change the optimizer base for MomentumOptimizer
      
      * fix the remaining tests
      
      * remove the Momentum in fluid/optimizer.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * Update test_resnet_cinn.py
      
      * Update test_resnet_prim_cinn.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * remove the ModelAverage in fluid
      
      * remove the LookaheadOptimizer in fluid
      
      * fix bug
      
      * remove AdamOptimizer in fluid
      
      * Update test_image_classification_fp16.py
      
      * fix bug
      
      * relocate the ExponentialMovingAverage in fluid
      
      * restore the static api
      
      * remove the FtrlOptimizer in fluid
      
      * remove the DecayedAdagradOptimizer in fluid
      
      * remove the DpsgdOptimizer in fluid
      
      * fix bug
      
      * fix codestyle
      
      * fix bug
      
      * fix bug
      
      * relocate the PipelineOptimizer
      
      * relocate the GradientMergeOptimizer
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix doc
      
      * Update __init__.py
      
      * Update test_fleet_qat_meta_optimizer.py
      
      * change optimizer base for LarsMomentumOptimizer
      
      * fix bug
      
      * fix conflict
      
      * fix code-style
      
      * fix sample codes
      
      * fix bug
      
      * fix bug
      
      * fix cinn bug
      
      * fix bug
      
      * fix bug
      
      * Update qat_optimizer.py
      
      * Update __init__.py
      
      * fix bug
      
      * change optimizer base for RecomputeOptimizer
      
      * fix bug
      
      * fix bug
      
      * Update test_imperative_optimizer_v2.py
      723c6f77
  3. 30 6月, 2023 1 次提交
  4. 28 6月, 2023 1 次提交
  5. 27 6月, 2023 1 次提交
  6. 12 6月, 2023 1 次提交
  7. 01 6月, 2023 1 次提交
    • T
      mv all unittests test (#53235) · b0e86d55
      tianshuo78520a 提交于
      * mv all unittests test
      
      * fix error
      
      * fix error
      
      * fix
      
      * fix
      
      * del unittests
      
      * fix paddle_build.sh
      
      * fix
      
      * fix test
      
      * fix add test
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix test_async_read_write
      
      * fix test_async_read_write
      
      * merge develop
      
      * fix
      
      * fix import legacy_test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix bug
      
      * fix
      
      * fix coverage test bug
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix code sstyle
      
      * fix code
      
      * fix code
      
      * fix
      
      * fix
      
      * fix
      
      * del test_sequence_enumerate_op.py
      
      * fix
      b0e86d55
  8. 24 4月, 2023 1 次提交
  9. 31 3月, 2023 1 次提交
  10. 25 3月, 2023 1 次提交
  11. 03 1月, 2023 1 次提交
    • G
      Move out sequential and replace save_dygraph and load_dygraph (#48709) · 7ff66973
      GGBond8488 提交于
      * remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead
      
      * move Sequential to paddle.nn
      
      * modify convert_call_func.py Sequential reference
      
      * remove related unitests
      
      * remove fluid.dynamic.Sequntial
      
      * test remove conver_call_func
      
      * fix conflicts
      
      * fix typro
      
      * fix unitests
      
      * fix sample_code
      
      * fix unitest
      
      * fix __init__
      7ff66973
  12. 01 12月, 2022 2 次提交
  13. 30 11月, 2022 1 次提交
    • W
      [remove fluid] under unittesets (#48212) · 7d6263e6
      wangzhen38 提交于
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      7d6263e6
  14. 23 10月, 2022 1 次提交
  15. 11 10月, 2022 1 次提交
  16. 27 9月, 2022 1 次提交
  17. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  18. 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
  19. 28 8月, 2020 1 次提交
  20. 24 8月, 2020 1 次提交
  21. 10 7月, 2020 1 次提交
    • Z
      fix state dict to save/load learning rate scheduler (#25403) · 914ff10a
      Zhou Wei 提交于
      * fix optimizer.state_dict and LRScheduler.state_dict to save/load dygraph,test=develop
      
      * fix optimizer.state_dict and LRScheduler.state_dict to save/load dygraph,test=develop
      
      * Add a judgment that state_dict/set_dict is used incorrectly,test=develop
      
      * fix some doc error,test=develop
      
      * fix current_step_lr for _LearningRateEpochDecay,test=develop
      
      * remove some unsed code to improve coverage,test=develop
      
      * remove some unsed code to improve coverage,test=develop
      914ff10a
  22. 09 7月, 2020 1 次提交
  23. 01 7月, 2020 1 次提交
  24. 28 5月, 2020 1 次提交
  25. 03 4月, 2020 1 次提交
    • Z
      support if logic for Variable in dygraph (#22892) · 7ca836d3
      zhongpu 提交于
      * support if logic for Variable in dygraph, test=develop
      
      * fix test_learning_rate_scheduler.py, test=develop
      
      * fix optest, test=develop
      
      * fix error message, test=develop
      
      * fix optest,test=develop
      
      * fix comment, test=develop
      7ca836d3
  26. 26 3月, 2020 1 次提交
  27. 05 12月, 2019 1 次提交
    • H
      Add dygraph linear warm up decay (#21186) · 08483a68
      hong 提交于
      * dygraph mode support linear lr warm up; test=develop
      
      * add unitest for linear warmup; test=develop
      
      * add input type check; test=develop
      
      * fix type check assert error; test=develop
      
      * change type error; test=develop
      08483a68
  28. 10 8月, 2019 1 次提交
  29. 04 7月, 2019 1 次提交
  30. 31 3月, 2019 1 次提交
  31. 04 3月, 2019 1 次提交
  32. 22 2月, 2019 1 次提交
  33. 20 12月, 2018 2 次提交
  34. 15 8月, 2018 1 次提交
  35. 19 7月, 2018 1 次提交
  36. 12 3月, 2018 1 次提交
    • Q
      [Memory]More memory optimization policy (#8690) · f7e9fe57
      QI JUN 提交于
      * add memopt level
      
      * add opt level for image classification demo
      
      * clean code
      
      * add delete op
      
      * clean code
      
      * test machine translation demo
      
      * clean code
      
      * clean code
      
      * skip fill constant with force cpu
      
      * clean code
      
      * clean code
      
      * refine code
      
      * clean code
      
      * fix bug
      f7e9fe57
  37. 09 3月, 2018 1 次提交
    • Q
      Refine cast op (#8923) · b341bac7
      QI JUN 提交于
      * fix mac build error
      
      * override GetExpectedKernelType for cast op
      
      * fix typo
      
      * add cuda unittest
      b341bac7
  38. 06 3月, 2018 1 次提交