- 11 8月, 2023 4 次提交
-
-
由 LoneRanger 提交于
* remove the optimizer base and learning rate base * fix bug * fix bug
-
由 Difer 提交于
repacle fluid.io.load_inference_model, fluid.io.save_inference_model in fluid with 2.0 version (#55345) * repacle fluid.io.load_inference_model * replace fluid.io.save_inference_model * fix some bug * fix some bugs of load & save model * fix some bug * fix test_inference_model_io bug * fix word2vec_inference_model bug * fix some bug * fix valueError bug * fix some bug * fix a warning error * for debug * for debug * fix io error * fix test_wordvec_book error * remove debug print * fix load_var bug * for debug cinn test * revert cinn & fix inference_pass_test in windows * fix some bugs * revert cinn & fix inference_pass_test in windows * for debug vars * for debug * fix quant_dequant_test * fix some path errors * remove fluid save/load * fix incubate-fleet save * move some from fluid.io to static.io
-
由 Difer 提交于
* move fluid apis * fix type error * remove static exponential_decay * fix some import error * remove nn.py * fix some error * fix type error
-
由 cyber-pioneer 提交于
* fix get var in prim * fix stack test case
-
- 10 8月, 2023 1 次提交
-
-
由 lzy 提交于
* add variable_length_memory_efficient_attention * update variable_length_memory_efficient_attention unittest * update variable_length_mem_eff_attn's docs and unittest * update variable_length_mem_eff_attn's docs * Update test_variable_length_memory_efficient_attention.py * Update variable_length_memory_efficient_attention.cu * fix codestyle * fix variable_length_fmha's docs and unittest * fix variable_length_fmha's docs
-
- 09 8月, 2023 2 次提交
-
-
由 niuliling123 提交于
-
由 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
-
- 04 8月, 2023 1 次提交
-
-
由 Difer 提交于
* replace embedding * replace sparse_embedding * fix some bugs * del embedding * repalce layers.embedding * fix type error
-
- 27 7月, 2023 1 次提交
-
-
由 ronnywang 提交于
* add support for outputting the intermediate variables * fix fuse_rresnet_unit
-
- 26 7月, 2023 2 次提交
-
-
由 tianhaodongbd 提交于
-
由 JYChen 提交于
* remove api staticrnn * move select_input/output to static/controw flow * delete some func, only remain Switch * clean fluid.layers.controw_flow * remove fluid.layers.controlflow * fix conditional_block ut
-
- 20 7月, 2023 1 次提交
-
-
由 niuliling123 提交于
-
- 19 7月, 2023 2 次提交
-
-
由 jjyaoao 提交于
Signed-off-by: Njjyaoao <jjyaoao@126.com>
-
由 JYChen 提交于
* add paddle.static.setitem * add some help doc * support setitem * support machanism * add more unittest * remove usless code * raise error in static setitem * fix d2s UT * remove static only for both-used code * fix bool set_value in static, fix set_value_op UT * fix unittests * [May case some error]: remove inplace-version check * add two test case for dy2st * fix function in vision * fix dy2st setitem support, refine UT case * fix slice in static_mode * add ParametersMap * remove pop * modify place * [fix]: variable is also a tensor * rewrite some ut & remove slicetransformer in dy2st * solve error in static-mode * fix ut * return a result for set_array_write * fix test_set_value_op_xpu * code is different in dynamic / static mode --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: NNotHaozi <zhangmenghao@baidu.com>
-
- 13 7月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* [prim]support fp16 for instance_norm and instance_norm_grad * support fp16 and bfp16 dtype for instance_norm prim rules * fix new ir test --------- Co-authored-by: Ncxxly <chenxx_id@163.com>
-
- 11 7月, 2023 1 次提交
-
-
由 MarDino 提交于
* add rmsnorm kernel * add static graph test * fix round type * use alignas to avoid msvc compile error * remove redundant headerfile to avoid rocm compile error * fix rocm compile not found cub * Add document
-
- 06 7月, 2023 2 次提交
-
-
由 wangxiaoning 提交于
-
由 cyber-pioneer 提交于
* fix prim add fill_any_like bug * polish code
-
- 03 7月, 2023 1 次提交
-
-
由 niuliling123 提交于
-
- 29 6月, 2023 2 次提交
-
-
由 Charles-hit 提交于
-
由 niuliling123 提交于
* style * more * update ctest * Update legacy_backward.yaml * Update legacy_ops.yaml * Update legacy_ops.yaml * update * update * update for move
-
- 27 6月, 2023 1 次提交
-
-
由 Charles-hit 提交于
-
- 25 6月, 2023 1 次提交
-
-
由 cyber-pioneer 提交于
-
- 16 6月, 2023 1 次提交
-
-
由 ronnywang 提交于
-
- 14 6月, 2023 3 次提交
-
-
由 Charles-hit 提交于
* fix api rename * support amp logic for some prim ops --------- Co-authored-by: Nkangguangli <kangguangli@hotmail.com>
-
由 cyber-pioneer 提交于
* move batch_norm prim test to op_test * fix optest bug * add test to cmake * add cinn test case * fix batch_norm prim grad bf16 * fix code * add cuda check * fix batch_norm bfloat16 * fix cpu bfloat16 bug * skip non-bfloat16-supported platform * fix code * fix cinn rtol and atol in bfloat16 * fix name * fix config
-
由 Charles-hit 提交于
-
- 12 6月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 09 6月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
* bump ruff to 0.0.271 and update config * exclude third_party * bump ruff to 0.0.272 * refine config
-
- 01 6月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* support layer_norm prim op bf16 dtype * polish code * resolve conflict
-
- 31 5月, 2023 2 次提交
-
-
由 Charles-hit 提交于
* support activation prim op bf16 dtype * remove useless code
-
由 DrowFish19 提交于
* fix the strong Wolfe conditions for line search * pass the max_line_search_iters parameter into line search method (strong_wolfe)
-
- 30 5月, 2023 1 次提交
-
-
由 RedContritio 提交于
-
- 23 5月, 2023 1 次提交
-
-
由 cyberslack_lee 提交于
-
- 22 5月, 2023 1 次提交
-
-
由 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
-
- 19 5月, 2023 1 次提交
-
-
由 limingshu 提交于
* Reorganize the forward codes of flash-attention. * Fix forward. * Remove some noused codes. * Simplify codes and fix backward. * Change all LOG(INFO) to VLOG and fix the backward. * add scale for AF2 flash_attn, much thanks to xreki and shaojie for debug these codes * decrease the effect of debug print on performance * Unify the initialize of flashattn arguments. * Rewirte the reshape of temp_mask and temp_bias. * API support use_flash_attn. * Fix compiling error on CI. * Try to crop the flash-attention lib. * Correct the condition of whether can use flash-attn. * Remove the softmax_out argument. * Remove is_causal. * Polish codes. * Fix qkv_transpose_out's shape and scaling of Q * K. * Update commit of flash-attention. --------- Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
-
- 18 5月, 2023 1 次提交
-
-
由 Hulek 提交于
* Fused elementwises kernels and ops * change fuse pass name * adjust .pbtxt files * adjust quantization attributes * add missing arguments and fix others, review fixed * simplify fused kernel registration * fix elementwise unit tests * reuse one fused elementwise op * adjust proto * Add supported datatypes * Change 'Scale' to 'scale' in tests, change some tests to onednn * Revert breaking changes * Fix unit tests * Delete obsolete test cases * Delete commented out code * Fix codestyle * delete temporary condition * fix conflicts and delete duplicate fusing * Fix code after merge * Move tests to new directory * fix tests volatility * Rename test_elementwise_add_onednn_op.py to test_elementwise_add_mkldnn_op.py * Update CMakeLists.txt add mkldnn op test --------- Co-authored-by: NSilv3S <slawomir.siwek@intel.com>
-
- 15 5月, 2023 1 次提交
-
-
由 ronnywang 提交于
-
- 11 5月, 2023 1 次提交
-
-
由 Kaipeng Deng 提交于
* move DataLoader to paddle.io. test=develop
-
- 06 5月, 2023 1 次提交
-
-
由 Yiqun Liu 提交于
* Add fused_gate_attention API. * Implement FusedDropout API. * Fix doc and add unittest. * Skip for non-gpu device. * Add unittest.
-