1. 01 11月, 2021 1 次提交
    • Z
      Change maybe to optional (#6611) · 380d2414
      Zhanghuihong Guan 提交于
      * initial commit, add code for async construct tensor from numpy array
      
      * inital commit to change Maybe to Optional
      
      * delete redundant code
      
      * replace Maybe with Optional
      
      * fix compile errors
      
      * format code
      
      * changes based on review
      
      * format code, fix based on review
      
      * format code
      
      * fix multiclient type
      
      * changes based on review
      
      * changes based on review
      
      * unify calling to IsMultiClirnt
      
      * refector multi_client related code
      
      * restore InMultiClient interface
      
      * double check for unnecessary changes
      
      * remove unnecessary changes
      
      * format code
      
      * Update oneflow/api/python/symbol/job_conf_symbol.cpp
      
      * Update oneflow/api/python/symbol/op_conf_symbol.cpp
      
      * Update oneflow/api/python/symbol/op_node_signature_symbol.cpp
      
      * Update oneflow/core/common/optional.h
      
      * Update oneflow/api/python/symbol/string_symbol.cpp
      
      * Update oneflow/api/python/symbol/scope_symbol.cpp
      
      * Update oneflow/api/python/symbol/placement_symbol.cpp
      
      * Update oneflow/api/python/symbol/op_conf_symbol.cpp
      Co-authored-by: NHoujiang Chen <chenhoujiangcug@gmail.com>
      Co-authored-by: NTwice <i@twice.moe>
      380d2414
  2. 23 10月, 2021 1 次提交
  3. 20 10月, 2021 1 次提交
  4. 28 9月, 2021 1 次提交
  5. 27 9月, 2021 1 次提交
  6. 15 9月, 2021 1 次提交
  7. 03 9月, 2021 1 次提交
    • L
      Decompose nd sbp boxing (#5800) · 9c464a31
      Li Xinqi 提交于
      * GetBroadcastGroup
      
      * fix comment typo.
      
      * broadcast shape and dtype
      
      * 1) rm THREAD_LOCAL_CACHED; 2) fix bugs in ThreadLocal
      
      * fix wrong use of LocalRank
      
      * 1) a decorator for disabling recursive boxing call; 2) a decorator for checking consistent tensor meta.
      
      * don't set consistent_id when recursively calling eager consistent op interpreter.
      
      * decompose nd_sbp boxing
      
      * disable checking consistent tensor meta recursively.
      
      * GetDecomposableEquivalent
      
      * fix a unittest case bug
      
      * fix a bug in unittest
      
      * fix compiler complain
      
      * add unitests for CalcDecomposableEquivalentShapeAndNdSbpPair
      
      * InitNdSbpValidTransformationAxisSequence
      
      * DecomposeIntoNaiveTransformations
      
      * fix compiler complains
      
      * move several unitests in parallel_desc_test.cpp into placement_sbp_util_test.cpp
      
      * abstract_consistent_to_consistent_op_expr
      
      * fix compiler complaint
      
      * refactor consistent-to-consistent eager consisitent op interpreter
      
      * fix compiler complaint
      
      * refactor ConsistentToConsistentOpExpr
      
      * lazy interpreter (#5903)
      
      * fix bugs about consistent_id
      
      * refactor functional::ToConsistent
      
      * refactor GetNdSbp
      
      * fix compiler complaints
      
      * upgrade gtest and fix static check error
      
      * update head file index
      
      * fix bug
      
      * modify path of gtest lib
      
      * refactor NaiveNdSbpBoxingInterpreter to BoxingExpr(symmetric-nd-sbp-to-nd-sbp)
      
      * fix compiler complaints
      
      * Update gmock_headers.txt
      
      * Update gtest_headers.txt
      
      * fix bug about disable checking consistent meta in local to consistent functor
      
      * fix include bug
      Co-authored-by: qq_22305325's avatarclackhan <han_binbin@163.com>
      Co-authored-by: Nleaves-zwx <kunta0932@gmail.com>
      Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: Nliufengwei <2472937968@qq.com>
      Co-authored-by: NTwice <i@twice.moe>
      Co-authored-by: NShenghang Tsai <jackalcooper@gmail.com>
      9c464a31
  8. 28 8月, 2021 1 次提交
  9. 27 8月, 2021 1 次提交
  10. 17 8月, 2021 1 次提交
    • K
      add randperm with test and docs (#5680) · 7baabd4e
      Kevin_Xiong 提交于
      * add randperm with test and docs
      
      * format code
      
      * format
      
      * fix docs
      
      * format the code and add more tests
      
      * format code
      
      * Update test_randperm.py
      
      * Update randperm.py
      
      * add head
      
      * format codes
      
      * docs
      
      * Update test_randperm.py
      
      * Update test_randperm.py
      
      * add more tests
      
      * format
      
      * Update randperm.py
      
      * Update randperm_kernel.cu
      
      * Update randperm_kernel.cu
      
      * Update randperm_kernel.cpp
      
      * reconstruct the code
      
      * format the code
      
      * 2
      
      * s
      
      * 1
      
      * 1
      
      * refine
      
      * add more test
      
      * refine code
      
      * fix according to comment
      
      * add more test
      Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      7baabd4e
  11. 16 8月, 2021 1 次提交
    • Z
      Use symbol dtype (#5641) · a30d9fc0
      ZZK 提交于
      * process api dtype
      
      * process api tensor
      
      * small fix
      
      * fix to name func
      
      * still error
      
      * still error
      
      * revert master
      
      * fix symbol dtype part1
      
      * import error
      
      * still error
      
      * still error
      
      * fix symbol
      
      * add Dtype4Datatype function
      
      * work in process
      
      * undefined symbol of tensorbuffer
      
      * macro bug
      
      * construction func return symbol dtype
      
      * process deprecated api
      
      * fix name
      
      * fix bug
      
      * change to use reference
      
      * fix format
      
      * fix name
      
      * small fix
      
      * fix symbol dtype
      
      * modify functor datatype to symbol dtype
      
      * fix to symbol dtype
      
      * add object as for symbol dtype
      
      * modify return symbol dtype
      
      * modify functor
      
      * modify autograd section
      
      * modify autograd
      
      * modify core
      
      * modify back for functional
      
      * modify functional impl
      
      * modify value types
      
      * modify value types
      
      * fix args
      
      * modify tensor
      
      * modify back
      
      * fix comment
      
      * small fix
      
      * auto format by CI
      
      * fix tensor buffer bug
      
      * modify new interface
      
      * modify new interface
      
      * remove annotation
      
      * auto format by CI
      
      * need refine
      
      * remove dtype4datatype
      
      * modify use Get
      
      * auto format by CI
      
      * small fix
      
      * auto format by CI
      
      * remove annotation
      
      * houjiang fix to symbol dtype pointer
      
      * fix dtype
      
      * fix format
      
      * remove annotation
      
      * small fix
      
      * add null ptr support
      
      * auto format by CI
      
      * use symbol dtype
      
      * fix
      
      * auto format by CI
      
      * small fix
      
      * fix in lazy op interpreter
      
      * auto format by CI
      
      * fix to use symbol dtype
      
      * small fix to use equal instead of is in single client
      
      * fix conflict
      
      * Format
      
      * Fix to use symbol dtype
      Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      Co-authored-by: Noneflow-ci-bot <ci-bot@oneflow.org>
      Co-authored-by: Ncheng cheng <472491134@qq.com>
      a30d9fc0
  12. 14 8月, 2021 1 次提交
  13. 12 8月, 2021 1 次提交
  14. 09 8月, 2021 1 次提交
  15. 30 7月, 2021 1 次提交
  16. 07 7月, 2021 1 次提交