1. 24 6月, 2022 1 次提交
  2. 22 6月, 2022 1 次提交
    • Y
      Optimize linspace to avoid GPU -> CPU copy. (#42750) (#43746) · 4dcfc6df
      Yiqun Liu 提交于
      cherry-pick #42750。
      
      QA反馈,#42750 优化后,solov2模型性能可提升6%,故cherry-pick到2.3。因#41096 将linspace python实现从fluid.layers.tensor挪到了paddle.tensor.creation下,该pr不在release/2.3分支中,故将#42750 中python修改同步到fluid.layers.tensor.linspace中。
      4dcfc6df
  3. 14 6月, 2022 1 次提交
    • X
      [ CherryPick ] Cherry pick for einsum optimization. (#43468) · 22e75d92
      xiongkun 提交于
      * [EinsumOp] Polish forward logic and backward logic for optimize (#42603)
      
      * change logic for optimize
      
      * modifty
      
      * merge
      
      * change einsum_v2 as default and add new flags: FLAG_einsum_opt=1|0 (#43010)
      
      * [EinsumOp] Make EinsumOp support bfloat16. (#43085)
      
      * change einsum_v2 as default and add new flags: FLAG_einsum_opt=1|0
      
      * make EInsumOP support bf16
      
      * add unittest for BF16
      
      * add condition for test_BF16
      
      * fix bugs
      
      * fix
      
      * change the backward api to fit einsum op
      22e75d92
  4. 08 6月, 2022 1 次提交
    • N
      Replace ReduceAmax/Amax.part.cu with KP (#43202) (#43263) · e161979e
      niuliling123 提交于
      Reduce amax/amin frobenius_norm_kerne原始实现为Eigen实现,文件编译时间较长,因此本PR将其替换为KP实现
      删除DefaultElementwiseOperator中重复功能支持,减少elementwise_double_grad OP编译时间
      e161979e
  5. 07 6月, 2022 1 次提交
  6. 06 5月, 2022 1 次提交
  7. 04 5月, 2022 1 次提交
  8. 28 4月, 2022 4 次提交
  9. 26 4月, 2022 1 次提交
    • C
      [Cherry-pick] Optimize dygraph performance part2 (#42224) · ab24b9c0
      Chen Weihang 提交于
      * Add paddle::variant and replace paddle::any (#42139)
      
      * add variant and replace any
      
      * split attribute
      
      * Optimize dygraph GetExpectedKernelType perf (#42154)
      
      * opt dygraph scheduling
      
      * revert part impl
      
      * fix variant compile error (#42203)
      
      * replace any by variant in infermeta (#42181)
      ab24b9c0
  10. 19 4月, 2022 1 次提交
  11. 18 4月, 2022 2 次提交
  12. 15 4月, 2022 1 次提交
  13. 14 4月, 2022 1 次提交
  14. 13 4月, 2022 2 次提交
  15. 12 4月, 2022 1 次提交
    • Y
      [Cherry-Pick]Add... · a0b0a32f
      YuanRisheng 提交于
      [Cherry-Pick]Add hard_swish/kron/linspace/logit/graph_send_recv/multi_dot/maxout/multiplex op yaml file  (#41566)
      
      * [Phi]Add graph_send_recv yaml file (#41206)
      
      * add graph_send_recv yaml
      
      * deal with confict
      
      * fix compile bugs
      
      * cherry-pick pr 41298
      
      * cherry-pick pr41550
      
      * fix compile bugs
      a0b0a32f
  16. 11 4月, 2022 1 次提交
    • C
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting... · b2e095c4
      Chen Weihang 提交于
      [Cherry-pick] Add truncated_normal/unique/swish/unbind yaml and polish Getting tensor place impl (#41539)
      
      * [Phi] Polish truncated normal kernel and add yaml (#41280)
      
      * polish truncated normal kernel
      
      * add yaml
      
      * add truncated normal kernel and add yaml
      
      * polish unittests and yaml
      
      * import dygraph mehtod
      
      * add unique yaml and final state api (#41460)
      
      * fix get tensor backend set bug (#41478)
      
      * [Phi] Add unbind yaml and final state api (#41277)
      
      * add unbind yaml
      
      * fix unittest
      
      * [Phi] Add swish yaml and final state api (#41479)
      
      * add swish yaml and final state api
      
      * skip mkldnn test
      
      * fix grad mkldnn test
      
      * add cherry-pick lost code
      b2e095c4
  17. 07 4月, 2022 1 次提交
  18. 06 4月, 2022 2 次提交
    • H
      Add conv yaml (#41354) · 7ed7c6c7
      hong 提交于
      * 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 cudnn = true
      
      * fix test mkldnn caching bug
      7ed7c6c7
    • X
      [Dygraph TestsFix] Test some tests in new dygraph final_state mode. (#41363) · 0b96793e
      xiongkun 提交于
      * fix less than
      
      * fix some tests
      
      * fix additional 3 unittest case
      0b96793e
  19. 05 4月, 2022 2 次提交
  20. 04 4月, 2022 2 次提交
  21. 03 4月, 2022 3 次提交
    • C
      [Phi]Concat grad (#41112) · 3f57ef7a
      chentianyu03 提交于
      * add concat_grad kernel
      
      * fix error
      
      * remove comment code
      
      * fix outs nullptr error
      
      * change to phi header
      
      * add concat_grad declare for standalone_executor_test
      3f57ef7a
    • F
      add maximum limit for grid of index_select (#41127) · af8d2482
      FlyingQianMM 提交于
      * limit grid dim for index select
      
      * mv LimitGridDim into gpu_launch_config.h
      
      * fix conflicts
      
      * fix conflicts
      
      * fix code style
      
      * set block to 256
      
      * fix grid setting
      
      * set dtype of block_dim to unsigned int
      af8d2482
    • Z
      Add randperm and range yaml (#41265) · fd1ecfc5
      zyfncg 提交于
      * add randperm and range yaml
      
      * add eager test for randperm
      fd1ecfc5
  22. 02 4月, 2022 5 次提交
  23. 01 4月, 2022 4 次提交
    • H
      update (#41245) · 99029dc9
      hong 提交于
      99029dc9
    • W
      [Eager] Support pinned (#41035) · f3270fc8
      wanghuancoder 提交于
      * support pinned, test=develop
      
      * support async_write, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine,test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      f3270fc8
    • C
      [Phi] Move softmax with cross entropy kernel into phi (#40832) · e6ec98fe
      Chen Weihang 提交于
      * add cross_entropy_with_softmax phi kernel
      
      * remove softmax_with_cross_entropy kernel
      
      * add softmax_with_cross_entropy grad kernel
      
      * remove original op kernel
      
      * refine cross entropy impl
      
      * fix pointer error
      
      * revert kernel cu change
      
      * fix xpu failed
      
      * fix cinn failed
      
      * fix npu failed
      
      * add forward sig
      
      * add check_nan_inf for pt kernel
      
      * remove repeat cmake item
      
      * fix unittest error
      e6ec98fe
    • C
      [Phi]Interploatd kernels into phi (#40855) · d65a7a46
      chentianyu03 提交于
      * add interploate cpu kernel
      
      * fix nullptr bug
      
      * add interpolate gpu kernel
      
      * fix unit test error
      
      * remove raw kernels
      
      * add cuda kernel impl
      
      * add infermeta
      
      * recover accidentally deleted kernels in interpolate op
      
      * fix grad x_grad name error
      
      * remove interpolate_v2_op.h
      
      * rm unused codes
      
      * fix xpu build error
      
      * fix build error
      
      * fix namespace error
      
      * add register header for nup
      
      * fix infermeta error
      
      * modify by review
      
      * add the missing args in test_trt_convert_nearest_interp_v2
      d65a7a46