- 23 3月, 2022 1 次提交
-
-
由 chenjian 提交于
* add event record for model profiling * fix format * fix format * fix code example bug * no * add profiler statistic * add profiler feature * fix bug * fix bug * fix bug * fix bug * required: gpu * required: gpu * fix bug * required: gpu * fix ci bug * fix ci error * fix ci error * upgrade document * fix doc * fix ci bug * add doc and fix bug * nothing * fix bug * fix format bug * modify format * add deprecated description for old profiler * fix bug * fix bug * fix * add load_profiler_reuslt doc * add load_profiler_reuslt doc * add load_profiler_reuslt doc * help fix old profiler sample code * add api doc * fix format * fix api doc * fix api doc format * fix api doc format * fix api doc c format * fix api doc format
-
- 21 3月, 2022 1 次提交
-
-
由 0x45f 提交于
* Refine to_tensor for eager mode * support gpu_pinned * refine code * support gpu_pinned copy_to * fix layer.__setattr__ * support to_tensor for gpu_pinned * fix unit test * refine gpu_pinned * restore the original code * add is_gup_pinned() and refine eager.Tensor._copy_to()
-
- 17 3月, 2022 1 次提交
-
-
由 0x45f 提交于
* for test_mnist.py * remove comments * using type() replace isinstance() * valid vars for run program OP in io.py * open test_mnist in eager_gurad for coverage
-
- 16 2月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* Update comment * [Eager] Support test_imperative_hook_for_layer with _test_eager_guard() * Polish code name style * Fix a error name * Polish code, make it clear and simple
-
- 11 1月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* check amp.decorate and DataParallel * refine coverage * fix layer dtype * refine code
-
- 10 1月, 2022 1 次提交
-
-
由 ShenLiang 提交于
-
- 04 1月, 2022 1 次提交
-
-
由 0x45f 提交于
* fix error when set buffer in forward * add unittest * refine class name * refine not framework.in_dygraph_mode() in if * fix UT error * add comment * refine code * remove useless import
-
- 29 12月, 2021 1 次提交
-
-
由 ShenLiang 提交于
* fix bug of dp in pfp16 * fix topo
-
- 27 12月, 2021 1 次提交
-
-
由 zhangbo9674 提交于
* fix bug * refine code * refine code * refine code
-
- 24 12月, 2021 1 次提交
-
-
由 0x45f 提交于
* fix error when calling sublayer's non-forward func in dy2stat * fix circular import using an inelegant way * deal with parameters * remove param_guard in __call__ * remove comment * fix error when jit.load * rename block var * remove wrong code * add unit test
-
- 14 12月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* layer.to api support numpy.dtype and paddle.dtype * skip the layer to eaxmple code executing for env not support
-
- 02 12月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* optimize dygraph probl * refine code * fix convert dtype error * fix import datafeeder error
-
- 01 12月, 2021 2 次提交
-
-
由 Jiabin Yang 提交于
* optimizer __call__ to make dygraph faster * fix return type * remove cpp Layer
-
由 Jiabin Yang 提交于
* optimizer __call__ to make dygraph faster * fix return type
-
- 18 11月, 2021 1 次提交
-
-
由 zhangbo9674 提交于
-
- 09 11月, 2021 1 次提交
-
-
由 zhangbo9674 提交于
* refine layer to * delete comment * refine logic * refine code * refine pure_fp16_init * refine comment
-
- 27 10月, 2021 1 次提交
-
-
由 Hui Zhang 提交于
* Layer.to reutrn self * add device required
-
- 26 10月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to
-
- 20 10月, 2021 1 次提交
-
-
由 Steffy-zxf 提交于
Add Tokenizer related functionalities for Transformer model in order that the process of training and predicting is consistent. * support the text string as an input Tensor * support the "VOCAB"unordered_map<wstring, int> as an input Tensor to lookup tokens * Tokenizer used for BERT. This tokenizer applies an end-to-end, text string to wordpiece tokenization. * It first applies basic tokenization, followed by wordpiece tokenization.
-
- 13 10月, 2021 1 次提交
-
-
由 zhangbo9674 提交于
* add attr is_distributed * refine code * refine black/white list for pure fp16
-
- 17 9月, 2021 1 次提交
-
-
由 zhangbo9674 提交于
* add pure fp16 major function in auto_cast & tracer * support master weight in dygraph for pure fp16 * check mix dtype of fp16&fp32 for check_finite_and_unscale op * change pure fp16 funtion name * refine some bug in auto_cast * refine auto_cast interface logic * add param _casted_by_pure_fp16 for class Layer * support state_dict hook for save model by user appointed dtype in pure_fp16_decorator * refine pure_fp16_decorator as decorator * add unittest * add comment * add comment * support recompute * add comment for auto_cast and decorator * support to_static_state_dict for paddle.jit.save * unlimite models num and optimizers num * add lookup_table in black_list * fix momentum and layer state_dict * fix bug in layer state_dict * fix bug in layer state_dict_helper * refine unittest * refine test_momentun_op * refine interface and some code * refine amp_decorator interface * refine pure fp16 interface * refine master weight interface
-
- 09 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Support append customize attributes into op_desc in nn.Layer * fix code style * support override * add unittest
-
- 18 5月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Add param_guard in ParameterList to support @to_static * Refactor param_guard of @to_static * fix unittest failed * add more unittest
-
- 12 5月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add varbasecopy func to fix the paraBase type bug in layers.to API * overload _copy_to func for ParamBase * add xpuplace * add waiting varbsecopy completion when not blocking * fix dst_device bug * modify varbase to shared_ptr
-
- 19 4月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* fix sublayer error with include_sublayers=False * add ut * refactor include_sublayers related api * fix ut * fix ut of transformer * fix ut of transformer * remove useless code * change sublayer api * polish code * add test for include_self=True
-
- 13 4月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add layer.to api * add layer.to api * add layer.to api * add the doc for Layer.to * add input type checking * modify assert and import bug * format code style * format code style * make place support str type * add SetGradVarBase method to set the gradient after conversion * modify argument palce to device * modify argument palce to device * modify doc of layers.to API * add xpuplace to device argument
-
- 02 4月, 2021 1 次提交
-
-
由 WeiXin 提交于
* support save/load single tensor * compatibility modification according to unnittest * Some python2.7 don't have 'copyreg' modules * Handle a syntax error. * Dealing with compatibility problems on Mac. * Dealing with compatibility problems on Mac. * edit unittest to improve coverage. * Modify the code according to the review comments * Reduce redundant code. * support for static graph loading dygraph state_dict * edit code according to CI * edit unittest * edit unnittest * delete redundant file * edit code according to Comments * edit english doc * edit english doc * edit English DOC. * get/set_tensor->get/set_value; return_numpy=False * get/set_tensor->get/set_value; return_numpy=False * edit unnittest * edit unnittest * polish code.
-
- 01 4月, 2021 1 次提交
-
-
由 ShenLiang 提交于
* support control flow * supoort sync_parameters_buffers * fix the bug of sparse embedding
-
- 05 2月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
-
- 20 1月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* delete empty line of pybing.cc, test=develop * fix layers train eval bug, test=develop
-
- 06 1月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
* Polish and Optimize the print/repr message of all layer * fix some code format
-
- 28 12月, 2020 1 次提交
-
-
由 wawltor 提交于
fix the state_dict bug for the xpu
-
- 11 12月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 09 12月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* support deepcopy for Layer/Tensor/Paramerbase * fix some code
-
- 02 12月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
This PR fixes several problems in dy2stat for Deoldify model in PaddleGan. In model, software engineer wrote if x.shape == y.shape, the Tenser shape is a tuple in dygraph so the == returns True/False, but in static graph the == becomes element-wise comparison, which is a different behavior. In this PR we reduce the element-wise comparison result. If software engineer write computations which uses parameters in hooks, the static graph can loss the parameter variable because we put param_guard at forward of a Layer. In this PR we made param_guard cover pre-hook and post-hook. In PaddleGan, software engineer calculated some parameter values in __init__ by running some dygraph code. Those code also run during dy2stat. So some variables may be assign as a VarBase (Tensor) first and then Variable, which raised an error. We fixed the bug in this PR by handling the case. TODO: We just added testcase for the 1. shape comparison. Should add test case for 2. and 3. But since we are chasing 2.0RC, I will do it in the near future PR
-
- 24 11月, 2020 1 次提交
-
-
由 wanghuancoder 提交于
* fix eng doc, test=develop * add import deprecated for layers, test=develop * add block line for doc generate, test=develop * remove todo for create_variable, test=develop * add blank line for doc generate, test=develop * add blank line for doc generate, test=develop
-
- 02 11月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2stat] Support to modify value of buffer tensor * remove "defaultTest" * fix name confliction
-
- 21 10月, 2020 1 次提交
-
-
由 cnn 提交于
* rename manual_seed to seed * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D * rename manual_seed --> seed * do not rename .cc, .cu and .h file * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * rename manual_seed --> seed * disable_static on doc example code * donot change manual_seed on generator * add enable_static on sample code * convert python/paddle/fluid/layers/nn.py to bak * fix typo * fix code style * fix seed to manual_seed when call functions of Generator() * fix bug
-
- 08 10月, 2020 1 次提交
-
-
由 wanghuancoder 提交于
* modify doc for Layer, test=develop * modify doc for Layer2, test=develop * set dtype default value to float32, test=develop * add example code for paddle.nn.Layer, test=develop * set create_parameter and create_variable dtype default value to None, test=develop * modify some example code, tet=develop * refine, test=develop * del no ues code, test=develop * modify doc, example code, args, test=develop * modify doc, test=develop
-
- 23 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* init commit of new save/load * fix failed unittests * fix save_load_v2 unittest failed * fix failed unittest & polish doc * add tests for coverage * add more tests & move static apis * fix example code error * polish emample code * fix detail example code problem
-