- 04 8月, 2023 1 次提交
-
-
由 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>
-
- 18 5月, 2023 1 次提交
-
-
由 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
-
- 15 5月, 2023 1 次提交
-
-
由 LoneRanger 提交于
* relocate regularizer.py * fix bug * fix bug * fix bug * relocate the import * replace _regularization_coeff with coeff * remove the L1DecayRegularizer and L2DecayRegularizer
-
- 11 5月, 2023 2 次提交
-
-
由 Kaipeng Deng 提交于
* move DataLoader to paddle.io. test=develop
-
由 WangZhen 提交于
* Fix div error when dtype is int64 in static mode * Fix out dtype
-
- 08 5月, 2023 2 次提交
-
-
由 feifei-111 提交于
* fix * update code * pre-commit * remove scale check (0-D tensor is usable) * fix data dtype err * fix numpy default dtype diff * fix data dtype * fix data dtype * update * fix coverage
-
由 yangguohao 提交于
-
- 28 4月, 2023 1 次提交
-
-
由 Meteor Liu 提交于
-
- 27 4月, 2023 2 次提交
-
-
由 WangZhen 提交于
[Dy2St]Get grad names when call append backward to fix high order gradient (#53250)
-
由 yangguohao 提交于
-
- 24 4月, 2023 3 次提交
-
-
由 zhouweiwei2014 提交于
-
由 zqw_1997 提交于
* test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * test=allcase * fix doc erros, test=allcase
-
由 JYChen 提交于
* remove fluid.average / fluid.metric * fix usage in test
-
- 21 4月, 2023 1 次提交
-
-
由 JYChen 提交于
* support 0-D output and 0-D as indice in __getitem__ * fix tests * fix inference and UT * add unittest for setitem * fix xpu test * fix xpu 0-d
-
- 20 4月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 14 4月, 2023 1 次提交
-
-
由 risemeup1 提交于
* test * fix test error * fix test error * fix test error
-
- 13 4月, 2023 1 次提交
-
-
由 WangZhen 提交于
* Fix _param_grad_names when like 'param@GRAD@GRAD'
-
- 12 4月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 11 4月, 2023 1 次提交
-
-
由 WangZhen 提交于
* Add backend for to_static API
-
- 07 4月, 2023 2 次提交
-
-
由 Nyakku Shigure 提交于
-
由 risemeup1 提交于
* remove zeros * remove zeros * apply gcc12 to py3 * apply gcc12 to py3 * fluid api clear * fluid api clean * fluid api clean
-
- 06 4月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-