1. 14 8月, 2023 1 次提交
    • Y
      [Semi-Auto] Add reshape spmd rule (#55177) · a97b507e
      Yichen Zhang 提交于
      * add reshape spmd rule
      
      * add unit test for reshape spmd rule
      
      * bug fix
      
      * replace the print_info function with to_string
      
      * fix typo
      
      * bug fix
      
      * add handling for "0" in target shape
      
      * remove the part of computing size in dim_trans.cc
      a97b507e
  2. 10 8月, 2023 1 次提交
  3. 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
  4. 04 8月, 2023 2 次提交
  5. 02 8月, 2023 1 次提交
  6. 01 8月, 2023 1 次提交
  7. 31 7月, 2023 1 次提交
  8. 24 7月, 2023 3 次提交
  9. 20 7月, 2023 1 次提交
    • J
      [Semi Auto] Entropy SPMD Rule (#55394) · 5f376f00
      JZ-LIANG 提交于
      * base rule
      
      * add sharidng merge
      
      * add sharidng axis merge
      
      * define unified data class for inferencing dist_attr
      
      * test wrap DistTensorSpec in dygraph mode
      
      * matmul main logic done
      
      * shape int64
      
      * common cc
      
      * define unified data class for inferencing dist_attr
      
      * test wrap DistTensorSpec in dygraph mode
      
      * define python api and wrap function in static mode for DistTensorSpec
      
      * revise syntax
      
      * map bugfix
      
      * broadcast func
      
      * compile 1
      
      * add unitest
      
      * add registry
      
      * update unitest
      
      * bugfix
      
      * bugfix
      
      * add pybind
      
      * bugfix
      
      * bugfix macro gloabl name space
      
      * bugfix macro gloabl name space
      
      * pybind
      
      * pybind test
      
      * pybind bugfixed1
      
      * pybind bugfixed2
      
      * pybind unitest
      
      * merge dev
      
      * merge dev
      
      * merge dev
      
      * fixed cmake conflict
      
      * fixed cmake conflict
      
      * rename get method
      
      * revise inferforward output type
      
      * revise comment
      
      * replicated rule
      
      * replicated rule 2
      
      * revert bug deps
      
      * add rule
      
      * add unitest
      
      * add rule
      
      * add unitest
      
      * move ut of auto_parallel
      
      * fix ut
      
      * bugfix
      
      * bugfix
      
      * bugfix
      
      * bugfix
      
      * bugfix
      
      * bugfix
      
      * bugfix
      
      * resolute input sharding conflict maybe
      
      * fixed comment
      
      * add rule
      
      * add unitest
      
      * fixed typoes
      
      ---------
      Co-authored-by: NYichen Zhang <zhangyichen03@baidu.com>
      Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com>
      5f376f00
  10. 12 7月, 2023 1 次提交
  11. 07 7月, 2023 3 次提交
  12. 06 7月, 2023 2 次提交
  13. 04 7月, 2023 1 次提交
  14. 29 6月, 2023 1 次提交
  15. 27 6月, 2023 1 次提交
  16. 25 6月, 2023 1 次提交
  17. 20 6月, 2023 1 次提交
    • A
      [AutoTuner] Add compare and record (#54668) · 6fe7b5e2
      Azure 提交于
      * add auto tuner
      
      * compare and record module
      
      * revert launch main
      
      * add prune rule
      
      * add unit test
      
      * add auto tuner
      
      * revert launch main
      
      * add prune rule
      
      * modify unit test script
      
      * fix bug for dump nodes; fix bug for checking log file
      
      * fix bug
      
      ---------
      Co-authored-by: Ncaozhou <caozhou@radi.ac.cn>
      6fe7b5e2
  18. 14 6月, 2023 3 次提交
    • C
      [AutoTuner] Add auto tuner to obtain optima configuration (#54460) · e12d2867
      caozhou 提交于
      * add auto tuner
      
      * fix prune
      
      * fix sharding prune and mbs candidates
      
      * fix cfg
      
      * fix launch
      
      * fix launch
      
      * add unittest
      
      * fix code style
      e12d2867
    • G
      Fix cuda12 timeout problems. (#54615) · a90d9088
      Ghost Screaming 提交于
      * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
      is wrong.
      
      * Remove climits.
      
      * Fix problem of pickle and NCCL_P2P_DISABLE in distributed testcases in
      cuda12.
      
      * Fix problem of TimeOut of distributed testcases under cuda12.
      
      * Remove useless modification.
      
      * Remove useless modification.
      a90d9088
    • S
      Fix A100 CUDA12 ut (#54487) · a96c6dc7
      sneaxiy 提交于
      * fix A100 CUDA12 ut
      
      * fix ci uts
      
      * fix test_sync_batch_norm_op
      
      * fix sync bn op ut again by separating 2 files
      
      * fix codestyle ci
      
      * combine other PRs
      
      * fix codestyle
      
      * fix codestyle ci
      a96c6dc7
  19. 13 6月, 2023 2 次提交
  20. 12 6月, 2023 1 次提交
  21. 06 6月, 2023 1 次提交
  22. 02 6月, 2023 1 次提交
  23. 01 6月, 2023 2 次提交
    • Z
      [AutoParallel] update pipeline pass for while control_flow (#54224) · 81c13b86
      zhaoyingli 提交于
      * [AutoParallel] update while control_flow with pipeline
      
      * update process group instantiate
      
      * fix micro_bsz for reshard
      
      * update api for micro batch size
      
      * add strategy for dp optimization
      81c13b86
    • 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
  24. 30 5月, 2023 1 次提交
  25. 22 5月, 2023 1 次提交
    • M
      [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode() (#53856) · 3794d171
      Meteor Liu 提交于
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * [dygraph]unify _non_static_mode() in_dygraph_mode() and in_dynamic_mode()
      
      * fixed cyclic reference that caused patial import
      
      * fixed bad change
      
      * fix bad import
      
      * fix bad import
      
      * fix bad import
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fix ut failed caused by change in_dynamic_mode
      
      * fixed usage of in_dynamic_mode() or in_dygraph_mode()
      
      * revert python3 to python in .pre-commit-config.yaml
      
      * fix merge conflicts
      3794d171
  26. 11 5月, 2023 1 次提交
  27. 09 5月, 2023 1 次提交
  28. 30 4月, 2023 1 次提交
  29. 26 4月, 2023 1 次提交
  30. 24 4月, 2023 1 次提交
    • Z
      [Zero-Dim] Support output 0D for to_tensor. (#52741) · 81fb7df2
      zqw_1997 提交于
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * test=allcase
      
      * fix doc erros, test=allcase
      81fb7df2