- 11 8月, 2023 4 次提交
-
-
由 Yiqun Liu 提交于
* Fix the shape of input sin and cos for fused_rope. * Update shape in unittest.
-
由 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 4 次提交
-
-
由 yangjianfengo1 提交于
-
由 JYChen 提交于
-
由 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
-
由 Yuang Liu 提交于
-
- 09 8月, 2023 6 次提交
-
-
由 xiaoxiaohehe001 提交于
* fix_softmax_eigen * fix_ctest_seresnet * fix_ci_error
-
由 cyberslack_lee 提交于
-
由 umiswing 提交于
-
由 niuliling123 提交于
-
由 kangguangli 提交于
* fix bugs about new ir test * enable dy2st newir test in all cases * fix
-
由 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
-
- 08 8月, 2023 3 次提交
-
-
由 Wang Xin 提交于
* move decayed_adagrad_op to phi * fix bug
-
由 freeliuzc 提交于
-
由 Tian Zheng 提交于
-
- 07 8月, 2023 6 次提交
-
-
由 yin wei 提交于
* add mask * add backword * add enforce info * update scale * integrate code * update enforce * add enforce eq * add error type * update enforce * add test_flash_attention * Polish codes and fix compiling errors. * Set num_splits to 0 for flash-attn with tensor mask. * Fix the compiling error for non flash-attn case. --------- Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
-
由 co63oc 提交于
-
由 tianshuo78520a 提交于
* Test Del paddle_bfloat * Del paddle_bfloat test
-
由 yangjianfengo1 提交于
* inplace tol * code style
-
由 co63oc 提交于
-
由 umiswing 提交于
* Work for fa-2 padded fwd. Code to be cleaned. * Work for fa2 unpadded fwd. * Work for padded-bwd, dk get small diff on np.random.seed(0) * Anyway I pass paddle's utest, except return softmax without dropout. * Clean code. * Modify interface. * Clean code and add some check. * Easy compile for dev. * Fix ci. * Fix ci-build. * Add std c++17 option again. * Limit max job when compiling fa2. * Remove const_cast * Add fwd params, to be cleaned. * Clean code. * Add bwd params. * Clean code. * Add enforce. * Use v2.0.4 * Pass RNG state to fa2 capi * Fix review. * Add assert * Skip compile for sm less than 80.
-
- 04 8月, 2023 4 次提交
-
-
由 Difer 提交于
* replace embedding * replace sparse_embedding * fix some bugs * del embedding * repalce layers.embedding * fix type error
-
由 hong 提交于
* refacot aot * update * fix bugs * remove some test * fix bug * fix bug * fix bug * fix bug * update
-
由 JYChen 提交于
* WIP: start writing combined indexing get * list/tuple/Variable * getitem 80% * add setitem * add some unittest for setitem * lazy import * fix some setitem error * fix advance indexing with decreasing axes; fix strided_slice input name * combine int-tensor getitem is ok (without boolean support & broadcast); add getitem unittest for static * add broadcast & parse bool tensor for __getitem * [change getitem] _getitem_impl_ to _getitem_static, not deleting the former one * refine new getitem; fix ut in variable/var_base * add __getitem__ ut in dygraph * re-dispatch getitem for Py/CPP; fix strided_slice decrease axes error in dygraph * fix ut; support tensor in slice * [change setitem] _setitem_impl_ to _setitem_static, not deleting the former one * remove some UT (for some, temporarily) * add IndexError to solve timeout problem in static-mode * 1.temply forbideen all-False bool-indexput; 2.setitem_static will return new variable * xpu uses old stratege * rename dy2st setitem ut to avoid same-name problem * dy2st for new combined index * ut case for combine-index with dy2st * open ut with all-false-bool setitem * remove useless doc and _getitem_impl_ * change static res * fix static xpu
-
由 LoneRanger 提交于
-
- 03 8月, 2023 2 次提交
-
-
由 yangjianfengo1 提交于
* fix fp 16 * bf16 rtol * fixed input * code style
-
由 Tian Zheng 提交于
-
- 02 8月, 2023 5 次提交
-
-
由 yangjianfengo1 提交于
[Inference] Replace groupNorm when data types are bf16 and fp16, and data format is NHWC implementation. (#55399) * finish * cpergroup odd * fix bf16 * single channel * code style * jingdu duiqi * add head_file * add bf16 head file * bf16 2 * bf16 * bf16 head * bf16 compile * py test * bf16 compile * bf16 compile * unset py test * nhwc * test * mean var * bf16 success * su * ctest success * use is_same_as * is_same * use is_same * rtol * gpu_stream * del sigmod * fix bfloat16 type * use cuda_bf16_hpp * use_cuda_arch * bfloat162float2 * del inplace_tol * del max_releative_tol * temp store * jingdu duiqi * temp store * plugin * jingdu duiqi * duiqi * include cuda.h * del half * half single * ci * add const * ci * cudamemset * del printf * fp16 test * add half compute * del br16 ci * del ci * ci approve * del fluid include
-
由 wanghuancoder 提交于
* fix security bug
-
由 cyberslack_lee 提交于
-
由 xuxinyi389 提交于
-
由 zhenhailiu 提交于
-
- 01 8月, 2023 1 次提交
-
-
由 Zhan Rongrui 提交于
[CodeStyle] replace `assert np.allclose` with `np.testing.assert_allclose` and `assert np.array_equal` with `np.testing.assert_array_equal` (#55385)
-
- 31 7月, 2023 5 次提交
-
-
由 RedContritio 提交于
* update TestAPI arguments to enable param_attr and bias_attr in test_layer_norm_op * add bf16 condition in test_layer_norm_op * add fast_math condition
-
由 Ruibin Cheung 提交于
-
由 Difer 提交于
* simple reaplce * for debug * fix bugs * fix some bugs * del fill_constant_batch_size_like
-
由 wanghuancoder 提交于
support stride
-
由 cyberslack_lee 提交于
-