- 28 8月, 2023 2 次提交
-
-
由 GGBond8488 提交于
【inplace api】Batch add inplace api gt_, ge_, lt_, le_, eq_, not_equal_, logical_and_, logical_or_, logical_xor_, logical_not_, divide_, floor_divide_, bitwise_and_ , bitwise_or_, bitwise_xor_, bitwise_not_ (#55509) * tmp commit * add atan2 * add inplace api * fix error * add inpalce divide * add inplace api * add more inplace * add more inpalce * fix logical_not error * support sinh and cosh in cpu * support asin, acos, atan, asinh, acosh, atanh in cpu * fix typro * fix typro * mv out atan2 ldexp * mv out atan2 ldexp * support sinh and cosh in gpu * support asin, acos, atan, asinh, acosh, atanh in gpu * fix ge error * fix dygraph commpare error * fix dygraph commpare error * check complex in python * fix cast inpalce error * open inplace test * fix ops.yaml error * mv cast inpalce to python * fix coverage ci * add last inplace * fix inplace error * fix cast error * fix error * add nan_to_num_ * fix typro * fix sparse cast error * remove gpu 4 * fix static cast error * tmp commit * add atan2 * add inplace api * fix error * add inpalce divide * add inplace api * add more inplace * add more inpalce * fix logical_not error * fix typro * fix typro * mv out atan2 ldexp * mv out atan2 ldexp * fix ge error * fix dygraph commpare error * fix dygraph commpare error * fix cast inpalce error * open inplace test * fix ops.yaml error * mv cast inpalce to python * fix coverage ci * add last inplace * fix inplace error * fix cast error * fix error * add nan_to_num_ * fix typro * fix sparse cast error * remove gpu 4 * fix static cast error * fix cast error * fix * Revert "check complex in python" This reverts commit c822064261d774dd58ad46a4f90ba8b467700a05. * add renorm , fix error * add coverage * fix cumsum inpalce version error * add cast inpalce impl * rm test.log * fix multiply_dyfunction and add multiply_backward test * add and use is_same_tensor * fix typro * fix sone error * fix typro --------- Co-authored-by: NScotty <jmhgchn@gmail.com> Co-authored-by: NScotty <527407973@qq.com>
-
由 xiaoguoguo626807 提交于
* support ir api form prim * convert vector of int to intarray * add reference of lbfgs * add reference of lbfgs * support ir api for prim * Add more gen api * concat python api to concat_grad * fix gen conflict * support vjp prim mode in new ir * remove useless code * add vjp autogen v1.0 * add test for prim * resolve type conflict * modify utils * remove useless code * add split op and modify some bug of vectorType * fix conflict * add concat python test * add split python api to vjp * modify build bug * modify run bug * fix conflict bug * build bug fix * modify python api bug * modify test * fix conflict * fluid backward recover * recover conflict * reply review comments * modify opruntimeinfo num --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: Nchenzhiyang <1792266893@qq.com> Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
-
- 24 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* [prim][newir] add basic framework for primitive * support desctensor in new ir * add vjp interface * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * [prim][newir] add basic framework for primitive * support desctensor in new ir * support vjp in new ir * support vjp in new ir * polish vjp interface * fix stop_gradients set * fix vjp dispatch * add comment * add vjp test for new ir * add test for tanh vjp * add eager and static backend for warp lower level api * support call_vjp pybind * polish code and add test for vjp * remove useless code * polish code * remove useless code * support mean vjp * backward origin code * add test for mean vjp and support has_vjp function * fix call_vjp * polish code * add attrs and dtype interface * add primitive ops set for backend * fix compile bugs * fix some bugs * fix windows bugs * add vjp test for tanh_ * fix inference CI * fix inference ci * modify fluid cmake * origin test of tanh and mean passed * fix conflict * modify stop_gradient * remove useless deps * add cmake * modify block.ops * modify test * fix conflict * reply review comments * reply review comments * pulish code * fix comment * fix test * polish code * modify backward stop_gradients * modify static_backend.cc * refactor grad_op * support add and add_inplace vjp * remove useless code * remove useless code * remove cout * modify add_n * modify add_n with add_vjp test * modify add_n with add_vjp test * fix conflict and concat call_vjp * modify backward test * Add more gen api * modify split kernel pass * modify concat api * modify builtin split bug * delete vlog --------- Co-authored-by: Ncxxly <chenxx_id@163.com> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com> Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com>
-
- 21 8月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* support ir api form prim * convert vector of int to intarray * support ir api for prim * Add more gen api * concat python api to concat_grad * fix gen conflict * support vjp prim mode in new ir * remove useless code * add vjp autogen v1.0 * add test for prim * resolve type conflict * modify utils * remove useless code * add split op and modify some bug of vectorType * fix conflict * add concat python test --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn> Co-authored-by: NCharles-hit <wanghao107@baidu.com> Co-authored-by: N0x45f <wangzhen45@baidu.com> Co-authored-by: Nchenzhiyang <1792266893@qq.com> Co-authored-by: NChen Zhiyang <chenzhiyang99@126.com>
-
- 08 8月, 2023 1 次提交
-
-
由 Sarvesh Shashikumar 提交于
Flatten function docstring case 1 displayed incorrect output
-
- 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>
-
- 02 8月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
* fix security bug
-
- 31 7月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
support stride
-
- 18 7月, 2023 1 次提交
-
-
由 zhangjingwei 提交于
* add_example_for_lazygurd * fix
-
- 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
-
- 02 6月, 2023 1 次提交
-
-
由 Charles-hit 提交于
-
- 22 5月, 2023 1 次提交
-
-
由 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
-
- 18 5月, 2023 1 次提交
-
-
由 Charles-hit 提交于
* add meshgrid,expand_as, prod and grad bf16 kernel * fix bf16 for optest * modify code style * fix amp test
-
- 16 5月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 12 5月, 2023 1 次提交
-
-
由 傅剑寒 提交于
* fix doc eror of index_put in develop * fix doc error for index_put; test=document_fix; test=docs_preview
-
- 10 5月, 2023 1 次提交
-
-
由 傅剑寒 提交于
* add index_put api * fix value broadcast in backward and add test case in static * add timeout=120s for index_put * add op_compat for index_put * add inplace index_put test * add test case when index tensor in indices is int32 when indices.size less than x.dims * add index_put api backward in cpu place * add backward test case * refactor code to delete some duplicated code * replace reshape with resize for decrease extra memcpy * add datatype flag in backward yaml * fix bug in documentation * Update python/paddle/tensor/manipulation.py --------- Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
-
- 09 5月, 2023 1 次提交
-
-
由 Ainavo 提交于
-
- 08 5月, 2023 1 次提交
-
-
由 Asthestarsfalll 提交于
-
- 28 4月, 2023 1 次提交
-
-
由 co63oc 提交于
-
- 26 4月, 2023 1 次提交
-
-
由 骑马小猫 提交于
-
- 22 4月, 2023 1 次提交
-
-
由 wangfengsheng1999 提交于
[Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase (#52850) * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase * [Zero-Dim] support output 0D for is_empty/as_complex/, test=allcase * add test case * modify dot/metric.accuracy/static.accuracy/static.auc * modfiy inner/tensordot bug * test 9 api * [Zero-Dim] support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy, test=allcase * fix bug * support output 0D for is_empty/as_complex/inner/dot/rank/tensordot/squeeze_/static.accuracy/static.auc/metric.accuracy * code style * fix bug * fix test_dot_op bug * fix accuracy bug * fix bug * fix bug * fix bug * fix bug * codestyle * fix dot bug * fix dot bug * fix dot bug * code style * fix dot bug * fix dot bug * fix dot bug * fix dot bug * fix dot bug * fix dot bug * modify code
-
- 21 4月, 2023 2 次提交
-
-
由 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
-
由 Zhang Zheng 提交于
* [AMP OP&Test] Add check_dtype for some API (part 2) * fix ci * fix ci
-
- 19 4月, 2023 1 次提交
-
-
由 Zhang Zheng 提交于
* [AMP OP&Test] Add check_dtype for some API (part 1) * fix
-
- 18 4月, 2023 2 次提交
- 11 4月, 2023 1 次提交
-
-
由 Thomas Young 提交于
-
- 31 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* autofix Co-authored-by: NLiyulingyue <83450930+Liyulingyue@users.noreply.github.com> * revert changes in python/paddle/distributed/fleet/utils/hybrid_parallel_util.py * empty commit, trigger ci * fix test_slice --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 30 3月, 2023 3 次提交
-
-
由 zxcd 提交于
* add scatter composite rule. * add public_python_api * add python unit16 support. * fix code style. * add cinn to makelist * cinn unsupport uint16, forbidden cinn when dtype==uint16.
-
由 cyberslack_lee 提交于
[CodeStyle][C416][C417] rewrite unnecessary comprehension with function call and use generator instead of map (#52140) * codestyle c416 c417 * fix error * fix inc * unify all C4 rules into one * fix inc --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
- 29 3月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 28 3月, 2023 2 次提交
-
-
由 wanghuancoder 提交于
* delete old dygraph op test
-
由 jiangcheng 提交于
* [AMP] add fp16&bf16 support for flatten op * fix ci bug * fix inpute should astype self.dtype bug and fix zerodim test name * remove 0D-tensor bf16 test for window-inference-ci pass * remove flatten from op_accuracy_white_list
-
- 27 3月, 2023 1 次提交
-
-
由 Leo Chen 提交于
* unbind support bool dtype * replace np.array_equal
-
- 23 3月, 2023 1 次提交
-
-
由 Yuang Liu 提交于
-
- 21 3月, 2023 1 次提交
-
-
由 Ainavo 提交于
-
- 20 3月, 2023 2 次提交
-
-
由 zhouweiwei2014 提交于
-
由 GGBond8488 提交于
* migrate fill_constant to paddle.tensor * move fill_constant to paddle.tensor and repalce the reference * add missing fill_constant replacement * fix typro * remove unused import fill_constant * fix zeros import error * fix circle import * fix layers.zeros * fix unitest * fix unitests * fix unitest * use paddle.full replace fill_constant in samplecode * fix sample code * recovery xpu test * recovery xpu test * fix circle import * fix utils import error * fix utils error * fix circle import * redo * fix circle import * fix prim fill constant import * fix type error * fix increase error * fix test error * fix fill_constant
-
- 15 3月, 2023 1 次提交
-
-
由 Yuang Liu 提交于
-