Skip to content
Snippets Groups Projects
  1. Jul 15, 2021
  2. Jul 14, 2021
  3. Jul 13, 2021
  4. Jul 12, 2021
  5. Jul 11, 2021
  6. 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
    • Li Xinqi's avatar
      Lazy job stream type (#5389) · 097f5f99
      Li Xinqi authored
      
      * replace ForeignJobInstance using JobInstance
      
      * LazyJobStreamType
      
      * NNGraphIf
      
      * NNGraph -> NNGraphIf
      
      * fix compile bugs
      
      * add unit tests for instruction RunLazyJob
      
      * GetInputBufferName/GetOutputBufferName
      
      * address pr comments
      
      * add cuda complie switch
      
      * refine
      
      Co-authored-by: default avatarliufengwei <2472937968@qq.com>
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: default avatarclackhan <han_binbin@163.com>
      097f5f99
    • leaves-zwx's avatar
      c0949209
    • 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
    • leaves-zwx's avatar
      MultiClientSession (#5407) · 6870f841
      leaves-zwx authored
      
      * multi_client_session, single_client_session
      
      * refactor
      
      * modify according to MultiClientSessionContext api
      
      * InitScopeStack in multi-client
      
      * add function flag and scope attr
      
      * address review
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      6870f841
    • 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