1. 03 11月, 2022 1 次提交
  2. 29 10月, 2022 1 次提交
  3. 21 10月, 2022 1 次提交
  4. 20 10月, 2022 1 次提交
    • Y
      add paddle audio dataset && backend (#45939) · ec5b27f5
      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
      ec5b27f5
  5. 13 10月, 2022 1 次提交
    • X
      [WIP]飞桨PaddlePaddle 分布式强化学习功能研发 (#45998) · f0afcabc
      Xinger 提交于
      * add rpc module in cpp side
      
      * add rpc module in python side
      
      * support win32 and mac for rpc
      
      * 代码优化
      
      * 优化代码
      
      * update rpc
      
      * update rpc launch
      
      * rpc remove rank and world_size api
      
      * fix logger import bug
      
      * remove support for win and mac
      
      * remove support for xpu, npu, cinn and rocm
      
      * remove support for xpu, npu, cinn and rocm
      
      * fix shutdown barrier timeout bug
      
      * update:python_rpc_handler to shared ptr
      
      * fix master shutodwn first bug
      
      * tests support for cpu
      
      * update log to vlog
      
      * update get service info api
      
      * add single process test case
      
      * remove process group
      
      * remove some useless dependencies
      
      * update rpc api comments
      
      * update rpc comments: Example to Examples
      
      * update rpc api comments
      
      * update rpc api comments
      
      * update launch api comments
      
      * update init_rpc comments
      
      * update rpc sync and async comments
      
      * fix bug: init_rpc cant be called repeatly in a process
      
      * update rpc api comment: make master endpoint unique
      
      * update rpc api:service to worker, timeout_ms to timeout
      
      * rename ServiceInfo to WorkerInfo
      
      * refactor: rename server to worker, log to vlog
      
      * add launch test
      
      * remove unused codes
      
      * refine
      f0afcabc
  6. 11 10月, 2022 1 次提交
  7. 10 10月, 2022 1 次提交
  8. 27 9月, 2022 1 次提交
  9. 21 9月, 2022 1 次提交
  10. 20 9月, 2022 1 次提交
    • R
      logger manager (#45909) · 264ad205
      Roc 提交于
      uniform logger manager in FleetAPI.
      hidde API under distributed/utils which users don't need.
      264ad205
  11. 19 9月, 2022 1 次提交
  12. 16 9月, 2022 2 次提交
    • C
      Unify core avx and core_noavx to libpaddle (#46095) · 267d71a4
      Chen Weihang 提交于
      * unify  core_avx and core_noavx
      
      * fix except error
      
      * revert mac compile logic
      
      * revert dylib to so
      
      * add core_noavx branch
      
      * remove core_noavx
      
      * replace paddle_core by lib paddle
      
      * polish var name
      
      * replace paddle_core by libpaddle
      
      * update custom device commit
      
      * polish code by comments
      267d71a4
    • W
      refactor mp. (#45803) · fa97e5ba
      wuhuachaocoding 提交于
      * refactor mp.
      
      * update setup.py.
      
      * update mp_layers.py for compatibility.
      
      * add documents for mp_layers.py
      
      * update init.py
      
      * update collective.py.
      
      * update.
      
      * update mp_ops.py
      
      * update.
      
      * update code style.
      
      * update code style.
      fa97e5ba
  13. 09 9月, 2022 1 次提交
    • Y
      Add paddle audio feature module (#45424) · 7c1dc754
      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
      
      * rm compliance&&add function test
      
      * fix setup
      
      * fix windows
      
      * fix windows2
      
      * fix test timeout
      
      * fix ci time issue
      
      * rm test_audio_feature
      
      * avoid windows isssue, tmp
      
      * note windows isssue
      
      * skip windows issue
      
      * 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
      7c1dc754
  14. 31 8月, 2022 1 次提交
  15. 29 8月, 2022 1 次提交
    • S
      [geometric]Move graph-related incubate api to geometric (#44970) · 8f657f74
      Siming Dai 提交于
      * move incubate to geometric
      
      * add paddle.geometric
      
      * fix unittest bug
      
      * add float16 support for segment op
      
      * change reindex and sample neighbors flag name
      
      * add heter graph reindex
      
      * move sample_neighbors.py to neighbors.py
      
      * delete khop_sampler in geometric
      
      * delete unused code
      
      * change sample_neighbors api input order
      
      * fix en doc
      
      * fix unittest
      
      * fix unittest
      
      * change reindex
      
      * fix division by 0
      
      * delete unnecessary input argument
      
      * delete final_state
      8f657f74
  16. 23 8月, 2022 1 次提交
  17. 09 8月, 2022 1 次提交
    • S
      [geometric]Add paddle.geometric.send_u_recv API (#44580) · 34b43555
      Siming Dai 提交于
      * change out_size to INTArray
      
      * fix out_size eager bug
      
      * add unittest for out_size tensor
      
      * add deprecated for paddle.incubate.graph_send_recv, add paddle.geometric.send_u_recv and unittests
      
      * fix lowest bug
      
      * fix according review comment
      
      * add default value in yaml
      
      * change api file name
      
      * change name
      34b43555
  18. 08 8月, 2022 1 次提交
  19. 04 8月, 2022 2 次提交
  20. 27 7月, 2022 1 次提交
  21. 13 7月, 2022 1 次提交
  22. 01 7月, 2022 1 次提交
  23. 23 6月, 2022 1 次提交
  24. 22 6月, 2022 1 次提交
  25. 21 6月, 2022 1 次提交
  26. 16 6月, 2022 1 次提交
  27. 06 6月, 2022 1 次提交
    • H
      [inference]Resolve protobuf of ORT Backend conflict (#43159) · 607a1d65
      heliqi 提交于
      * modify paddle2onnx cmake
      
      * modify paddle2onnx cmake
      
      * modify export interface
      
      * modify paddle2onnx export
      
      * paddle2onnx add mac windows
      
      * modify paddle2onnx mac windows cmake
      
      * modify paddle2onnx mac windows cmake
      
      * modify paddle2onnx cmake support windows
      
      * modify paddle2onnx cmake support windows
      
      * modify paddle2onnx cmake support windows
      Co-authored-by: Nxiegegege <xiege01@baidu.com>
      607a1d65
  28. 01 6月, 2022 1 次提交
  29. 25 5月, 2022 1 次提交
    • M
      Dynamic graph support to Automatic SParsity. (#41177) · e5fc68b2
      Ming-Xu Huang 提交于
      * Dynamic graph support to Automatic SParsity.
      
      1. Added dynamic support to ASP module (paddle.fluid.contrib.sparsity).
      2. Added ASP related unit-tests regards to above changes.
      3. Put ASP module under paddle.static for now, waiting for APIs confirmation from Paddle.
      
      * Modified documents of functions to have correct examples.
      
      * Update in_dygraph_mode to paddle.in_dynamic_mode()
      
      * Modified documents of functions and added comments
      
      * Minor changes.
      
      * Fix example errors in asp API.
      
      * Code Change for Review
      
      1. Added more examples in documents.
      2. Chaged test_asp_pruning_static.
      
      * Minor changes
      
      * Update ASP function documents.
      
      * Update ASP function documents.
      
      * Reduce test case size of asp pruning due CI time limit.
      
      * Update time limitation to some asp UTs.
      
      * Fix sample code errors.
      
      * Fix sample code errors.
      
      * Fix sample code errors.
      
      * Update time limitation to parts of ASP UTs.
      
      * Update UTs to fit with CI.
      
      * Reduce problem size in python/paddle/fluid/tests/unittests/asp/test_fleet_with_asp_dynamic.py
      
      * Added paddle.asp
      
      * Fixed type casting error of OpRole.Optimize in new dygraph mode.
      
      * Made set_excluded_layers be compatible with 2.2
      
      * Fix example code of calculate_density.
      
      * Update code examples.
      
      * Move paddle.asp to paddle.incubate.asp
      
      * Fixed an example error of calculate_density
      e5fc68b2
  30. 18 5月, 2022 1 次提交
    • W
      Add support for forward and reverse high-order automatic differentiation mechanism (#41919) · f6ee202f
      WangZhen 提交于
      * Updated triple_grad_check func
      
      * add todo for gradient checker and refine some comments
      
      * remove additional code
      
      * add test for warnging in backward.py
      
      * format python code
      
      * support multi input in triple gradient checker
      
      * Add matmul triple grad kernel
      
      * Updated comments of TODO
      
      * Supported some special tests
      
      * Change code-format to follow CI std
      
      * Updated gradient_checker.py
      
      * Fix conflicts
      
      * Removed unnecessary printing log
      
      * Change code style to follow CI std
      
      * merge upstream
      
      * add priops.py
      
      * add_p
      
      * rm useless files
      
      * add sub_p mul_p div_p
      
      * add sqrt_p and tanh_p
      
      * add reshape_p
      
      * add broadcast_p
      
      * Add python primitive wrappers.
      
      * Jvp rules updated.
      
      * JVP rules done for all the 17 primops.
      
      * quick check and fixes.
      
      * add jvp(op, *args)
      
      * add broadcast_p fill_constant_p matmul_p reduce_p reshape_p transpose_p
      
      * add split_p and concat_p
      
      * add gather_p and scatter_add_p
      
      * add slice_select_p and slice_assign_p
      
      * Add transpose rules.
      
      * add multi input check for add_p, sub_p, mul_p, div_p
      
      * update concat_p
      
      * Linearize and transpose in progress..
      
      * refine gather_p and scatter_add_p
      
      * updated.
      
      * update transpose.
      
      * refine slice_assign_p and slice_select_p
      
      * init commit for lower
      
      * Merged with primitive ops.
      
      * small update
      
      * add rules for orig2prim and prim2orig
      
      * add 9 test for prim ops
      
      * add more test and fix some bug
      
      * add more test
      
      * register proto
      
      * Adding primops test.
      
      * add shape valid check for broadcast_p op, and add keepdim attr into reduce_p op proto
      
      * support multi input and multi output for split_p and concat_p
      
      * Test updated.
      
      * update
      
      * fix slice bug for slice_select_p and slice_assign_p
      
      * updated.
      
      * Ops updated.
      
      * Refactor and bug fixes.
      
      * updated.
      
      * finish orig2prim and prim2orig rules
      
      * dtype for axis attr should be long int
      
      * update dtype for axis attr int64_t
      
      * update for iscan CI
      
      * Update primx.
      
      * Refactor vars in primx.
      
      * update for lower transform
      
      * add more shape and dtype check
      
      * update primx.py
      
      * change IndexTensor into int32 dtype
      
      * update
      
      * Fix linearize and transpose.
      
      * Update is_dot
      
      * Update is_dot
      
      * Update is_dot
      
      * add gradient aggregation, fix add_transpose.
      
      * pass first linearize+transpose test.
      
      * update test
      
      * refactor op registration and primx.
      
      * update rule for slice_assign
      
      * try test lower
      
      * update orig2prim and prim2orig
      
      * pass simple lower pass
      
      * update
      
      * Update input types in the unit test.
      
      * orig2prim segfault.
      
      * 50% for adam.minimize
      
      * test updated.
      
      * temp fix erros in removing vars.
      
      * primx updated.
      
      * update for matmul_v2 and reshape2 orig2prim
      
      * update for minimize
      
      * Refine primrules
      
      * Remove some code
      
      * supporting unused and unreachable vars.
      
      * update for use prim2orig in minimize
      
      * fix gather and scatter_add transpose.
      
      * Add rules UT
      
      * update scatter_add
      
      * Refine UT code
      
      * fix nonetype check in topo
      
      * Update gather_p pywrapper.
      
      * remove useless print
      
      * Merge tongxin PR and refine code
      
      * readd some test
      
      * rm useless print
      
      * polish code.
      
      * fix bug in minimize
      
      * add get_input_var_list and get_output_var_list and use it in lower
      
      * Fix scatter_add_p prim2orig
      
      * Update code and fix orig2prim/prim2orig UT
      
      * delete vars after block.desc._remove
      
      * Improve ops and vars clean up logics.
      
      * fix some bug in linearize and lower
      
      * update tanh transpose.
      
      * use set instead of list for var2remove
      
      * test updated.
      
      * polish code.
      
      * fix dot2bar delete.
      
      * merge tx/ad
      
      * add indextensor_dot for gather and scatter_add
      
      * add sorted for set
      
      * Fix scale_orig2prim params
      
      * fix some syntax bug
      
      * add golbal_lower_update list
      
      * Better handling of unused vars.
      
      * update tests.
      
      * Fix elementwise_sub orig2prim
      
      * support none for transpose rule
      
      * Merge and add transform UT
      
      * fix a bug in transpose
      
      * Fix transpose and UT
      
      * a hacky fix for cancat op
      
      * Fix exector place
      
      * Refine variable name
      
      * Add elementwise_mul orig2prim and support p_norm when p=1
      
      * Add sqrt orig2prim rule and UT
      
      * merge wz test
      
      * rename files, add enable_prim, disable_prim, prim_enabled, delete global_lower_update
      
      * fix a bug in test_ad_transform_trans
      
      * revert modify in framework.py
      
      * add paddle.fluid.incubate.ad_transform to  python/setup.py.in
      
      * Fix remove vars error
      
      * Fix p_norm_orig2prim
      
      * merge wz
      
      * Modify the code directory
      
      * Add utils.py and remove get_input/output_vars functions
      
      * Update maolin code
      
      * Rename UT and refine test_ad_transform_primops
      
      * Fix div_p jvp rule
      
      * Add higher derivatives UT
      
      * Remove UT to autograd dir
      
      * Fix comments
      
      * import paddle in primops.py
      
      * Add some error message for assert
      
      * Refine UT class name and refine some comments in primreg.py
      
      * update minimize of paddle/optimizer for supporting new autograd
      
      * resolve cicular importing between backward.py and optimizer.py
      
      * fill gradients and minimize unittest
      
      * Replace `assert isinstance` with `raise TypeError`
      
      * Add some assert message for primx.py
      
      * Polish variable name
      
      * Add some assert message
      
      * add some docstring
      
      * refine some name
      
      * update the format of english documents
      
      * Split test_transform.py to two files to avoid ci error
      
      * fix the document format of enable_prim/disable_prim/prim2orig/prim_enabled
      
      * polish test_gradients_and_minimize
      
      * add default value for prim_enabled api doc
      
      * Remove some UT to avoid windows ci error
      
      * Enlarge test_gradients_and_minimize limit time
      
      * Fix ut limit time
      Co-authored-by: Nveyron95 <veyron_wu@163.com>
      Co-authored-by: NJiabin Yang <360788950@qq.com>
      Co-authored-by: Nlevi131 <limaolin01@baidu.com>
      Co-authored-by: NTongxin Bai <waffle.bai@gmail.com>
      Co-authored-by: NXiaoxu Chen <chenxx_id@163.com>
      Co-authored-by: Nlevi131 <83750468+levi131@users.noreply.github.com>
      f6ee202f
  31. 27 4月, 2022 1 次提交
    • R
      Fix paddle setup (#42254) · 8395d660
      Roc 提交于
      * expose api
      
      * ref clipgradbynorm
      
      * update
      
      * Update __init__.py
      8395d660
  32. 25 4月, 2022 1 次提交
  33. 06 4月, 2022 2 次提交
  34. 04 4月, 2022 1 次提交
  35. 02 4月, 2022 1 次提交
    • X
      Enhance vjp/jvp/Jacobian/Hessian API for supporting dynamic, static graph and... · 9e764d82
      Xiaoxu Chen 提交于
      Enhance vjp/jvp/Jacobian/Hessian API for supporting dynamic, static graph and batched, unbatched mode (#40692)
      
      * modify vjp/jvp for both dynamic and static graph
      
      * enforce jacobian class for supporting first/last batch
      
      * add unittest for jvp, jacobian withlast batch, jacobian with first batch
      
      * fix the incorrect shape when multi-index Jacobian
      
      * enforce Hessian class for supporting dynamic graph
      
      * add Hessian class unittest
      
      * bugfix, jvp double_backward_trick zeros_like return stop_gradient=True in static graph
      
      * add API beta warnnings
      
      * add white_list for cuda11.x ci windows.
      
      * optimize some code snippets and documments
      
      * set unittest timeout to 100 seconds
      
      * move vjp,jvp,Jacobian,Hessian to incubate
      
      * fix vjp,vjp import path of sample code
      
      * fix code style error of augtograd/__init__ file
      9e764d82
  36. 31 3月, 2022 1 次提交
    • S
      [New API]: miminize_bfgs and miminize_lbfgs (#40710) · e7928a06
      Sing_chan 提交于
      * [New API]: miminize_bfgs and miminize_lbfgs
      
      * modify for python module call correctly
      
      * add functional package, add error raise in static_graph, change assign to set_value
      
      * unify static_graph and dygraph, fix bug when x or H0 is float64
      
      * now only accept input is tensor, put check args in utils.py, put exception test together
      
      * temp
      
      * add more detailed algorithm illustration and comment, reduce test case to limit test time in 15s
      
      * change in_dygraph_mode to in_dynamic_mode
      
      * fix bug of sample code; reduce test case to reduce test time
      
      * change dir to incubate
      e7928a06
  37. 24 3月, 2022 1 次提交