1. 07 11月, 2022 1 次提交
  2. 04 11月, 2022 2 次提交
    • X
      [CherryPick] Cherry pick #45916 #46031 #47299 (#47610) · 72e1eb6b
      xiongkun 提交于
      * [ Dy2Static ] Fix bugs when select inputs meeting different shape or undefined-var (#45916)
      
      * fix select_input with different shape errors:
      1. select_input_with_buildin_type directly return non-undefinedvar branch when meeting undefined var
      2. the output shape of select_input is inferred from inputs.
      
      * reverse the logic in select_input
      
      * [warning] added warning message in cond block when one branch returns variable and another returns None (#46031)
      
      * [cherry-pick] Allow manaully set py_reader name in standalone executor (#45898) (#45931)
      
      * Allow manaully set py_reader name in standalone executor
      
      * [BugFix] while cond receives dict as input (#47299)
      
      * fix bugs while cond receives dict as input
      
      * add unittest
      
      * change flatten -> _is_sequence_except_dict
      
      * code format
      Co-authored-by: Nfeifei-111 <wuzhanfei@baidu.com>
      72e1eb6b
    • L
      [cherry-pick2.4]for CodeStyle (#47608) · cfee9c13
      Ligoml 提交于
      * only run pre-commit
      
      * only run pre-commit
      cfee9c13
  3. 03 11月, 2022 3 次提交
  4. 01 11月, 2022 3 次提交
    • Z
      [cherry-pick]Fix english documents of sparse api (#47496) · 61953b90
      zhangkaihuo 提交于
      Fix english documents of sparse api
      61953b90
    • Z
      [cherry-pick][code-gen] Support code-gen for opmaker of sparse op (#46993) (#47417) · 601626ac
      zyfncg 提交于
      * support generating code of opmaker for backward op invoke forward op (#46912)
      
      * [code-gen] Support code-gen for opmaker of sparse op (#46993)
      
      * support generating code of opmaker for backward op invoke forward op
      
      * gsupport code-gen of opmaker for sparse op
      
      * refind logic of choose phi kernrel
      
      * fix complie budg
      
      * fix code_gen bug
      
      * fix bug
      
      * fix kernel signature code-gen
      
      * fix complie bug of VarType
      
      * fix complie bug of VarType
      
      * fix test_sparse_conv_op
      
      * fix test_sparse_norm_op
      
      * [Phi] Refactor logic of judging whether having a phi kernrel (#46920)
      
      * refind logic of choose phi kernrel
      
      * fix complie budg
      
      * update cmake
      601626ac
    • S
      add missing scale parameter (#47522) · 5ffd4afe
      sneaxiy 提交于
      5ffd4afe
  5. 31 10月, 2022 3 次提交
    • Z
      2.4/fix engine build (#47462) · 4b3589fb
      zhaoyingli 提交于
      * update codestyle
      
      * [AutoParallel] fix fp16 for subblock (#47189)
      
      * [AutoParallel] fix fp16 for subblock
      
      * fix engine
      
      * fix comment
      
      * [AutoParallel] fix engine _build and cost method (#47263)
      
      * fix engine build method
      
      * fix import
      
      * update engine cost
      
      * update raise error
      
      * update cmakelist
      
      * revert optimizer
      
      * revert optimizer
      
      * fix unittest
      
      * fix unittest
      Co-authored-by: Ncaozhou <caozhou@radi.ac.cn>
      Co-authored-by: Ncaozhou <caozhou@radi.ac.cn>
      4b3589fb
    • Y
      [Cherry-pick][audio] rm kaiser window in audio get_window function && rm audio... · f93e9a58
      YangZhou 提交于
      [Cherry-pick][audio] rm kaiser window in audio get_window function && rm audio utils(#47469) (#47479)
      
      * [audio] rm kaiser window in audio get_window function && rm audio utils (#47469)
      
      * rm kaiser window in audio window function
      
      * rm paddle audio utils which is redundant
      
      * rm kaiser in test_audio_functions.py
      Conflicts:
      	python/paddle/audio/utils/error.py
      	python/paddle/tests/test_audio_functions.py
      
      * format
      f93e9a58
    • G
      [cherry-pick] update dygraph PTQ export_model api (#47415) · 12b9b03e
      Guanghua Yu 提交于
      * update dygraph PTQ export_model api
      
      * remove postprocess
      12b9b03e
  6. 29 10月, 2022 2 次提交
  7. 28 10月, 2022 2 次提交
  8. 27 10月, 2022 2 次提交
  9. 26 10月, 2022 3 次提交
  10. 25 10月, 2022 2 次提交
  11. 24 10月, 2022 5 次提交
  12. 21 10月, 2022 2 次提交
    • H
      support qat in sharding stage2 (#47169) (#47240) · 281891c5
      Haohongxiang 提交于
      281891c5
    • Y
      Add paddle audio dataset & backend (#45939) (#47230) · 29c9f027
      YangZhou 提交于
      * add audio feature dataset
      
      * fix coding style
      
      * fix coding style2
      
      * rm librosa
      
      * rm voxceleb
      
      * rm librosa in test
      
      * add scipy fftpack
      
      * add functional
      
      * fix setup
      
      * fix setup2
      
      * rm colorlog
      
      * refactor dataset __init__.py
      
      * fix converage
      
      * fix librosa import error
      
      * fix windows test
      
      * fix windows ci
      
      * rm datasets
      
      * fix setup
      
      * remove testdata
      
      * add librosa in requirement
      
      * add librosa in requirement2
      
      * change librosa to 0.8.1
      
      * update ci docker
      
      * fix ci error
      
      * fix ci error2
      
      * fix ci coverage
      
      * fix converage
      
      * fix coverage
      
      * rm audio_base in test, notest,test=coverage
      
      * fix copyright
      
      * rm backend
      
      * add datast in __init__
      
      * rm compliance&&add function test
      
      * fix setup
      
      * fix windows
      
      * fix windows2
      
      * fix test timeout
      
      * add backend & datasets
      
      * fix bugs
      
      * fix ci time issue
      
      * add dataset test
      
      * rm test_audio_feature
      
      * avoid windows isssue, tmp
      
      * note windows isssue
      
      * skip windows issue
      
      * refactor dataset test
      
      * add dataset.py
      
      * fix dtype in layers.mfcc
      
      * fix ci-static-check
      
      * fix dtype in layers.mfcc && fix ci-static-check
      
      * add relative accuracy
      
      * modity API.spec
      
      * skip cuda11.2 test
      
      * skip cuda11.2 test2
      
      * skip cuda11.2
      
      * change dataset name
      
      * fix format
      
      * update api.spec
      
      * update api.spec2
      
      * fix coverage
      
      * add dataset test
      
      * rm download load dict
      
      * rm download load dict in init
      
      * update api.spec3
      
      * fix dataset coverage
      
      * fix coverage
      
      * fix coverage2
      
      * restore api.spec
      
      * restore api.spec2
      
      * fix api-spec 3
      
      * fix api-spec 4
      
      * fix api.spec
      
      * fix api.spec6
      
      * refactor init_backend
      
      * fix typo
      
      * change paddleaudio backend set
      
      * fix get_current_audio_backend()
      
      * fix format
      
      * fix format2
      
      * remove format in parameters
      
      * fix format2
      
      * add warning massage in wave_backend && remove redundant audio util
      
      * rm audio util in print_signatures
      
      * fix format3
      
      * add tess dataset license
      
      * format warning
      
      * add more info in warning msg
      
      * add paddleaudio version check
      
      * replace dataset esc50 with tess
      
      * add tess dataset && rm numpy transform in dataset.py
      
      * fix set audio backend bug
      
      * fix equal error
      
      * fix format && coverage error
      
      * add api example
      
      * fix format
      
      * fix error
      
      * fix typo
      
      * add noqa in __init__
      
      * fix backend doc example error
      
      * rm seed in dataset
      
      * update bakcend example
      
      * fix typo
      
      * fix typo
      
      * fix example err
      
      * fix typo
      
      * fix ci dataset test
      
      * fix example fil
      
      * try to fix ci
      
      * clean dataset doc
      
      * change get_current_audio_backend to get_current_backend
      
      * creplace paddle.audio.backends.info with paddle.audio.info, same with load, save
      
      * fix ci error
      
      * repalce api in test_audio_backend
      
      * fix save&&set_backend exmaple
      29c9f027
  13. 20 10月, 2022 9 次提交
  14. 19 10月, 2022 1 次提交
    • 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