Skip to content
Snippets Groups Projects
  1. Jul 16, 2021
  2. Jul 14, 2021
  3. Apr 07, 2021
  4. Mar 23, 2021
  5. Mar 09, 2021
  6. Mar 05, 2021
  7. Feb 17, 2021
    • Li Xinqi's avatar
      Multi reentrant lock (#4225) · 3d33bde2
      Li Xinqi authored
      
      * source subset tick
      
      * remove useless header files
      
      * insert DstSubsetTickOp
      
      * remove incorrect CHECK
      
      * add tick op for each machine
      
      * TryBindBnWithOneofRegst
      
      * add sink tick op in main_job
      
      * refactor LinkMainJob
      
      * fix typo in task_graph
      
      * refactor AddGlobalCriticalSection
      
      * rename and refactor DstSubsetTick::InferBlobDescs and SrcSubsetTick::InferBlobDescs
      
      * add src_subset_tick for input-output critical section
      
      * refactor AutoSourceTick and AutoSinkTick
      
      * vectorizedly link main job
      
      * resize vectorh identity_tick_op_names then access elements
      
      * SrcSubsetTickCompTaskNode: bind bns and in_regst if bns is valid in current device
      
      * refactor optional input to repeated inputs for SrcSubsetTickOpConf
      
      * fix a bug in CaseCompTaskNode; fix a bug when create identity tick in main_job
      
      * 1) Insert tick between sourc tick and src_subset_tick; 2) Insert tick between dst_subset_tick and sink tick
      
      * stash code
      
      * refactor MakeMainJob by using Range::ForEachSubRange
      
      * refactor MakeMainJob by using Range::ForEachSubRange
      
      * rename ReentrantLockLinkPoint to ReentrantLockBackEdge
      
      * set piece id for regst sent by wait_and_send_ids actor
      
      * callback_notifier_sink_tick
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      3d33bde2
  8. Feb 15, 2021
    • Li Xinqi's avatar
      Vectorized linking main job (#4223) · b4fcfd50
      Li Xinqi authored
      
      * source subset tick
      
      * remove useless header files
      
      * insert DstSubsetTickOp
      
      * remove incorrect CHECK
      
      * add tick op for each machine
      
      * TryBindBnWithOneofRegst
      
      * add sink tick op in main_job
      
      * refactor LinkMainJob
      
      * fix typo in task_graph
      
      * refactor AddGlobalCriticalSection
      
      * rename and refactor DstSubsetTick::InferBlobDescs and SrcSubsetTick::InferBlobDescs
      
      * add src_subset_tick for input-output critical section
      
      * refactor AutoSourceTick and AutoSinkTick
      
      * vectorizedly link main job
      
      * resize vectorh identity_tick_op_names then access elements
      
      * SrcSubsetTickCompTaskNode: bind bns and in_regst if bns is valid in current device
      
      * refactor optional input to repeated inputs for SrcSubsetTickOpConf
      
      * fix a bug in CaseCompTaskNode; fix a bug when create identity tick in main_job
      
      * 1) Insert tick between sourc tick and src_subset_tick; 2) Insert tick between dst_subset_tick and sink tick
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      b4fcfd50
  9. Feb 14, 2021
    • Li Xinqi's avatar
      Sink tick in main job (#4207) · 25d9c26c
      Li Xinqi authored
      
      * source subset tick
      
      * remove useless header files
      
      * insert DstSubsetTickOp
      
      * remove incorrect CHECK
      
      * add tick op for each machine
      
      * TryBindBnWithOneofRegst
      
      * add sink tick op in main_job
      
      * refactor LinkMainJob
      
      * fix typo in task_graph
      
      * refactor AddGlobalCriticalSection
      
      * rename and refactor DstSubsetTick::InferBlobDescs and SrcSubsetTick::InferBlobDescs
      
      * add src_subset_tick for input-output critical section
      
      * refactor AutoSourceTick and AutoSinkTick
      
      * SrcSubsetTickCompTaskNode: bind bns and in_regst if bns is valid in current device
      
      * refactor optional input to repeated inputs for SrcSubsetTickOpConf
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      25d9c26c
  10. Feb 09, 2021
    • Li Xinqi's avatar
      Tick per machine (#4204) · c95516da
      Li Xinqi authored
      
      * source subset tick
      
      * remove useless header files
      
      * insert DstSubsetTickOp
      
      * remove incorrect CHECK
      
      * add tick op for each machine
      
      * TryBindBnWithOneofRegst
      
      * fix typo in task_graph
      
      * rename and refactor DstSubsetTick::InferBlobDescs and SrcSubsetTick::InferBlobDescs
      
      * SrcSubsetTickCompTaskNode: bind bns and in_regst if bns is valid in current device
      
      * refactor optional input to repeated inputs for SrcSubsetTickOpConf
      
      Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
      c95516da
  11. Feb 08, 2021
  12. Oct 10, 2020
  13. Jul 28, 2020
  14. Jul 26, 2020
    • binbinHan's avatar
      refactor ParallelConf (#3268) · dd0786dd
      binbinHan authored
      
      * refactor ParallelConf
      
      * refactor parallel_conf
      
      * fix parallel_conf init
      
      * refactor opkernel_instruction_type init/compute
      
      * fix test_cpu_only_user_op
      
      * remove notes
      
      * fux non_distributed_optimizer_pass.cpp bug
      
      * fix code style
      
      * fix a small bug
      
      Co-authored-by: default avatarLi Xinqi <lixinqi2010@gmail.com>
      dd0786dd
  15. Jul 23, 2020
    • Shenghang Tsai's avatar
      Dev apache2 license (#3266) · d0bdbd5d
      Shenghang Tsai authored
      
      * add license at root dir
      
      * check in empty files
      
      * rm space
      
      * check in script
      
      * update script
      
      * fix bug
      
      * add print
      
      * fix
      
      * add exit
      
      * add to of_format
      
      * add CI task
      
      * fix license
      
      * Revert "fix license"
      
      This reverts commit 818b6d7691d3a8b4a25dd41a47ff2c5922b8ec57.
      
      * only add once
      
      * quick fix
      
      * fix script
      
      * dont fmt empty file
      
      * fix
      
      * quick fix
      
      * fix py
      
      * add license
      
      * fix exit
      
      * add license for hpp
      
      * add license
      
      * license new vm files
      
      Co-authored-by: default avatartsai <caishenghang@oneflow.org>
      d0bdbd5d
  16. Mar 17, 2020
  17. Jan 08, 2020
  18. Dec 24, 2019
  19. Dec 16, 2019
  20. Oct 29, 2019
    • Li Xinqi's avatar
      fixed_vector (#2372) · 808aa47e
      Li Xinqi authored
      * 1) class Symbol; 2) return const Shape& from Blob::shape() (#2360)
      
      * 1) class Symbol; 2) return const Shape& from Blob::shape()
      
      * const Symbol<Shape> => const Symbol<Shape>&
      
      * refactor Symbol<T>
      
      * CachedCaller
      
      * define Symbol<T>::ptr_ as std::atomic<const T*>
      
      * replace unique_lock with lock_guard
      
      * refactor Blob::shape()
      
      * refactor Blob::shape_sym
      
      * backup
      
      * refactor cached caller
      
      * op_infer_cache
      
      * ThreadLocalCachedCall
      
      * clang-format
      
      * refactor Blob::shape()
      
      * CheckNumAxesIdenticalAndAssign
      
      * refactor symbol
      
      * rename: FindOrInsertPtr => GetOrCreatePtr
      
      * 1) LeftOnesExtendedAssign; 2) LeftOnesStrippedAssign
      
      * fix a stupid bug in Symbol::operator!=
      
      * fixed_vector
      
      * rename: ToDimVec => ToDimVector
      808aa47e
  21. Sep 18, 2019
  22. Sep 17, 2019
  23. Sep 01, 2019
    • Li Xinqi's avatar
      Dev build and infer ctx (#2089) · 47716d11
      Li Xinqi authored
      * add job_build_and_infer_ctx interface
      
      * lbn_with_split_hint
      
      * fix maybe macro
      
      * fix signature of Maybe<T>::Error()
      
      * job_build_and_infer_if
      
      * add c_api_util wrapper for job_build_and_infer_ctx
      
      * implement python/job_build_and_infer interface
      
      * CurJobBuildAndInferCtx_AddPlacementGroup
      
      * BuildJobAndInferCtx  and  Mgr  c++ implement (#2074)
      
      * job_build_and_infer_ctx_mgr
      
      * refine interface of infer_ctx_mgr
      
      * JobBuildInferCtx set job conf; add and refine error type
      
      * revert job.proto
      
      * half impl of add op in build_infer_ctx
      
      * generate op produced empty logical blob desc ; infer out blob desc interface
      
      * job_build_and_infer_ctx VERSION 1
      
      * add InferOutBlobDesc for conv op; remove record_piece_size in interface op
      
      * maybe return
      
      * job_set hold by job_build_and_infer_ctx_mgr
      
      * check placement when infer ctx mgr leave cur job
      
      * Global New/Delete JobBuildAndInferCtxMgr
      
      * add JUST when ctx add op
      
      * remove unused job_conf.arg_op_name
      
      * fix bugs caused by python new api
      
      * fix bugs caused by lack of Global<JobDesc>
      
      * fix bugs caused by new api
      
      * refactor compiler.Compile
      
      * merge dev_python
      
      * remove unused message proto
      
      * rename api
      47716d11
  24. Aug 29, 2019
  25. Aug 17, 2019
  26. Aug 16, 2019
    • Li Xinqi's avatar
      Bugfix job set multi device (#2019) · ecb31401
      Li Xinqi authored
      * sbp for tick input bn
      
      * interface_blob_conf for output_op/switch_output_op
      
      * set sbp conf for tuple identity op
      
      * fix bugs when merge main plan
      
      * delete useless code
      
      * address review
      ecb31401
  27. Aug 13, 2019
    • jackalcooper's avatar
      Refactor job completer (#1998) · 1e37c187
      jackalcooper authored
      * fmt
      
      * refactor GenerateOpConf4Trainning
      
      * more refactor
      
      * refactor SetCtrlInOpName4VariableOp
      
      * use uniq ptr
      
      * refactor RewriteBoxingWithAllReduce
      
      * refactor MakeAllReduceSequence
      
      * refactor auto_mixed_precision
      
      * refactor DumpLogicalBlobDescAndSbpSignature
      
      * refactor group_boxing_by_dst_parallel
      
      * refactor add_keep_header_only_op_conf
      
      * refactor AutoSourceTick
      
      * refactor AddTickForTimeShape
      
      * refactor AutoSinkTick
      
      * refactor AddGlobalOutputCriticalSections
      
      * refactor SetOpTimeShape7BatchDimLbis
      1e37c187
    • jackalcooper's avatar
      Fix keep header only (#2001) · 96dd134b
      jackalcooper authored
      * speedup compile time
      
      * fix keep header only
      96dd134b
  28. Aug 12, 2019
  29. Jul 20, 2019
  30. Jul 19, 2019
  31. Jul 13, 2019
  32. Jun 29, 2019
  33. Jun 25, 2019
  34. Jun 21, 2019
  35. Jun 20, 2019
  36. Jun 19, 2019