- 29 4月, 2022 1 次提交
-
-
由 Aurelius84 提交于
* [Dy2Stat]Fix losting pre/post hook from outermost layer while jit.save * fix kwargs * fix unittest
-
- 30 3月, 2022 1 次提交
-
-
由 0x45f 提交于
-
- 25 3月, 2022 1 次提交
-
-
由 Jiabin Yang 提交于
* refactor eager flags * fix flags error when we switch from eager to dygraph * fix ci problem * fix ci * fix ci * merge develop and fix code style * merge develop and fix code style * fix op test error * fix op test error * fix op test error * fix op test error * fix op test error * merge develop
-
- 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
-
- 03 3月, 2022 1 次提交
-
-
由 Jiabin Yang 提交于
* eager, test=develop * fix bug, test=develop * eager, test=develop * merge legacy to fluid * eager, test=develop * eager, test=develop * Refactor TensorAdd func by template and remove gradient_accumulation in eager * Remove needless target name * eager, test=develop * eager, test=develop * Use overload instead of template * Remove legacy code * Remove legacy code * selectedrows, test=develop * Remove DataType test * eager, test=develop * eager, test=develop * support gan, test=develop * Using Tensor directly instead of using EagerTensor * support gradient_accumulation * make test_imperative_lod_tensor_to_selected_rows longer * make test_imperative_lod_tensor_to_selected_rows longer * refine code * ptb, test=develop * Rename all EagerTensor to Tensor * Rename some EagerTensor to Tensor * rename EagerTensor to EagerVariable * eager, test=develop * eager, test=develop * eager, test=develop * eager, test=develop * add more test * eager, test=develop * Support copiable selected rows and merge develop * save load, eager, test=develop * save load, eager, test=develop * refine, test=develop * remove useless _set_value method * refine, test=develop * refine, test=develop * revert static_runner, test=develop * EagerTensor to Tensor, test=develop * refine, test=develop * refine, test=develop * clear grad, test=develop * merge, develop * merge, develop * merge, test=develop * merge, test=develop * Support quant and part of slice * support legacy static save * extend slim tests time * remove imperative on inference * remove imperative on inference * merge develop * fix typo * fix typo * split slice related code into 2 part for imperative and eager * split slice from inference * split slice from inference * fix test_tensor_register_hook Co-authored-by: NWang Huan <wanghuan29@baidu.com> Co-authored-by: NWeilong Wu <veyron_wu@163.com> Co-authored-by: Nwanghuancoder <wanghuancoder@163.com>
-
- 11 1月, 2022 1 次提交
-
-
由 Ming-Xu Huang 提交于
* Pre-save hooks of jit.save 1. Added pre_save_hooks features to jit.save. 2. Added related unittests * Added jit pre_save_hooks functions's alias to paddle.jit and copyright. * Make jit.save_pre_hook style be consisent with Paddle's rule. * Fixed arguments passing bug in run_save_pre_hooks * Added API Documents * Move clear and run_pre_save_hooks as internal methonds only. * Made register_save_pre_hook as an internal function.
-
- 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.
-
- 17 9月, 2021 2 次提交
-
-
由 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
-
由 WeiXin 提交于
-
- 15 9月, 2021 1 次提交
-
-
由 王明冬 提交于
* clip op extra information when export model,test=ocr * rename clip_extra parameter to kwargs in save_inference_model, test=ocr
-
- 28 7月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* Add build_strategy in @to_static to support open pass * fix os.environ * add timeout * disable test_build_strategy on openblas
-
- 14 7月, 2021 1 次提交
-
-
由 WeiXin 提交于
* jit.save/load support method with parameters. * add unittest and warning * polish warning message.
-
- 17 6月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* support non-tensor type * fix unittest failed * add unittest with prune * rm unused code * coverage * fix two or
-
- 27 4月, 2021 1 次提交
-
-
由 WeiXin 提交于
* jit.save/load support function. * delete unnittest test_jit_load_model_incomplete. * edit code according to CI * Modify the documentation. * add note to doc.
-
- 26 4月, 2021 1 次提交
-
-
由 xiemoyuan 提交于
* Modified params of some APIs to support tuple and list. * fixed bug.
-
- 07 4月, 2021 1 次提交
-
-
由 CtfGo 提交于
As the title
-
- 11 3月, 2021 1 次提交
-
-
由 Aurelius84 提交于
* fix bug with jit.save * refine code
-
- 20 1月, 2021 1 次提交
-
-
由 Aurelius84 提交于
-
- 18 12月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
Enable jit.save to Save Without Running.
-
- 03 12月, 2020 1 次提交
-
-
由 liym27 提交于
[Dy2stat] Add a decorator paddle.jit.not_to_static to support that not to convert a function in Dynamic-to-Static. (#29253) Usage scenarios:A function could have run successfully in static mode, you can use it to decorate a function in the following cases: 1. An unknown error occurs in the dynamic-to-static conversion process of the function; 2. In the internal implementation of the function, it has two branches: dynamic branch and static branch; 3. Users don't want to convert the function in the process of dynamic to static.
-
- 27 11月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 19 11月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 11 11月, 2020 1 次提交
-
-
由 Huihuang Zheng 提交于
Modify ProgramTranslator and TracedLayer Doc for API 2.0
-
- 06 11月, 2020 2 次提交
-
-
由 WeiXin 提交于
* refine jit.save/load to add support for other method, not only forward * refine the code based on unit tests * Add unit test for the code * Add unit test for the code * Modify the code according to the unit test * Delete useless comments, save only one info file, etc. * remove static_mode_white_list.pyc * edit the code that generate 'extra_var_info'
-
由 Aurelius84 提交于
-
- 26 10月, 2020 1 次提交
-
-
由 Aurelius84 提交于
-
- 13 10月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* polish save load en doc details, test=document_fix * polish details, test=document_fix * remove blank, test=document_fix * fix ascii error, test=document_fix * update fc's input to x, test=document_fix * update fc argument activation, test=document_fix
-
- 11 10月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* replace config by kwargs * change save path form dir to prefix * fix failed unittests * revert unittest name change * polish en docs * add more tests for coverage
-
- 24 9月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* rename StaticLayer * rename
-
- 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
-
- 17 9月, 2020 2 次提交
-
-
由 liym27 提交于
* Add env value to log to stdout; 2.Add logger name * Optimize log messages in dygraph-to-static * Replace logging.warn and warnings.warn with logging_utils.warn
-
由 Huihuang Zheng 提交于
Change ProgramTranslator.enable_declarative to ProgramTranslator.enable_to_static to meet API 2.0
-
- 11 9月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* support to_static(model) * add warning and unittest
-
- 10 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add some unittest cases ot verify jit.save, no_test * add more unittests * add test with example inputs * polish implement details * remove useless blank * fix fetch random error
-
- 08 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
-
- 07 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* change configs to config & update examples * fix deprecate decorator conflict
-
- 03 9月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* support load infer model format state dict * add unittests * remove keep name table * recolve circle inport * fix compatible problem * recover unittest * polish doc and comment
-
- 31 8月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* Fix Python Version compatibility * add import six
-
- 28 8月, 2020 1 次提交
-
-
由 liym27 提交于
* [Dy2Stat] Add debugging and logging mechanism for dygraph to static. * Remove TransformerError temporarily. * import mock in PY2, from unittest import mock in PY3. test=develop * Expose interfaces set_code_level and set_verbosity in paddle.jit, fix doc of the two interface. * polish doc of set_verbosity and set_code_level.
-
- 27 8月, 2020 1 次提交
-
-
由 Aurelius84 提交于
* add InputSpec * add unittest for tensorSpec and SimpleNet
-