Skip to content
Snippets Groups Projects
  1. Jul 23, 2021
  2. Jul 22, 2021
  3. Jul 20, 2021
  4. Jul 19, 2021
  5. Jul 17, 2021
  6. Jul 16, 2021
    • Yao Chi's avatar
      Refine module test using auto test by yaochi (#5484) · ec0dd0fa
      Yao Chi authored
      
      * startup: add sum testcase
      
      * mean, max, min, sum
      
      * refine test mul
      
      * refine test mul case
      
      * refine div, mul, sub test case
      
      * refine masked_fill test case
      
      Co-authored-by: default avatarXiaoyu Zhang <35585791+BBuf@users.noreply.github.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      ec0dd0fa
    • Xiaoyu Zhang's avatar
      Add more upsample kernel (#5382) · 17b259f4
      Xiaoyu Zhang authored
      
      * fix upsample nearest bug
      
      * fix upsample nearest bug (#5347)
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      
      * fix upsample bilinear bug
      
      * fix upsample bilinear bug
      
      * recover code
      
      * align with pytorch
      
      * redesign upsample bilinear
      
      * fix align corner bug
      
      * align bilinear with pytorch
      
      * fix conflict
      
      * fix bug
      
      * code reuse
      
      * fix commets
      
      * add upsample_linear_1d_user_op
      
      * add upsample_linear_1d_user_op
      
      * add linear1d interp cpu kernel
      
      * add linear1d interp gpu kernel
      
      * rename kernel name
      
      * add upsample nearest_1d kernel
      
      * add upsample nearest_1d cuda kernel
      
      * add upsample nearest_1d op
      
      * fix complie bug
      
      * add bicubic interp cpu kernel forward
      
      * add bicubic2d interp cpu kernel backward impl
      
      * add bicubic2d gpu kernel impl
      
      * fix bicubic kernel compile error
      
      * add bicubic2d kernel register
      
      * fix compile bug
      
      * nearest3d interp cpu kernel
      
      * add nearest3d gpu kernel
      
      * add nearest3d kernel registry
      
      * add nearest3d cpu kernel
      
      * add nearest3d cpu kernel
      
      * add nearest3d cpu kernel
      
      * fix upsample nearest interp bug
      
      * fix upsample nearest interp bug
      
      * add trilinear3d cpu kernel forward
      
      * add trilinear3d cpu kernel backward
      
      * add trilinear gpu kernel impl
      
      * add trilinear op registry
      
      * init interpolate nn function
      
      * add upsample functors
      
      * add interolate module
      
      * add interpolate test_case
      
      * restruct upsample_nearest2d and upsample_bilinear2d
      
      * add upsample nearest2d and bilinear2d op registry
      
      * add upsample nearest2d and bilinear2d op registry
      
      * add upsample kernel grad functor
      
      * add upsample_nearest_2d backward
      
      * add upsample_linear_1d backward
      
      * add upsample_nearest_1d backward
      
      * add upsample_bicubic_2d backward
      
      * fix backward impl bug
      
      * fix nearest1d backward bug
      
      * try to fix backward segmentfault
      
      * add data_format parammeter
      
      * fix upsample kernel backward bug
      
      * fix cuda kernel impl bug
      
      * fix upsample nearest bug
      
      * fix align_corner attr error
      
      * align linear1d impl with pytorch
      
      * fix trilinear register bug
      
      * fix trilinear bug
      
      * add trilinear aligncorners test
      
      * add test for bicubic, still has bug
      
      * reimpl bicubic2d kernel
      
      * align cubic interpolate with pytorch
      
      * add bicubic cuda kernel
      
      * fix bug
      
      * align api with pytorch
      
      * add doctest for interpolate
      
      * update interpolate docs
      
      * fix comments
      
      * fix check_of_return comment
      
      * fix comment
      
      * fix comments
      
      * fix commnet
      
      * fix comment
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix comments
      
      * fix comment
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: default avatarLuyang <flowingsun007@163.com>
      17b259f4
  7. Jul 15, 2021
  8. Jul 14, 2021
  9. Jul 13, 2021
  10. Jul 12, 2021
  11. Jul 10, 2021
    • Luyang's avatar
      Dev maxpool series op 123d (#5244) · a5bee493
      Luyang authored
      
      * add torch maxpool2d cpu kernel implementation
      
      * refine cpu implementation
      
      * op gpu implemetation
      
      * bug-fix
      
      * refine
      
      * add pooling kernel util
      
      * reimplementation of cpu kernel
      
      * gpu kernel implementation
      
      * gpu kernel implementation
      
      * bug fix
      
      * change indice index
      
      * change indice index of grad compute
      
      * add flag: return_indices
      
      * format code
      
      * update inteface param
      
      * add param dilation
      
      * bug-fix
      
      * update padding param
      
      * add maxpool2d test case
      
      * format code
      
      * bug fix
      
      * update tese case
      
      * update sbp of indice
      
      * add code sample
      
      * add new line
      
      * use oneflow_api.BlobDesc
      
      * add op torch maxpool1d
      
      * add sample codes
      
      * change dtype of indice
      
      * add torch maxpool3d interface
      
      * add implementation of maxpool3d
      
      * reformat codes
      
      * add atomic add
      
      * bug-fix
      
      * backward bug fix
      
      * update search index
      
      * format code
      
      * update imterface params
      
      * add sample code of maxpool3d
      
      * refine and add test case
      
      * support ellipsis type slice
      
      * refine
      
      * refine
      
      * support slice assign ellipsis type
      
      * refine
      
      * register fn to localtensor
      
      * merge master
      
      * update maxpooling ops
      
      * refactor maxpool2d op
      
      * add ceil mode testcase
      
      * rm useless code
      
      * refine
      
      * refactor maxpool3d op and test cases
      
      * refine
      
      * add maxpool1d implementation
      
      * simplify params using struct
      
      * fix sbp fn
      
      * del notes
      
      * refine
      
      * refine
      
      * add pooling functional api impl
      
      * refine
      
      * update sbp fn
      
      * refin thread num
      
      * refine
      
      * auto format by CI
      
      * rm bn test for debug
      
      * limit registers num
      
      * remove double dtype
      
      * .
      
      * auto format by CI
      
      * update data type
      
      * refine
      
      * add cuda synchronize and error string capture
      
      * move synchronize placement
      
      * debug all kernel compute
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * auto format by CI
      
      * debug std infinity
      
      * debug
      
      * add numeric utils
      
      * format
      
      * refine
      
      * add reference
      
      * remove useless header
      
      * move namespace to detail
      
      * fix doctest error
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: default avataroneflow-ci-bot <ci-bot@oneflow.org>
      a5bee493
    • Yinggang Wang's avatar
      Support inplace add (#5432) · 3f52f248
      Yinggang Wang authored
      
      * feat(add_): support inplace add
      
      * fix(add_): fix push bug
      
      * Add InplaceableBinaryFunctor
      
      * feat(add_): add tensor += other
      
      * docs(add_): fix docs
      
      * fix relu module bug
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      3f52f248
    • Luyang's avatar
      fix -1 index not support bug (#5448) · 326be45a
      Luyang authored
      * fix -1 index not support bug
      
      * add test case
      
      * fix -1 index not support bug
      326be45a
    • Xiaoyu Zhang's avatar
      Fix concat backward bug (#5443) · feac8104
      Xiaoyu Zhang authored
      
      * add argmax test
      
      * fix ci error
      
      * fix docstring warning
      
      * fix tensor greater and less bug
      
      * fix conflict
      
      * add test_flow_xxx_against_pytorch func
      
      * fix concat backward bug
      
      * auto format by CI
      
      * format
      
      * Add autograd engine warning (#5444)
      
      * add autograd engine warning
      
      * fix bug
      
      Co-authored-by: default avataroneflow-ci-bot <ci-bot@oneflow.org>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      feac8104
  12. Jul 09, 2021
  13. Jul 08, 2021
  14. Jul 07, 2021
  15. Jul 06, 2021