- 14 3月, 2023 2 次提交
-
-
由 xiongkun 提交于
* [CINN]Enhance CacheKey hash logic by considering input dtypes (#50557) --------- Co-authored-by: Njiangcheng <thisjiang@qq.com> * [prim] enable dygraph_to_static to support custom_vjp * Pr 50885 (#7) * [CINN]Enhance CacheKey hash logic by considering input dtypes (#50557) * [CINN]Enhance CacheKey hash logic by considering input dtypes --------- Co-authored-by: Njiangcheng <thisjiang@qq.com> * [prim] enable dygraph_to_static to support custom_vjp * fix code in a dy2static-friendly way. * [dystatic] add hooker for prim --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: Njiangcheng <thisjiang@qq.com> Co-authored-by: Ncxxly <chenxx_id@163.com> * [prim] enable dygraph_to_static to support custom_vjp * fix cast prim and vjp dtype mapping error bug * [dy2static-ci] fix dy2static ci errors. --------- Co-authored-by: NAurelius84 <zhangliujie@baidu.com> Co-authored-by: Njiangcheng <thisjiang@qq.com> Co-authored-by: Ncxxly <chenxx_id@163.com>
-
由 Aurelius84 提交于
* Fix is_paddle_func not take effect for plain paddle API * fix typo * fix typo
-
- 10 3月, 2023 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 09 3月, 2023 2 次提交
-
-
由 zqw_1997 提交于
* move fluid.utils to paddle.utils.layers_utils * fix error * delete original fluid layers utils * remove import and old utils * remove more old utils import * change import path of fill_constant in the layers_utils.py * fix mistake * fix error * expose in __init__.py * for comment * when change the ref of func is_sequence, it should change to the root of is_sequence instead * for codecheck
-
由 Aurelius84 提交于
* [Dy2St]Enhance @to_static auto-skip paddle inner API * fix comment * fix class method
-
- 08 3月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
* move io * fix ci bugs * fix ci bugs * fix py3 bugs * fix example code * fix example code * fix text * fix text * deal with ci bugs * perfect code according comment * delete import batch
-
- 02 3月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] bugfix: make stop_gradient a cache key 1. make stop_gradient cache key in dy2static. * fix ci errors * fix ci error * fix ci error * fix ci error
-
- 23 2月, 2023 1 次提交
-
-
由 xiongkun 提交于
-
- 22 2月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
* tmp gather vjp * support gather * remove useless code * fix compiling error * fix ut * add eager test * add eager test * add seed * fix cpu error * fix transpose op compat * remove tensor index case * fix prim_cinn * fix ut
-
- 21 2月, 2023 1 次提交
-
-
由 xiaoguoguo626807 提交于
* fix composite mean op map * fix composite check output * init layer_norm * init layer_norm * map output from composite rule to origin op * add dropout op map * add input map check * polish log * modify rules * success test_forward * modify test without cinn * modify cinn test * modify cinn test * except fp64 * except fp64 * delete flatten * delete unused change * review * pass cpu test * code style * delete flatten fp16 error * modify flatten test --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
-
- 20 2月, 2023 2 次提交
-
-
由 xiongkun 提交于
* [dy2static] support fallback for whole graph. (stage 1) * bug fix * bug fix and add a new unittest * fix code by code review * fix coverage * [dy2static] ParameterRecorder Part 2 * Parameter Recorder - 2 bug fix * bugfix: fix the dygraph go into _jst.ld() errors. * fix ci error. * fix ci error
-
由 cyber-pioneer 提交于
* check win * fix random error * fix manage
-
- 17 2月, 2023 1 次提交
-
-
由 xiongkun 提交于
-
- 16 2月, 2023 1 次提交
-
-
由 zqw_1997 提交于
* beta * small commit * add batch_norm composite rule move composite test case remove unuseful var add composite op blacklist * small change v2 * finish the test_composite_mean and test_composite_mean_grad * add ops assertion to the tests * add cinn test * fix the error and inappropriate usage in func: mean_composite * remove the ref of outer lib in primtives.py * modify sample code of reduce_sum * fix composite mean op map * modify testcases to test more float type * remove cpu float16 test * cinn test fix * remove reduce_max * change the name sum to sum_x * change the use of reduce_sum to sum --------- Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
-
- 15 2月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 14 2月, 2023 3 次提交
-
-
由 Aurelius84 提交于
* [Dy2St]Enhance @not_to_static API * del breakpoint()
-
由 mhy-666 提交于
-
由 GGBond8488 提交于
* add gelu composite rule * use full replace fill_constant * change the form of calculation * remove float16 test for composite gelu * reformate code * remove float16 test case * add forwad with prim and backward without prim test * add float16 test for composite gelu and add high dims test * add float16 test case and high dims test * shield float16 and cpu test case * increase train step to 10 in test cinn prim gelu * replace pow to multiply
-
- 10 2月, 2023 1 次提交
-
-
由 Aurelius84 提交于
-
- 06 2月, 2023 1 次提交
-
-
由 mhy-666 提交于
-
- 03 2月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [dy2static] support fallback for whole graph. (stage 1) * bug fix * bug fix and add a new unittest * fix code by code review * fix coverage
-
- 01 2月, 2023 1 次提交
-
-
由 zqw_1997 提交于
remove fluid.initializer.UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, BilinearInitializer, MSRAInitializer, NumpyArrayInitializer and calculate_gain.. (#49498) * move UniformInitializer and ConstantInitializer * more modify * circular import resolved * another circular import resolved? * more circular import 2 * circular import 3 * change import paddle in metric.py * BuildStrategy import from fluid * modify the framework import path in common.py * change rnn.py import, from static to original framework * change import static in the nn folder * default_main_program should import from common_ops_import * add import paddle in param_attr.py * use core not paddle module for using VarDesc * another old uniform * mistake that use Uniform instead of UniformInitializer * modify UniformInitializer doc * move fluid.NormalInitializer to nn.initializer.NormalInitializer * remove import of Normal in fluid.layers.nn.py * remove more import of old Normal * remove more import of old Normal * sample code modify and tests modify import * is_listen_failed passing arg should be log file * problem solved * a mistake solved * comments resoleved and remove paddle.fluid.initializer.TruncatedNormalInitializer * remove paddle.fluid.initializer.XavierInitializer and paddle.fluid.initializer.MSRAInitializer * remove paddle.fluid.initializer.BilinearInitializer NumpyArrayInitializer and set_global_initializer * change fluid to static * change static to fluid to avoid circular import in distributed_strategy.py * fix example code and test_initializer * ValueType * sample code fix * change set_global_initializer back to fluid * put paddle.static.BuildStrategy.ReduceStrategy into the fuction to avoid circular import * remove calculate_gain, delete BilinearInitializer and revert set_global_initializer * change the time of using UniformInitializer, ConstantInitializer, NormalInitializer, TruncatedNormalInitializer, XavierInitializer, MSRAInitializer, NumpyArrayInitializer as few as possible * fix argument incampatible * fix more arg incompatible * fix test_prelu_op_xpu.py Constant * fix inaccurate doc * more doc fix: default value
-
- 20 1月, 2023 2 次提交
-
-
由 Jiabin Yang 提交于
-
由 GGBond8488 提交于
* replace paddle.fluid.layers.data and remove io.data * partial commit * partial commit * partial commit * partial commit * partial commit * partial commit * remove data in fluid.layers.io.__all__ * fix errors * fix unitests * fix unitest * fix unitests * fix unitest * fix unitest * fix unitests * fix unitest * fix test_layers unitests * fix typro * fix unitest * fix unitest * fix unitest * fix typro * fix unitest test_model_cast_to_bf16 * fix test_reducescatter * fix collective unitest * fix collective unitests * fix collective unitests * add coverage * fix add layers.data * re run ci * fix some typro * fix samplecode error * fix samplecode error
-
- 17 1月, 2023 3 次提交
-
-
由 xiongkun 提交于
* rebase merge * code fix * fix bugs
-
由 cyber-pioneer 提交于
* support @to_static+to_prime+cinn * fix code logic * debug4 * debug5 * debug6 * debug7 * debug 8 * debug 9 * debug10 * debug11 * debug11 * debug 12 Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
-
由 WangZhen 提交于
* Support call backward() without params in dy2st
-
- 13 1月, 2023 1 次提交
-
-
由 Jiabin Yang 提交于
* support elementwise base func * fix compiling error and add test * remove additional param * support vjp for div using comp * remove additional change * fix dy2st error with magic num * fix dy magic num * another magic * another magic * add more test * fix windows problem * another magic * fix windows compile * invoke ci * add skip rename strategy * support add vjp * fix test_tanh * support add with new axis cal * fix resnet and some test * add composite log * support sub vjp
-
- 11 1月, 2023 1 次提交
-
-
由 Ryan 提交于
* add enable_to_static and drop some methods of ProgramTranslator * fix code style * fix cant import enable_to_static and update unitest * change unitest and rollback code of PT * fix can't import as of utils * roll back PT * fix roll back * add some unitest * add unitest and fix codestyle bug in api.py * finish all unitest * remove ProgramTranslator * fix code style * restore test_program_translator * api.py remove get_func * TestDygraphToStaticCode * fix check_type and import err * roll back PT without getcode * roll back pt with get_code * convert_to_static * fix import __all__
-
- 10 1月, 2023 1 次提交
-
-
由 hjyp 提交于
* Add ignore_module API * fix type of parameter * Add test case of ignore-module
-
- 09 1月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [Dy2static] Add ParameterRecorder * filter by shape(tensor)==0 * fix code by review * fix random failed in CI. (especially coverage) * fix bugs * remove API changes to avoid static CI approval
-
- 06 1月, 2023 2 次提交
-
-
由 Aurelius84 提交于
* [D2SCinn]Add test_cinn unittest and param_grad into skip_gc_vars * remove print
-
由 Nyakku Shigure 提交于
-
- 03 1月, 2023 2 次提交
-
-
由 GGBond8488 提交于
* remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead * move Sequential to paddle.nn * modify convert_call_func.py Sequential reference * remove related unitests * remove fluid.dynamic.Sequntial * test remove conver_call_func * fix conflicts * fix typro * fix unitests * fix sample_code * fix unitest * fix __init__
-
由 骑马小猫 提交于
-
- 30 12月, 2022 2 次提交
-
-
由 xiongkun 提交于
* bugfix: fix bugs in Indexable and support LayerDict * fix bugs.
-
由 Sanbu 提交于
* 1219 * temporarily change the num_diff_files limit, test=document_fix * Revert "temporarily change the num_diff_files limit, test=document_fix" This reverts commit 8e70f00ef468d2dad0e38b3da06295ed62990d20. * for codestyle * remove duplicate license * `static mode` -> `static graph mode` * Update hybrid_parallel_inference.py * Update layer_function_generator.py * Update manipulation.py * reset Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 22 12月, 2022 2 次提交
-
-
由 Weilong Wu 提交于
* [eager] use CPUAllocator directly * modify pstring sizeof 48 default * rm CPU test for NaiveBestFitAllocator * fix Mac ci compile errors * use UNUSED to state unused_obj * mv UNUSED statement to allocator_facade.cc * fix roi_align * fix yolov3 test case * recover original code * recover original code * fix trt roi_align test Co-authored-by: Njerrywgz <jerrywgz@126.com>
-
由 Ghost Screaming 提交于
* Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result is wrong. * Remove climits. * Clean Fluid APIs in python/paddle/fluid/layers/nn.py, migrate spectral_norm and row_conv APIs, and remove ont_hot. Including following files: 1. python/paddle/fluid/layers/nn.py 2. python/paddle/fluid/tests/unittests/collective/fleet/parallel_dygraph_transformer.py 3. python/paddle/fluid/tests/unittests/dist_transformer.py 4. python/paddle/fluid/tests/unittests/dygraph_to_static/transformer_dygraph_model.py 5. python/paddle/fluid/tests/unittests/ipu/test_one_hot_op_ipu.py 6. python/paddle/fluid/tests/unittests/test_imperative_auto_prune.py 7. python/paddle/fluid/tests/unittests/test_imperative_load_static_param.py 8. python/paddle/fluid/tests/unittests/test_layers.py 9. python/paddle/fluid/tests/unittests/test_one_hot_op.py 10. python/paddle/fluid/tests/unittests/test_row_conv_op.py 11. python/paddle/fluid/tests/unittests/test_runtime_and_compiletime_exception.py 12. python/paddle/fluid/tests/unittests/test_spectral_norm_op.py 13. python/paddle/static/nn/__init__.py 14. python/paddle/static/nn/common.py * Polish code. * Fix some bugs. * Remove useless unittest. * Fix some bug. * Polish example code. * Fix some bugs. * Fix some bugs.
-
- 20 12月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* delete FLAGS_enable_eager_mode
-