1. 19 10月, 2022 9 次提交
    • Z
      [Cherry-Pick][AutoParallel] auto_parallel cherry-pick to release2.4 (#47145) · 90b31790
      zhaoyingli 提交于
      * [Auto Parallel] Make Engine class callable (#46416)
      
      * [Auto Parallel] Imporve the user-defined fetches and logging
      
      * [Auto Parallel] Make Engine class callable
      
      * [Auto Parallel] Update the data loading of tuner
      
      * Print IPS in auto parallel Engine (#46554)
      
      * [AutoParallel] fix dist_split (#46505)
      
      * [AutoParallel] fix dist_split
      
      * add unittest
      
      * update cmakelist
      
      * [AutoParallel] fix sharding (#46572)
      
      * [AutoParallel] fix process_mesh (#46583)
      
      * [AutoParallel] fix reshard when train with eval (#46605)
      
      * [AutoParallel] fix reshard when train with eval
      
      * fix mppp
      
      * [AutoParallel] fix amp when predict (#46637)
      
      * [Auto Parallel]Update comp cost and completion for gpt auto search (#46387)
      
      * update comp cost and completion for gpt auto search
      
      * add unittest
      
      * [Auto Parallel] Fix bugs caused by the inconsistent outputs of Engine API (#46633)
      
      * [Auto Parallel] Unify the logger and outputs of Engine API
      
      * [Auto Parallel] Fix the bugs of to_static
      
      * [Auto Parallel] Adjust the test_to_static.py
      
      * [Auto Parallel] Improve the fine-grained APIs (#46552)
      
      * [Auto Parallel] Suppport different dataloaders
      
      * [Auto Parallel] Add num_shards config for dataset
      
      * [Auto Parallel] Unify the logger and outputs of Engine API
      
      * [Auto Parallel] Fix the bugs of to_static
      
      * [Auto Parallel] Adjust the test_to_static.py
      
      * [Auto Parallel] Add the prepare API and replace __call__ with run
      
      * [Auto Parallel] Improve the private implementations of Engine
      
      * [Auto Parallel] Set capacity of dataloader for opt tuning
      
      * [Auto Parallel] [WIP] Change the fine-grained API
      
      * [Auto Parallel] Improve APIs to support different user cases
      
      * [Auto Parallel] Add removed config
      
      * [Auto Parallel] Add imports
      
      * [Auto Parallel] Fix bugs for to_static
      
      * [Auto Parallel] Remove unnecessary imports
      
      * bugfix (#46921)
      
      * [Auto Parallel] Fix the bug for None labels (#46987)
      
      * [AutoParallel] adapt for gpt-gen (#46771)
      
      * for gpt-gen
      
      * fix reshard
      
      * adapt assign and shape op
      
      * add dist_assign & unittest
      
      * add conditional block unittest
      
      * rename unittest
      
      * [Auto Parallel] Fix the bug of completion (#47056)
      
      * [Auto Parallel] Fix the bug for None labels
      
      * [Auto Parallel] Fix the completion bug
      
      * [AutoParallel] add callbacks (#47014)
      
      * [AutoParallel] add callbacks
      
      * fix unittest
      
      * fix dist_context
      
      * fix engine
      
      * fix cmakelist
      
      * fix unittest's returns
      
      * fix cmakelist
      
      * [Auto Parallel] Add cost interface (#47043)
      
      * add cost interface
      
      * update inferface and add unittest
      
      * update unittest
      
      * update inferface
      
      * [Auto Parallel]Add parallel tuner (#46189)
      
      * add parallel tuner
      
      * add unittest
      
      * fix unittest
      
      * set timeout of unittest
      
      * set unittest timeout
      
      * fix auto_mode setting
      
      * update unittest
      
      * sync from develop and update unittest
      
      * remove unused import
      
      * update unittest
      
      * update cmakelist
      
      * add unittests
      Co-authored-by: NYulong Ao <aoyulong@baidu.com>
      Co-authored-by: NRuibiao Chen <chenruibiao@baidu.com>
      Co-authored-by: Ncaozhou <48191911+Caozhou1995@users.noreply.github.com>
      Co-authored-by: NJZ-LIANG <jianzhongliang10@gmail.com>
      90b31790
    • Z
      [cherry-pick] strided_slice grad add fp16 support (#47159) · 23f2a4ea
      Zhang Ting 提交于
      * strided_slice grad add fp16 support
      23f2a4ea
    • Y
      Add unsigned int8 scale propagation (#46378) (#47156) · 66dccd7d
      yeliang2258 提交于
      * Add unsigned int8 propagation
      
      * Add or modify unit tests
      
      * Correct concat scale checking
      
      * Apply review suggestions
      
      * Corrections
      Co-authored-by: Njoanna.wozna.intel <joanna.wozna@intel.com>
      66dccd7d
    • A
      [Dy2Stat]Polish @to_static temporary file directory to speed up transformation (#47102) (#47144) · 5a9befea
      Aurelius84 提交于
      Polish @to_static temporary file directory to speed up transformation
      5a9befea
    • X
      [CherryPick] Support TypeHint for function decorated by @to_static (#47147) · 247ef477
      xiongkun 提交于
      * [Dy2Static] Support TypeHint for function decorated by @to_static (#47121)
      
      * Add TypeHint Transformer
      
      * add unittest for typehint transformer
      
      * [Dy2Static] Remove GradTransformer (#47063)
      
      * [Dy2Static] Remove GradTransformer
      1. fix einsum infershape bugs.
      2. remove grad_transformer and unify paddle.grad and paddle.static.gradient.
      3. add dygraph_and_dy2static_only decorator for dy2static.
      
      * fix bugs
      
      * rename
      247ef477
    • G
      Add enable_partial_send_recv switch in pipeline_configs (#46992) (#47083) · 1d015f12
      Ghost Screaming 提交于
      * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
      is wrong.
      
      * Support allow_partial switch, which can be configure in
      pipeline_configs. If sent tensor are not the same from
      different hosts, they shouldn't been sent partially and
      then concated as a whole tensor.
      
      * Change name allow_partial to enable_partial_send_recv.
      
      * Add global variable _enable_partial_send_recv
      1d015f12
    • W
      [Dy2St]Fix recurrent op eager deletion pass error in dy2st (#47105) (#47134) · 69515e90
      WangZhen 提交于
      [CherryPick][Dy2St]Fix recurrent op eager deletion pass error in dy2st
      69515e90
    • Y
      update audio api examples (#46938) (#47126) · f08c1041
      YangZhou 提交于
      * update audio api examples
      
      * fix format
      
      * format
      
      * fix
      
      * test api
      
      * fix format
      
      * fix static check error
      
      * fix doc error
      
      * fix ci
      
      * fix api error
      
      * update api.spec
      
      * fix ci
      
      * fix typo in window gaussian
      f08c1041
    • H
      [ cherrypick] Construct exec and ctx only once in cond op to speed up (#47012) · fcb9c0b5
      Hui Zhang 提交于
      Construct exec and ctx only once in cond op to speed up
      fcb9c0b5
  2. 18 10月, 2022 7 次提交
  3. 17 10月, 2022 9 次提交
  4. 14 10月, 2022 8 次提交
  5. 13 10月, 2022 3 次提交
  6. 12 10月, 2022 2 次提交
  7. 11 10月, 2022 2 次提交