- 21 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* support ir api form prim * convert vector of int to intarray * support ir api for prim * Add more gen api * concat python api to concat_grad * fix gen conflict * support vjp prim mode in new ir * remove useless code * add vjp autogen v1.0 * add test for prim * resolve type conflict * modify utils * remove useless code * add split op and modify some bug of vectorType * fix conflict * add concat python test --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: Nchenzhiyang <1792266893@qq.com> Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
-
- 19 8月, 2023 1 次提交
-
-
由 Yuang Liu 提交于
-
- 18 8月, 2023 4 次提交
-
-
由 Leo Chen 提交于
* remove empty block program * update implementation
-
由 小飞猪 提交于
* [Doctest]fix No.198-199, test=docs_preview * [Doctest]fix No.199, test=docs_preview * abandon fluid * fix () * fix code
-
由 Kai Song 提交于
* [Custom Device]add lr_ratio support of adamw for mlu * fix * fix
-
由 LoneRanger 提交于
* fix sample codes * fix bug * fix bug * fix bug
-
- 17 8月, 2023 8 次提交
-
-
由 Orkun Özoğlu 提交于
-
由 xiaoguoguo626807 提交于
【New IR】 backward gradients accumulate test and pulish append_backward_ops func for op_pattern (#56265) * [prim][newir] add basic framework for primitive * support desctensor in new ir * add vjp interface * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * [prim][newir] add basic framework for primitive * support desctensor in new ir * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * add eager and static backend for warp lower level api * support call_vjp pybind * polish code and add test for vjp * remove useless code * polish code * remove useless code * support mean vjp * backward origin code * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add attrs and dtype interface * add primitive ops set for backend * fix compile bugs * fix some bugs * fix windows bugs * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * origin test of tanh and mean passed * fix conflict * modify stop_gradient * remove useless deps * add cmake * modify block.ops * modify test * fix conflict * reply review comments * reply review comments * pulish code * fix comment * fix test * polish code * modify backward stop_gradients * modify static_backend.cc * refactor grad_op * support add and add_inplace vjp * remove useless code * remove useless code * remove cout * modify add_n * modify add_n with add_vjp test * modify add_n with add_vjp test * fix conflict and concat call_vjp * modify backward test * Add more gen api --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com>
-
由 huangjiyi 提交于
* update * fix codestyle * update * update
-
由 cyberslack_lee 提交于
* test=docs_preview * test=docs_preview
-
由 xiongkun 提交于
* Fix and add unittest * don't introduce assign when already in global block. * fix more * fix bugs * fix bugs * fix ci * fix bfgs * make function local
-
由 cyber-pioneer 提交于
* support setting backward prim blacklist * add test case * polish prim forward flag * fix test case
-
由 Kai Song 提交于
* [Custom Dice]add run_check support for custom device * fix error msg * fix typo * update for all custom device * fix * add warning msg
-
由 zhiboniu 提交于
* add lu_unpack data check * add error input api test * add error type info
-
- 16 8月, 2023 10 次提交
-
-
由 Ghost Screaming 提交于
* [WIP] Add mp_all_reduce asynchronize overlap. * Fix some problems. * Fix dw compute bug, and use a temporary solution to achieve overlap. * Use fused_linear_param_grad_add to compute dw. * Reformat ColumnParallel _overlap_linear. Use environment flags to control following behaviors: 1. export Flags_mp_aysnc_allreduce=True to turn on mp async all_reduce 2. export Flags_skip_mp_c_identity=True to skip two c_identity operators in dygraph mode. 3. export Flags_fused_linear_param_grad_add to enable fused_linear_param_grad_add in ColumnParallel backward with mp async all_reduce. * Polish code. * Remove useless communication API. * Fix some problems in mp_async_all_reduce and skip_c_identity. * Add test cases. * Remove environment variable Flags_fused_linear_param_grad_add in test case. * Reset error threshold. * Reset threshold in test case. * Add useful log. Remove useless test cases.
-
由 MarDino 提交于
* refine static op return val
-
由 kangguangli 提交于
* fix inset get_parameter op bug * fix bug: insert only for parameters * fix bug: wrong idx in vector --------- Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
-
由 cyberslack_lee 提交于
* test=docs_preview * test=docs_preview * test=docs_preview * test=docs_preview * fix indent in math.py * test=docs_preview * test=docs_preview * test=docs_preview * test=docs_preview --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
由 xiongkun 提交于
-
由 JYChen 提交于
* add range support in indexing * add getitem ut case
-
由 PommesPeter 提交于
* fix: updated code examples. * fix: updated blank lines. * fix: updated code style * fix: removed extra changes * fix: refine detail
-
由 Candy2Tang 提交于
[xdoctest][task 108] Reformat example code with google style in python/paddle/optimizer/lbfgs.py (#56224) * [xdoctest][task 108] test=docs_preview * Apply suggestions from code review --------- Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
-
由 zhaoyingli 提交于
* make params_grads order same bewteen dynamic and static mode * revert inplace clip * use sorted attribute to control * tiny fix * fix find loss_grad_op
-
由 Candy2Tang 提交于
[xdoctest][task 120] Reformat example code with google style in python/paddle/quantization/observers/abs_max.py (#56231) Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
-
- 15 8月, 2023 9 次提交
-
-
由 yinwei 提交于
--------- Co-authored-by: Ntianhaodongbd <tianhaodong@baidu.com>
-
由 xiaoxiaohehe001 提交于
* support_mmha * add_python_api * add_api_doc * fix_doc_error * fix_infermeta * add_infermeta * add_bf16_cuda_check * add_bf16_check * fix_ci_windows * fix_ci_windows_kernel_register * fix_test_mmha * add_cumoffsets * remove_bias * delete_mmha_reshape_input_output * rename_delete_hfile * remove_fluid --------- Co-authored-by: Nyangjianfengo1 <yangjianfeng01@baidu.com>
-
由 Candy2Tang 提交于
[xdoctest][task 142] Reformat example code with google style in quantization/quant_int8_mkldnn_pass.py (#56239) * [xdoctest][task 142] test=docs_preview * Update python/paddle/static/quantization/quant_int8_mkldnn_pass.py * Update python/paddle/static/quantization/quant_int8_mkldnn_pass.py --------- Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
-
由 iSerendipity 提交于
* [dtype] add fp16 support for dist_kernel * fix typo * fix CE * fix CE * fix CE * fix CE * fix CE * refactor * fix CE * fix CE * fix varname * add bf16 * add ut for bf16 * fix CE
-
由 lzydev 提交于
* Improve GC for pipeline parallel * Delete print * fix bug of nop_op and sharding --------- Co-authored-by: Nchenruibiao <chenruibiao@baidu.com>
-
由 LoneRanger 提交于
* fix sample codes * fix bug * Update tess.py
-
由 张春乔 提交于
* Update dlpack.py * Apply suggestions from code review * Apply suggestions from code review
-
由 Sonder 提交于
-
由 xiaoguoguo626807 提交于
* add reference of lbfgs * add reference of lbfgs
-
- 14 8月, 2023 7 次提交
-
-
由 张春乔 提交于
* input.py * Update python/paddle/nn/functional/input.py * Update input.py * Update all_gather.py * Update all_gather.py
-
由 张春乔 提交于
-
由 Candy2Tang 提交于
[xdoctest][task 123] Reformat example code with google style in python/paddle/quantization/quanters/abs_max.py (#56234)
-
由 Candy2Tang 提交于
[xdoctest][task 107]reformat example code with google style in python/paddle/optimizer/lamb.py test=docs_preivew (#56223)
-
由 iSerendipity 提交于
* [AMP] add fp16 op detection for custom device * resolve conflicts
-
由 Candy2Tang 提交于
[xdoctest][task 106] Reformat example code with google style in python/paddle/optimizer/adamw.py (#56222) * [xdoctest][task 106]reformat example code with google style in python/paddle/optimizer/adamw.py * fix word typo test=docs_preview * fix word typo test=docs_preview * fix whitespace test=docs_preview
-
由 Candy2Tang 提交于
[xdoctest][task 110] Reformat example code with google style in python/paddle/optimizer/momentum.py (#56226) * [xdoctest][task 110] test=docs_preview * fix whitespace test=docs_preview
-