1. 19 7月, 2022 1 次提交
    • W
      [Phi] Migrate infermeta and add yaml for solve op (#44379) · 5dfb87d9
      Weilong Wu 提交于
      * migrate solve kernel to phi
      
      * re useless header file, fix a bug in grad_kernel_impl
      
      * add header file in need
      
      * add yaml for solve op
      
      * fix solve_sig.cc ArgumentMapping and update tests case
      
      * disable legacy dygraph check in op_test
      
      * rm solve_op.cc / solve_sig.cc and migrate yaml config
      
      * Update op_test.py
      
      disable legacy dygraph check when check_eager is True
      5dfb87d9
  2. 16 7月, 2022 1 次提交
    • W
      [Phi] Migrate solve kernel to phi (#44363) · c0a7830f
      Weilong Wu 提交于
      * draft version
      
      * draft version
      
      * draft version
      
      * migrate solve kernel to phi
      
      * polish
      
      * polish
      
      * re useless header file, fix a bug in grad_kernel_impl
      
      * add header file in need
      c0a7830f
  3. 15 7月, 2022 1 次提交
  4. 14 7月, 2022 1 次提交
  5. 13 7月, 2022 2 次提交
  6. 12 7月, 2022 3 次提交
  7. 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
  8. 27 6月, 2022 1 次提交
  9. 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
  10. 10 6月, 2022 1 次提交
  11. 09 6月, 2022 1 次提交
  12. 08 6月, 2022 1 次提交
  13. 05 6月, 2022 1 次提交
  14. 04 6月, 2022 1 次提交
  15. 01 6月, 2022 1 次提交
  16. 31 5月, 2022 2 次提交
    • 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
    • Z
      add embedding yaml (#43029) · 2785f876
      zyfncg 提交于
      * add embedding yaml
      
      * fix infermeta bug
      
      * fix bug of selected_rows infer_meta
      
      * fix selected_rows
      
      * add unittest
      2785f876
  17. 30 5月, 2022 2 次提交
    • 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
    • A
      [fix] addmm supports 1-d input (#42959) · 849d937b
      Aganlengzi 提交于
      * addmm supports 1-d input
      
      * fix coverage
      
      * fix
      
      * more ut
      849d937b
  18. 27 5月, 2022 1 次提交
  19. 26 5月, 2022 1 次提交
  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. 20 5月, 2022 2 次提交
    • W
      [Eager] Make CreateInferMeta more robust (#42871) · d8b69124
      Weilong Wu 提交于
      d8b69124
    • X
      [Hackathon No.5] tril_indices OP (#41639) · 75db5b86
      xiaoguoguo626807 提交于
      * add tril_indices cpu kernal
      
      * modify tril_indice cpu op
      
      * modify bug
      
      * modify bug
      
      * add tril_indices python api
      
      * add tril_indices python api
      
      * resolve conflict
      
      * add tril_indices test
      
      * modify details
      
      * add tril_indices.cu
      
      * pythonapi pass
      
      * save tril_indices
      
      * CPU tril_indices pass
      
      * delete vlog
      
      * modify test_tril_indices_op.py
      
      * delete tril_indices_kernel.cc.swp
      
      * delete tril_indice.cu
      
      * modify code style
      
      * add newline in creation.py
      
      * modify creation.py linux newline
      
      * delete annotation
      
      * check code style
      
      * check .py style add final_state??
      
      * modify code style
      
      * add gpu_tril_indices
      
      * modify gpu_compiled_juage
      
      * modify gpu judge
      
      * code style
      
      * add test example
      
      * modify english document
      
      modify english document
      
      modify english document
      
      modify document
      
      modify document
      
      * modify pram name
      
      * modify pram name
      
      * modify pram
      
      * reduce test ex
      75db5b86
  22. 18 5月, 2022 1 次提交
  23. 12 5月, 2022 1 次提交
  24. 11 5月, 2022 1 次提交
    • Z
      [Phi] Change the output format of C++ backward api (Part1) (#42677) · ba71fbea
      zyfncg 提交于
      * change the output format of C++ backward api
      
      * fix merge conflict
      
      * fix sparse api code auto-gen
      
      * fix eager_gen bug
      
      * fix bug of output is null
      
      * fix bug of conv2d_grad_impl
      
      * fix optional grad
      
      * fix bug of eager-gen double_grad
      
      * fix bug
      
      * fix multiply_double_grad bug
      
      * remove node pruning
      ba71fbea
  25. 05 5月, 2022 1 次提交
  26. 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
  27. 28 4月, 2022 1 次提交
  28. 26 4月, 2022 2 次提交
    • 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
    • Z
      Optimize the performanece of sum api (#42231) · 2fe4bf2f
      zyfncg 提交于
      * optimize the performanece of sum api
      
      * optimize IsDenseTensorInput
      
      * remove debug log
      2fe4bf2f
  29. 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
  30. 20 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】9、为 Paddle 新增 logspace API (#41261) · a3c50c42
      BrilliantYuKaimin 提交于
      * 增加logspace的算子描述
      
      * 增加logspace的形状推断
      
      * 增加logspace核函数实现
      
      * 在python中增加logspace接口
      
      * 增加logspace单测
      
      * 增加logspace
      
      * Update logspace_kernel.cu
      
      * Update logspace_op.cc
      
      * 调整代码格式
      
      * Update doc of logspace
      
      * Update tensor.py
      
      * Update logspace_op.cc
      
      * Update logspace_kernel.cc
      
      * Update logspace_kernel.cu
      
      * Update test_logspace.py
      
      * 调整 logspace 的位置
      
      * 调整代码格式
      a3c50c42
  31. 19 4月, 2022 1 次提交
  32. 17 4月, 2022 1 次提交
    • C
      [Perf] Optimize dygraph scheduling performance (#41696) · 7ee31a96
      Chen Weihang 提交于
      * split phi and fluid infermeta context
      
      * resolve conflict
      
      * fix type error
      
      * optimize scheduling perf
      
      * spec small vector size
      
      * replace all grad var name
      
      * fix test failed
      
      * move init defalut signature
      
      * polish details
      
      * polish details
      
      * fix no init bug
      
      * init sig for tests
      
      * add init sig for infer
      
      * fix infrt error
      
      * fix infrt failed
      
      * fix kunlun error
      
      * fix infrt failed
      7ee31a96