1. 03 2月, 2023 1 次提交
    • J
      【Prim】Blacklist bwd comp (#50148) · cc8a7858
      Jiabin Yang 提交于
      * refactor dir for prim
      
      * support blacklist for bwd comp
      
      * fix type error
      
      * remove additional file
      
      * fix git ignore
      
      * add more test
      
      * merge develop
      cc8a7858
  2. 31 1月, 2023 1 次提交
    • C
      Integrate static code gen info (#49858) · 0e51f398
      Charles-hit 提交于
      * polish static grad op maker gen
      
      * fix some bugs
      
      * fix static code gen
      
      * solve conflict
      
      * modify composite grad maker name
      
      * integrate phi and fluid info in static code gen
      
      * rename some composite maker
      
      * modify static code gen format
      0e51f398
  3. 17 1月, 2023 2 次提交
    • J
      Add more dy2st ut2 (#49881) · 2242136a
      Jiabin Yang 提交于
      * add test for composite with dy2st
      
      * add more log
      2242136a
    • X
      【Prim】Add multiply,expand,div vjp rules (#49831) · 39c6765a
      Xiaoxu Chen 提交于
      * support elementwise base func
      
      * fix compiling error and add test
      
      * support vjp for div using comp
      
      * remove additional change
      
      * fix dy2st error with magic num
      
      * fix dy magic num
      
      * another magic
      
      * another magic
      
      * another magic
      
      * add skip rename strategy
      
      * support add vjp
      
      * support add with new axis cal
      
      * support sub vjp
      
      * [prim] add multiply vjp rules
      
      * [prim] add multiply vjp rules
      
      * [prim] fix no infershape with composite in _append_backward_ops
      
      * [prim] add expand vjp rule
      
      * [prim] add exp vjp rule
      
      * uncomment infer shape for reshape/sum static prim api
      
      * [prim] fix tanh nullptr error
      
      * remove some print message
      
      * fix magic number in run_program relative tests @JiaBinYang
      
      * [prim] add expand,multiply,exp vjp rules
      
      * fix only support single direction reduce error
      
      * infer reduce dims using out dims
      Co-authored-by: NJiabinYang <360788950@qq.com>
      39c6765a
  4. 28 11月, 2022 1 次提交
  5. 26 6月, 2022 1 次提交
  6. 05 6月, 2022 1 次提交
  7. 30 3月, 2022 1 次提交
  8. 09 3月, 2022 1 次提交
  9. 25 2月, 2022 1 次提交
  10. 20 2月, 2022 1 次提交
  11. 18 2月, 2022 1 次提交
  12. 15 11月, 2021 1 次提交
  13. 08 9月, 2021 1 次提交
  14. 25 5月, 2021 1 次提交
    • C
      modify complex template for elementwise ops (#33071) · dbc08d69
      chentianyu03 提交于
      * modify complex template for elementwise ops
      
      * modify mul, div grad struct
      
      * add complex template for CudaShuffleDownSync CudaShuffleXorSync funcs and fix the bug when delete cuda<9000
      
      * fix shuffle func args bug
      
      * fix shuffle func args bug
      
      * fix shuffle func args bug
      dbc08d69
  15. 30 12月, 2020 1 次提交
  16. 01 12月, 2020 1 次提交
  17. 27 5月, 2020 1 次提交
  18. 09 3月, 2020 1 次提交
  19. 26 11月, 2019 1 次提交
    • M
      Refactor MKL-DNN ElementwiseMul (#21061) · ed9ceb9f
      Michał Gallus 提交于
      * Refactor MKL-DNN ElementwiseMul
      
      remove manual fallback, remove format attrs
      test=develop
      
      * Refine PADDLE_ENFORCEs in eltwise_mul_op.h
      
      test=develop
      
      * Make ElementwiseMulOp inherit from ElementwiseOp
      
      * Change type of simd_width to int
      
      test=develop
      
      * Remove Constructor extensions in ElementwiseOp and ElementwiseMulOp
      
      test=develop
      
      * Restore attributes
      
      test=develop
      
      * Fix test coverage for mkldnn eltwise mul
      
      test=develop
      
      * Conform to new is_run_common_broadcast API
      
      test=develop
      
      * Add UT for AreDimsAndFormatCorrect
      
      test=develop
      ed9ceb9f
  20. 20 11月, 2019 1 次提交
  21. 31 10月, 2019 1 次提交
    • H
      GradMaker for dygraph (#19706) · 8c4573a3
      hong 提交于
      * refactor dygraph,test=develop
      
      * fix failed unittest,test=develop
      
      * polish code,test=develop
      
      * check windows ci error,test=develop
      try to fix windows ci error by np.allclose,test=develop
      
      * polish vlog and profiler, test=develop
      
      * try to fix preceding ops order,test=develop
      
      * test transformer in windows ci, test=develop
      
      * use python c-api to speed up tracer.trace,test=develop
      
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, add ut for debug string and gradient_accumulator
      
      * test=develop, add tests for layer/gradient_accumulator/prepared_op
      
      * test=develop, fix complie error for test_prepared_op
      
      * test=develop, add more ut for dygraph
      
      * test=develop, create API.spec for dygraph api change
      
      * optimize grad maker; test=develop
      
      * optimize grad maker
      
      * test
      
      * grad make optim; test=develop
      
      * fix unittest bugs; test=develop
      
      * add dygraph grad op maker and split_op
      
      * grad op maker refactor; test=develop
      
      * add dygraph grad maker; test=develop
      
      * fix op deformable_conv_v1_op bug; test=develop
      
      * fix deformable_conv prroi pool bugs;
      
      * fix new op grad op maker bug; test=develop
      
      * fix split by ref bug; test=develop
      
      * fix dygraph auto prune bug; test=develop
      
      * fix test_trace bug; test=develop
      
      * fix fused emb seq pool bug; test=develop
      
      * remove useless code in op_desc file; test=develop
      
      * remove useless code, StrVarBaseNode; test=develop
      
      * fix review issues; test=develop
      
      * fix rank_loss grad maker; test=develop
      
      * remove flag in VarBase; test=develop
      
      * fix distributed_notify_op compile bug ; test=develop
      
      * fix reshape op double grad; test=develop
      
      * fix expand as op; test=develop
      
      * add impertive type_defs.h for demo_train; test=develop
      
      * fix inference lib cmake; test=develop
      
      * fix inference lib; test=develop
      
      * fix infernce_lib; test=develop
      
      * fix inference cmake; test=develop
      
      * fix inference lib; test=develop
      
      * fix inference lib; test=develop
      
      * remove condition dygraph grad maker, modify local name; test=develop
      
      * fix split grad maker bug; test=develop
      
      * fix pyramid_op bug; test=develop
      
      * change travis time out limit; test=develop
      
      * restore travis; test=develop
      
      * change timeout limit; test=develop
      8c4573a3
  22. 30 9月, 2019 1 次提交
  23. 27 9月, 2019 1 次提交
  24. 18 9月, 2019 1 次提交
    • L
      Update elementwise double grad to save gpu memory (#19509) · 982e61f5
      Leo Chen 提交于
      * update elementwise double grad to save gpu memory, test=develop
      
      * update elementwise_mul/div_grad_grad to save memory, test=develop
      
      * remove eval function in eigen statement to save memory, test=develop
      
      * add unittest for elementwise_div_grad_grad without dout, test=develop
      
      * add unittest for elementwise_add_grad_grad without ddx, test=develop
      
      * add float16 cuda kernel for elementwise double grad op, test=develop
      982e61f5
  25. 13 5月, 2019 1 次提交
    • K
      add double grad for elementwise_mul op (#17255) · 8bae8590
      Kaipeng Deng 提交于
      * add double grad for elementwise_mul. test=develop
      
      * remove comment. test=develop
      
      * fix grad sum. test=develop
      
      * fix for axis expand. test=develop
      
      * add test for axis expand. test=develop
      8bae8590
  26. 16 11月, 2018 1 次提交
    • W
      Refine operator cmake (#14413) · a2d9b344
      Wu Yi 提交于
      * wip simplify operator framework
      
      * wip
      
      * wip
      
      * done test=develop
      
      * clean test=develop
      
      * fix test=develop
      
      * fix deps test=develop
      
      * fix cpu build test=develop
      
      * fix tensorrt build test=develop
      
      * fix tests test=develop
      
      * fix test=develop
      
      * fix cpu build test=develop
      a2d9b344
  27. 17 9月, 2018 2 次提交
  28. 15 6月, 2018 1 次提交
  29. 08 5月, 2018 1 次提交
    • Y
      Clean OpProtoAndCheckerMaker · 0e78cb69
      Yu Yang 提交于
      Do not use ctor
      
      * Reduce line of codes.
      * We can use virtual function for Maker now.
      * The implementation does not care what maker holds, it is easier to
      refactor later.
      0e78cb69
  30. 19 4月, 2018 1 次提交
  31. 17 4月, 2018 1 次提交
  32. 12 2月, 2018 1 次提交
  33. 10 2月, 2018 2 次提交
  34. 11 1月, 2018 1 次提交
  35. 26 12月, 2017 1 次提交
  36. 20 12月, 2017 1 次提交
  37. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95