- 26 9月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
[Eager, Performance optimization] math op sink to Cpp level ( + and - operator as an example ) (#45811) * [Eager] math op sink to Cpp level * fix ci errors * draft version * draft version * draft version * support + and - operator under cpp directly * add static test * polish code * promote types or unify right type to left * recover static test case * polish code and fix some ci errors * support complex and polish code * fix conflicts * fix windows ci errors * fix windows-inference-ci errors * polish and fix tests * fix test case * polish code * polish code * polish code and fix code-format * polish code * polish code * polish code * polish code
-
- 30 8月, 2022 1 次提交
-
-
由 Chen Weihang 提交于
-
- 26 8月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
-
- 22 8月, 2022 1 次提交
-
-
由 Jiabin Yang 提交于
* optimize python api to speed up eager exec * optimize python api to speed up eager exec * optimize python api to speed up eager exec
-
- 02 8月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] call final_state_slice under eager mode * rm useless comments * use eager final state instead intermidiate state * update fill_constant yaml * update fill_constant yaml * modify wrapped_infermeta_gen logic to fix special case * fix slice in manipulation * use fill_constant_ * modify slice infermeta * rm final_state_conv2d * use final_state_slice * use final_state_slice only * polish slice, use final state * add paddle_throw for SplitInferMeta * rm fill_constant_ temply * recover array_equal, not allclose * recover original code
-
- 21 7月, 2022 1 次提交
-
-
由 Li Min 提交于
* Replace with dygraph op calling method.
-
- 05 6月, 2022 1 次提交
-
-
由 Sing_chan 提交于
* use yapf to format all python file * yapf exclude two unittests file for they rely on writing and reading file, and format will break them * disable diff_py_file because too many diff files cause command following failed
-
- 25 4月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] Support div scalar in eager mode * Updated and remove debug logs * Remove list, use 'or' directly * Remove useless statement
-
- 18 4月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* update * add conv yaml * add backward * remove useless code * fix bug * fix bug * revert fluid dygraph conv2d * remove useless infermeta function * fix meta fn deluplicat error * conv using custom impl * remove amp include * fix bug * use final op in maskrcnn and hrnet * refine Co-authored-by: Nphlrain <phliuhongyu@126.com>
-
- 12 4月, 2022 1 次提交
-
-
由 Zhanlue Yang 提交于
* [DoubleGrad] Enabled double grad test cases in eager_mode for test_imperative_double_grad * Fixed elementwise issue * Addressed CI failures
-
- 06 4月, 2022 1 次提交
-
-
由 pangyoki 提交于
* support final_state in multiprocess * fix no place.device * set device_id in eager_gen
-
- 28 3月, 2022 1 次提交
-
-
由 Linjie Chen 提交于
* fix outpu dtype of elementwise_div * fix ci * fix ci
-
- 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
-
- 16 2月, 2022 1 次提交
-
-
由 Jiabin Yang 提交于
* merge legacy to fluid * Remove legacy code * Remove legacy code * Remove DataType test * 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 * Rename all EagerTensor to Tensor * Rename some EagerTensor to Tensor * rename EagerTensor to EagerVariable * add more test * merge develop and refine code
-
- 05 1月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* Rearranged Eager AutoCodeGen directory structure * Removed USE_OP in Eager AutoCodeGen * Enabled generation for Operators without Grad/Inputs/Outputs * Resolved operators without input * Fixed merge conflicts * Enabled Eager AutoCodeGen for 10+ more operators * Refactored Eager AutoCodeGen with more organized helper objects * Enabled Eager AutoCodeGen for operators with multiple OpBases * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen * Adjusted function generation/call between Python-C API & Dygraph API * Synchronized auto-generated Python-C API with Dygraph Forward Functions * support more eager tensor api * fix merge compile error * fix compile error and fit develop code * support pure CPU * fix some logic error in eager_mode * support _varbase_creator in eager mode * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs * for eager mode * refine * support multiple constructor for eager tensor * add place related code * polish code * specific randint with dtype of int64 * Support pure cpu test * eager logic * refine test in pure cpu * eager logic * eager logic * eager logic, test=develop * skip core.eager when in inference, test=develop * refine, test=develop * refine, test=develop * call RetainGrad after run forward kernel, test=develop * refine, test=develop * support dygraph util, meta, guard test * eager test case * support inference test * refine test and fix initializer failed * modify eagertensor patch method * add eagertensor.clear_grandint, test=develop * refine, test=develop * refine, test=develop * refine, test=develop * call monkey_patch_varbase in _test_eager_guard, test=develop * split clear_gradient to clear_gradient and zero_grads, test=develop * refine, test=develop * refine, test=develop * refine, test=develop Co-authored-by: Njim19930609 <jim19930609@gmail.com> Co-authored-by: NJiabinYang <360788950@qq.com>
-
- 24 12月, 2021 1 次提交
-
-
由 Jiabin Yang 提交于
* Rearranged Eager AutoCodeGen directory structure * Removed USE_OP in Eager AutoCodeGen * Enabled generation for Operators without Grad/Inputs/Outputs * Resolved operators without input * Fixed merge conflicts * Enabled Eager AutoCodeGen for 10+ more operators * Refactored Eager AutoCodeGen with more organized helper objects * Enabled Eager AutoCodeGen for operators with multiple OpBases * Adjusted Eager AutoCodeGen to Enable Passing Output Tensor as Input Argument * Handled Dispensable Inputs/Outputs in Eager AutoCodeGen * Adjusted function generation/call between Python-C API & Dygraph API * Synchronized auto-generated Python-C API with Dygraph Forward Functions * support more eager tensor api * fix merge compile error * fix compile error and fit develop code * support pure CPU * fix some logic error in eager_mode * support _varbase_creator in eager mode * Added safe_initialized interface to EagerTensor for use in processing dispensable inputs * for eager mode * refine * support multiple constructor for eager tensor * add place related code * polish code * specific randint with dtype of int64 * Support pure cpu test * eager logic * refine test in pure cpu * eager logic * eager logic * eager logic, test=develop * skip core.eager when in inference, test=develop * refine, test=develop * refine, test=develop * call RetainGrad after run forward kernel, test=develop * refine, test=develop * support dygraph util, meta, guard test * support inference test * refine test and fix initializer failed Co-authored-by: Njim19930609 <jim19930609@gmail.com> Co-authored-by: NWang Huan <wanghuan29@baidu.com>
-
- 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 9月, 2021 1 次提交
-
-
由 chentianyu03 提交于
This reverts commit ae93d9c2.
-
- 08 9月, 2021 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 15 7月, 2021 1 次提交
-
-
由 wanghuancoder 提交于
* cache core.ops, test=develop * refine, test=develop
-
- 22 6月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* transform complex scale to tensor * add test_case for complex scalar * modify import paddle
-
- 21 6月, 2021 1 次提交
-
-
由 tianshuo78520a 提交于
* del py2 code2 * fix test timeout
-
- 16 6月, 2021 1 次提交
-
-
由 Zhou Wei 提交于
-
- 02 6月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* fix the bug of div operation result using scale method do not exactly equal the result of elementwise_div method * remove __div__ , __rdiv__ methods which do not define in python3 * modify the note * add test case * add test case
-
- 27 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
-
- 14 4月, 2021 1 次提交
-
-
由 wawltor 提交于
-
- 24 2月, 2021 1 次提交
-
-
由 chentianyu03 提交于
* add error msg when dtypes of operator are not same * add error msg when dtypes of operator are not same * change error msg to warning msg when dtypes of operator are not same * modify test case to fit for python2
-
- 07 12月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* rm complexvariable * modify test_var_base unittest * remove duplicated codes
-
- 04 12月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* basic impl of type promote * add comment & another testcase * fix complex bugs & support python op promote type * fix failed unittests & polish code * add unittest for coverage * change to only promote complex type * polish code details * polish several comments
-
- 30 10月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* check and fix tensor and scalar type promotion * fix else branch error * fix scalar method error * fix test_math_op_path unittest * add future division for unittest * rm useless bin file
-
- 28 10月, 2020 1 次提交
-
-
由 chentianyu03 提交于
* add + - * / @ [] operator to ComplexVariable, also add unittest * fix circular reference bug * fit for py2.7 * remove reverse oprators which not supported now
-
- 23 9月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* Makes the Bind Method more intelligent * Makes the Bind Method more intelligent * fix unittest * fix unittest * fix conflict
-
- 14 9月, 2020 1 次提交
-
-
由 zhupengyang 提交于
-
- 10 9月, 2020 1 次提交
-
-
由 ShenLiang 提交于
-
- 02 9月, 2020 1 次提交
-
-
由 Yang Zhang 提交于
-
- 24 8月, 2020 1 次提交
-
-
由 ShenLiang 提交于
* add div, floor_div, remainder
-
- 21 8月, 2020 1 次提交
-
-
由 Zhou Wei 提交于
* binding tensor method * binding tensor method * binding tensor method * Binding methods for class Tensor and Variable
-
- 14 8月, 2020 1 次提交
-
-
由 Yang Zhang 提交于
* Upgrade `no_grad` decorator test=develop - match torch decorator usage (i.e., with parenthesis) - handle generator functions - add `paddle.no_grad` alias * Switch from `functools` to `decorator` preserves signature * Reword decorator usage note
-
- 27 5月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* Fix bug of different dtype in dygraph math_op_patch, test=develop * support np.dtype and str, test=develop * add unit test, test=develop
-
- 08 5月, 2020 1 次提交
-
-
由 hong 提交于
* fix numpy ndarray mul var base error; test=develop * add comment for __array_ufunc__ ; test=develop * move unitest from imperative math op path to test_math_op_patch_var_base; test=develop
-