- 07 9月, 2023 1 次提交
-
-
由 Difer 提交于
* rename fluid to base * fix setup and rename paddle.fluid * fix protobuf generated paddle.fluid * fix some errors * fix cmake depends * fix some error * try to fix cache error * fix codestyle && some doc error * remove build change * fix some error --------- Co-authored-by: NXiangGao <jeff41404@gmail.com>
-
- 06 9月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
* add_n and combine support selected rows
-
- 01 9月, 2023 2 次提交
-
-
由 yangguohao 提交于
* enable dy2st newIR test * fix 2023-08-29 * fix_2
-
由 Aurelius84 提交于
-
- 21 8月, 2023 1 次提交
-
-
由 feifei-111 提交于
-
- 18 8月, 2023 1 次提交
-
-
由 hong 提交于
* fix op translator reshape type * update * new ir support vector type place transfer * add test case * update * revert code * add test assert new ir test * update * update
-
- 17 8月, 2023 1 次提交
-
-
由 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
-
- 16 8月, 2023 1 次提交
-
-
由 zxcd 提交于
-
- 11 8月, 2023 2 次提交
-
-
由 Meteor Liu 提交于
* [dy2static]implement tensor.cuda() in static graph * [dy2static]implement tensor.cuda() in static graph - change the patch place * [dy2static]implement tensor.cuda() in static graph - fix code-block in comment * [dy2static]implement tensor.cuda() in static graph - add ut for warning branch
-
由 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
-
- 10 8月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 09 8月, 2023 3 次提交
-
-
由 xiongkun 提交于
* [New Feature] add _inplace_assign interface for sot * add unittest for inplace_assign
-
由 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 4 次提交
-
-
由 hong 提交于
* support new ir dy2st * revert code * skip test with stride * chang import file * enable dy2st new ir test part2 * update * suppor train step * fix bug * fix bug * update
-
由 Meteor Liu 提交于
* [enhancement] Implement tensor.cpu() in static graph * [enhancement] Implement tensor.cpu() in static graph * [dy2static] add unitest cases for tensor.cpu() * [dy2static] add unitest cases for tensor.cpu() - run only on paddle compiled with cuda mode * [dy2static]Refine the format of the api-doc for Variable.cpu().
-
由 hong 提交于
* support new ir dy2st * revert code * skip test with stride * chang import file
-
由 WangZhen 提交于
-
- 07 8月, 2023 1 次提交
-
-
由 xiongkun 提交于
* add paddle-symbolic-trace to paddle * add symoblic trace * delete swp * support Layer in symbolic trace * fix test-symbolic-trace, make symbolic trace return a StaticFunction * template the error message * fix some unittest * Modify the execution mode of test * Modify the module name * add dy2static unittest decorator * change some unittest files by @ast_only_test * fix unittest. * test-symbolic-trace * update test_write_python_container.py * update * fix test_param_parse.py * add submodule and ln -sf in cmakefile * update * update * fix some ast only errors * update * Polish ut * fix unittests * update * update * fix unittests * update * test warning ast only * update * Ast only some uts * Fix unitests * test_error ast only * update * update * Support build_strategy for sot * update * import sot as a third party module * update * update * Polish code * update * update * update * update * update * remove old fluid api and use paddle.nn.relu instead * fix * comment the print of ast code * add try-finally block * fix dy2static stop-gradient bugs * fix code * remove unused submodule and minor codestyle fix * fix * fix cast error * fix interpolate meets int64 in static model * add evalframe support for py311 * fix * fix err * switch ENABLE_FALL_BACK=False * fix * Fix CI for some unittest * add ENABLE_SOT * remove setup.py dependences --------- Co-authored-by: NNotHaozi <zhangmenghao@baidu.com> Co-authored-by: Nfeifei-111 <2364819892@qq.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 06 8月, 2023 1 次提交
-
-
由 co63oc 提交于
-
- 04 8月, 2023 2 次提交
-
-
由 kangguangli 提交于
* add decorator for new_ir_test * fix bug and only test in ci-coverage * fix bug and only test in ci-coverage * fix * fix bugs * fix * fix
-
由 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
-
- 01 8月, 2023 2 次提交
-
-
由 JYChen 提交于
* done replaced in d2s models, except lac/transformer/sentiment * replace cinn_test * fix d2s transfomer model * fix cinn model ut
-
由 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 1 次提交
-
-
由 wanghuancoder 提交于
support stride
-
- 28 7月, 2023 1 次提交
-
-
由 WangZhen 提交于
* Fix test_resnet and test_resnet_v2 ut * Remove ut
-
- 20 7月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 19 7月, 2023 1 次提交
-
-
由 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>
-
- 11 7月, 2023 1 次提交
-
-
由 LoneRanger 提交于
replace the AdagradOptimizer 、adamaxOptimizer、AdadeltaOptimizer、RMSPropOptimizer、LambOptimizer and Momentum (#54152) * replace the AdadeltaOptimizer with Adadelta * replace the RMSPropOptimizer with RMSProp * replace the LambOptimizer with lamb * replace the momentum in contrib/optimizer.py with Momentum in python/paddle/optimizer/momentum.py * fix bug * fix bug * fix bug * fix bug of Lamp * fix bug of Lamp * fix bug of import * replace the AdamaxOptimizer with Admax and change the optimizer base for AdagradOptimizer * fix bug * fix bug * Update optimizer.py * fix bug * fix bug
-
- 30 6月, 2023 1 次提交
-
-
由 LoneRanger 提交于
replace the PolynomialDecay、NoamDecay、LinearLrWarmup、ReduceLROnPlateau in fluid with 2.0 version (#54806) * remove the ReduceLROnPlateau in fluid * fix bug * remove the PolynomialDecay in fluid * remove the LinearLrWarmup in fluid * fix bug * remove the NoamDecay in fluid * fix bug * fix bug * fix bug
-
- 28 6月, 2023 1 次提交
-
-
由 LoneRanger 提交于
* replace PiecewiseDecay(LearningRateDecay) with PiecewiseDecay(LRScheduler) * fix bug * fix bug * replace the StepDecay,MultiStepDecay,LambdaDecay with 2.0 version
-
- 27 6月, 2023 2 次提交
-
-
由 LoneRanger 提交于
* remove the CosineDecay in fluid * Update test_basic_api_transformation.py
-
由 LoneRanger 提交于
* remove the NaturalExpDecay in fluid * fix bug * remove the ExponentialDecay in fluid * remove the InverseTimeDecay in fluid * remove the InverseTimeDecay class * fix bug
-
- 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
-
- 08 6月, 2023 1 次提交
-
-
由 jiangcheng 提交于
* [CINN] add paddle.device.is_run_with_cinn() api for running check * for pass ci converge * add check whl should compiled with cinn * fix ci coverage bug * remove exposed API * import is_run_with_cinn explicitly
-
- 02 6月, 2023 2 次提交
- 22 5月, 2023 2 次提交
-
-
由 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
-
由 xiongkun 提交于
* [Dy2static-Fallback] add set_eval_frame function in pybind. 1. add set_eval_frame function in pybind. * add unittest for eval frame hooker. * [support py38] * fix-GeneratorExit error in eval frame hooker * support python == 3.9 * support 3.10 * fix some comments * speed up eval frame for cache hitted code. * code format * fix unittest --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-