1. 04 8月, 2022 1 次提交
    • X
      mv fold & unpool to phi (#44836) · e9994f2e
      xiaoting 提交于
      * fix conflicts
      
      * mv unused file
      
      * revert backward.h
      
      * revert lu_unpack kernel
      
      * rm .cu file
      
      * Update lu_unpack_kernel.cc
      
      * format phi yaml
      e9994f2e
  2. 03 8月, 2022 6 次提交
    • Z
      Phi fill diagonal (#44453) · 9f1616a0
      zhiboniu 提交于
      * phi_fill_diagonal
      
      * remove old kernels
      
      * update
      
      * update attr args
      
      * refix
      
      * update
      9f1616a0
    • T
      [operator migration] Migrate affine grid op (#44663) · d94b9686
      Thomas Young 提交于
      * save change
      
      * save change by YSL
      
      * save change by YSL
      
      * change by YSL
      
      * test pre commit
      
      * Revert "test pre commit"
      
      This reverts commit eee5e116331186cc544de871b4a5174a6431f17c.
      
      * fix code style
      
      * fix ctest
      
      * temp save
      
      * save change
      
      * change by YSL
      
      * final change by ysl
      
      * fix ci
      
      * fix code style
      
      * delete unuse code
      
      * change by ysl
      d94b9686
    • S
      move repeat interleave (#44753) · 3b32835f
      seemingwang 提交于
      * move repeat interleave
      
      * fix api name
      
      * recover op registration
      
      * fix arguments order
      
      * fix
      
      * fix infermeta
      
      * fix infermeta
      
      * fix header
      
      * fix infermeta
      
      * fix
      
      * fix
      
      * fix dtype
      
      * log&test
      
      * test
      
      * remove logs
      
      * fix
      
      * remove logs
      
      * combine files
      
      * combine
      
      * combine files
      
      * fix cuda place
      3b32835f
    • W
      [Phi] mv decode_jpeg (#44645) · a2265028
      wuyefeilin 提交于
      * mv kernel
      
      * mv infershape
      
      * mv yaml
      
      * update some
      
      * maintain decoe_jpeg in old dygraph
      
      * fix as review
      
      * rm decode_jpeg_op.cu
      
      * update for rocm
      a2265028
    • W
      [PHI] Move uniform random inplace op to PHI. (#44700) · bc106fad
      wuyefeilin 提交于
      bc106fad
    • W
      [PHI] Move eigvalsh op to phi (#44559) · cdbfeff4
      wuyefeilin 提交于
      * mv eigvalsh op
      cdbfeff4
  3. 01 8月, 2022 2 次提交
  4. 29 7月, 2022 1 次提交
    • L
      [PHI] Move lu to phi (#44605) · 3d88816e
      Lin Manhui 提交于
      * Add kernel declarations
      
      * Copy kernel implementation code
      
      * Transfer implementation code
      
      * Register new kernels
      
      * Remove old kernels
      
      * Fix code style
      
      * Fix bugs
      
      * mutable_data->HostAlloc
      
      * Transfer infermeta
      
      * Add yaml and update python api
      
      * Add PADDLE_WITH_HIP check
      
      * Update unittests
      
      * Fix bugs
      
      * Fix bugs
      
      * Optimize directory structure
      
      * Add output checks
      
      * lu_impl.h->lu_kernel_impl.h
      Co-authored-by: NBobholamovic <linmanhui@baidu.com>
      3d88816e
  5. 28 7月, 2022 2 次提交
    • X
      migrate dirichlet kernel to phi (#44434) · 798a4eac
      Xiaoxu Chen 提交于
      * migrate dirichlet op kernel to phi
      
      * fix dirichlet sample memory leak
      798a4eac
    • C
      Move frame kernel to phi (#44615) · 28b4b2f7
      Charles-hit 提交于
      * Move frame OP to phi、add frame OP yaml config and supplement single test
      
      * add Header file of in_dygraph_mode
      
      * Modify variable name and FrameGradInferMeta multiplex UnchangedInferMeta
      
      * move seq2col to phi
      28b4b2f7
  6. 27 7月, 2022 1 次提交
  7. 26 7月, 2022 2 次提交
  8. 25 7月, 2022 1 次提交
  9. 22 7月, 2022 1 次提交
  10. 20 7月, 2022 4 次提交
  11. 19 7月, 2022 1 次提交
  12. 15 7月, 2022 1 次提交
  13. 13 7月, 2022 1 次提交
  14. 12 7月, 2022 1 次提交
  15. 07 7月, 2022 1 次提交
    • A
      [IPU] support dy2static for IPU merge code (#43770) · 6984fbca
      Allen Guo 提交于
      * feat(): dynamic_to_static support for ipu.
      
      * fix(): format fix.
      
      * fix format
      
      * fix cpplint error
      
      * use phi::errors
      
      * fix format
      
      * fix format
      
      * fix(): add api to restore patched function.
      
      * fix(): identity_loss uses cpu place as expected kernel type.
      
      * doc(): add IPU dy2static related docs.
      
      * fix(): combine test cases.
      
      * fix format
      
      * fix comment
      
      * fix format
      
      * apply comment
      
      * fix compiling
      
      * fix(): align docs.
      
      * fix(): fix identity_loss function docs.
      
      * fix(): adjust mean and sum in identity_loss.
      
      * fix(): minor docs.
      
      * move API to paddle.incubate.identity_loss
      
      * fix UT
      Co-authored-by: Nzhaorui chen <zhaoruic@graphcore.ai>
      6984fbca
  16. 14 6月, 2022 1 次提交
    • X
      [ Make FLAGS_einsum_opt as default ] Einsum memory optimization (#43397) · 83abec60
      xiongkun 提交于
      * change logic for optimize
      
      * modifty
      
      * optimize the backward speed of EinsumOp
      
      * add cache optimizer for einsum op
      
      * EinsumOp: fix new dygraph mode error
      
      * fix bug
      
      * change Cache->InnerCache
      
      * fix code
      
      * fix
      
      * add nan inf utils for einsum op
      
      * add as_extra
      
      * memory optimizer for einsum
      
      * update code
      83abec60
  17. 10 6月, 2022 1 次提交
  18. 31 5月, 2022 1 次提交
    • T
      【PaddlePaddle Hackathon 2】16 新增 API RRelu (#41823) · 21e1d10f
      thunder95 提交于
      * rrelu逻辑部分
      
      * unregistered op kernel (unresolved)
      
      * commit before merge
      
      * 丰富测试用例
      
      * 修复rrelu-sig的bug
      
      * 修复cpu环境测试
      
      * 修改拼写错误
      
      * 修改code format
      
      * 尝试优化测试用例timeout的问题
      
      * 优化测试用例
      
      * 移除seed, 优化随机函数
      
      * update en doc for rrelu
      
      * fix rrelu en docs, test=document_fix
      
      * add paper link for en docs, test=document_fix
      
      * udpate en doc
      
      * add r,test=document_fix
      21e1d10f
  19. 30 5月, 2022 1 次提交
    • T
      【PaddlePaddle Hackathon 2】15 新增 API Nanmedian (#42385) · f87fa3c0
      thunder95 提交于
      * nanmedian op
      
      * 修改cuda kernel的bug
      
      * 修复count_if在其他硬件平台不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复isnan判断
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * fix code example
      
      * fix api comment error
      
      * 修改反向传播逻辑以及c++处理逻辑
      
      * 完成修改建议
      
      * typo pre_dim
      
      * update en docs, test=document_fix
      
      * remove numpy in en doc, test=document_fix
      
      * add r,test=document_fix
      
      * 添加api到all
      
      * follow advice from chenwhql
      f87fa3c0
  20. 25 5月, 2022 1 次提交
    • X
      [EinsumOp] Optimize the backward speed of EinsumOp (#42663) · 71b046cd
      xiongkun 提交于
      * change logic for optimize
      
      * modifty
      
      * optimize the backward speed of EinsumOp
      
      * add cache optimizer for einsum op
      
      * EinsumOp: fix new dygraph mode error
      
      * fix bug
      
      * change Cache->InnerCache
      
      * fix code
      
      * fix
      
      * add nan inf utils for einsum op
      
      * add as_extra
      
      * Compatible with v2.3 EinsumOp
      
      * remove dispensable
      71b046cd
  21. 18 5月, 2022 1 次提交
  22. 29 4月, 2022 1 次提交
    • X
      Make einsum_v2 support multi-operands (#42327) · 32cae24c
      xiongkun 提交于
      * Extend python einsum interface to make einsum_v2 support multi-operands and switch it to default.
      
      * add opt_einsum dependence
      
      * add yaml and support eager model
      
      * fix by code review
      32cae24c
  23. 28 4月, 2022 1 次提交
  24. 26 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】29、为 Paddle 新增 PixelUnshuffle 组网 API (#40728) · 5be9b824
      BrilliantYuKaimin 提交于
      * 增加PixelUnshuffle的形状推断
      
      * 增加PixelUnshuffle的算子注册
      
      * 增加PixelUnshuffle及其梯度的核函数
      
      * 增加PixelUnshuffle算子的描述
      
      * 增加PixelUnshuffle算子的签名
      
      * 在Python层面增加PixelUnshuffle
      
      * 增加PixelUnshuffle的单测
      
      * Update test_pixel_unshuffle.py
      
      * test=document_fix
      
      * Update test_pixel_unshuffle.py
      
      增加对extra_repr的测试
      
      * 修正代码格式
      
      * Update test_pixel_unshuffle.py
      
      修正对extra_repr的测试
      
      * 修改pixel_unshuffle核函数的实现位置
      
      * 修正代码格式
      
      * 完善对输入的检查
      
      * Update test_pixel_unshuffle.py
      
      * 完善pixel_unshuffle的输入检查
      
      * Update pixel_unshuffle_op.cc
      
      * Update unary.cc
      
      * add pixel_unshuffle
      
      * Update test_pixel_unshuffle.py
      
      * Update vision.py
      
      * 调整代码格式
      
      * Update vision.py
      
      * Delete extra spaces
      
      * Update pixel_unshuffle_sig.cc
      
      * Update vision.py
      
      * Update vision.py
      
      * add PixelUnshuffleGradInferMeta
      
      * remove PixelUnshuffleOpArgumentMapping
      
      * Update pixel_unshuffle_op.cc
      
      * 调整pixel_unshuffle及其梯度的核函数的实现位置
      
      * Update pixel_unshuffle_op.cc
      5be9b824
  25. 25 4月, 2022 2 次提交
    • B
      【PaddlePaddle Hackathon 2】24、为 Paddle 新增 nn.ChannelShuffle 组网 API (#40743) · bbaaf217
      BrilliantYuKaimin 提交于
      * Add infermeta for ChannelShuffle
      
      * Create channel_shuffle_grad_kernel.h
      
      * Create channel_shuffle_kernel.h
      
      * Create channel_shuffle_sig.cc
      
      * Create channel_shuffle_op.cc
      
      ChannelShuffle算子的描述
      
      * Create channel_shuffle_kernel_impl.h
      
      ChannelShuffle核函数的实现
      
      * Create channel_shuffle_grad_kernel_impl.h
      
      ChannelShuffle反向核函数的实现
      
      * Add kernel register of channel shuffle and grad
      
      注册ChannelShuffle及其反向的核函数
      
      * add nn.functional.channel_shuffle
      
      * add nn.ChannelShuffle
      
      * Create test_channel_shuffle.py
      
      * Update example of ChannelShuffle in vision.py
      
      * Update test_channel_shuffle.py
      
      * 修改channel_shuffle核函数的实现位置
      
      * 修正代码格式
      
      * 删除多余空格
      
      * 完善channel_shuffle的错误检查
      
      * Update unary.cc
      
      * Update channel_shuffle_op.cc
      
      * Update test_channel_shuffle.py
      
      * Update unary.cc
      
      * add channel_shuffle
      
      * Update test_channel_shuffle.py
      
      * Update vision.py
      
      * 调整代码格式
      
      * Update channel_shuffle_sig.cc
      
      * 更新ChannelShuffle的文档
      
      * 更新channel_shuffle的文档
      
      * remove ChannelShuffleOpArgumentMapping
      
      * add ChannelShuffleGradInferMeta
      
      * Update channel_shuffle_op.cc
      
      * 调整channel_shuffle及其梯度的核函数的位置
      bbaaf217
    • C
      replace any by variant in infermeta (#42181) · c2a05a90
      Chen Weihang 提交于
      c2a05a90
  26. 13 4月, 2022 1 次提交
  27. 08 4月, 2022 1 次提交
  28. 07 4月, 2022 1 次提交