1. 27 4月, 2022 1 次提交
    • R
      Cherry pick for standalone executor (#42281) · 6e7e4501
      Ruibiao Chen 提交于
      * [cherry-pick] Support cinn_launch op in standalone executor (#42046)
      
      * Support cinn_launch OP in standalone executor
      
      * Remove some redundant code
      
      * [cherry-pick] Do not reset default stream for StreamSafeCUDAAllocator (#42149)
      6e7e4501
  2. 05 4月, 2022 1 次提交
    • L
      [new-exec] enable the new standalone executor by default (#41179) · 93ea1297
      Leo Chen 提交于
      * enable new executor by default
      
      * enable stream safe allocator
      
      * test=document_fix;test=coverage
      
      * do not use scope in op kernel
      
      * fit empty program for new executor
      
      * fix communication depend
      
      * fix test_sync_batch_norm
      
      * skip unsupported place
      
      * refine datatransfer
      
      * fit for dirtributed program
      
      * fix dependencpy
      
      * fix some ut
      93ea1297
  3. 01 4月, 2022 2 次提交
    • W
      [Eager] Support pinned (#41035) · f3270fc8
      wanghuancoder 提交于
      * support pinned, test=develop
      
      * support async_write, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine,test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      
      * refine, test=develop
      f3270fc8
    • F
      Fix compilation errors for gcc-54 (#41228) · 8aef685b
      From00 提交于
      * Fix compilation error for gcc-54
      
      * Remove const for gpuStream_t
      8aef685b
  4. 30 3月, 2022 1 次提交
    • F
      Add new APIs for GPU memory monitoring (max_memory_allocated,... · afe02e9d
      From00 提交于
      Add new APIs for GPU memory monitoring (max_memory_allocated, max_memory_reserved, memory_allocated, memory_reserved) (#38657)
      
      * Add new API memory_reserved
      
      * Add memory_allocated, max_memory_reserved and max_memory_allocater
      
      * Fix CI error
      
      * Fix CI error
      
      * Enhance UT
      
      * Add FLAGS_memory_stats_opt
      
      * Add STATS macro functions
      
      * Add StatAllocator
      
      * Fix CI errors
      
      * Add UT
      
      * Fix CI errors
      afe02e9d
  5. 27 3月, 2022 1 次提交
  6. 25 3月, 2022 1 次提交
    • z8hanghuan's avatar
      support multi_dims for tril_triu, *test=kunlun (#40712) · 9ffedcfd
      z8hanghuan 提交于
      * support multi_dims for tril_triu, *test=kunlun
      
      * support multi_dims for tril_triu, *test=kunlun
      
      * support multi_dims for tril_triu, *test=kunlun
      
      * update xpu.cmake date, support multi_dims for tril_triu, *test=kunlun
      9ffedcfd
  7. 23 3月, 2022 1 次提交
  8. 18 3月, 2022 1 次提交
  9. 14 3月, 2022 1 次提交
  10. 04 3月, 2022 1 次提交
  11. 03 3月, 2022 2 次提交
  12. 28 2月, 2022 1 次提交
    • L
      Profile Executor (#39641) · 7ecefec3
      liutiexing 提交于
      * add align for WorkQueue
      
      * add spinlock
      
      * merge develop
      
      * merge
      
      * Add EventsWaiter
      
      * Revert "Add EventsWaiter"
      
      This reverts commit e206173aa9be7401b83a53581627bfaf557c8fb2.
      
      * add log for Executor
      
      * Profile Allocators
      
      * Profile Allocators
      
      * adjust interface
      
      * remove lock for set
      
      * fix
      Co-authored-by: Nliutiexing <liutiexing@google.com>
      7ecefec3
  13. 25 2月, 2022 1 次提交
  14. 23 2月, 2022 1 次提交
    • C
      Update record interface using part3 (#39695) · 1fcaab45
      chenjian 提交于
      * fix RecordEvent interface
      
      * modify default level to 4
      
      * update interface use
      
      * add const default trace level
      
      * update record event interface using
      
      * update record event interface using
      
      * update record event interface using
      
      * update operator.cc
      
      * update part2
      
      * update part1
      
      * update part3
      
      * fix include profiler.h header in ps server
      
      * fix include profiler.h header in ps server
      
      * fix profiler.h header
      
      * fix profiler.h header
      
      * fix merge buf
      
      * update
      
      * fix bug
      
      * fix bug
      1fcaab45
  15. 20 2月, 2022 1 次提交
  16. 19 2月, 2022 1 次提交
    • S
      Add the DistributedFusedLamb optimizer (#39148) · 5df3cd61
      sneaxiy 提交于
      * add DistributedFusedLamb op
      
      * polish code
      
      * fix compile error
      
      * compatible with pten changement
      
      * fix rocm compile error
      
      * improve converage
      
      * update upstream/develop
      
      * fix cast_with_ptr.h
      
      * add FLAGS_distributed_lamb_divide_nranks_when_allreduce=1
      
      * fix clip before allreduce
      
      * add use_master_param_norm
      
      * code polish
      
      * fix bug
      
      * fix ROCM ci
      5df3cd61
  17. 15 2月, 2022 1 次提交
    • R
      [PluggableDevice] Add custom runtime support (#38740) · 3e7825f3
      ronnywang 提交于
      * [CustomRuntime] Add DeviceManager
      
      * [CustomRuntime] Add DeviceInterface
      
      * [CustomRuntime] Add Stream, Event, DeviceGuard, CallbackManager
      
      * [CustomRuntime] Add plug-in device
      
      * [CustomRuntime] Memory module support PluggableDevice
      
      * [CustomRuntime] Add WITH_PLUGGABLE_DEVICE cmake option
      
      * update
      
      * [API] update API doc based on comments, test=develop
      Co-authored-by: Nqili93 <qili93@qq.com>
      3e7825f3
  18. 09 2月, 2022 1 次提交
  19. 08 2月, 2022 1 次提交
    • F
      Support allocate CUDA managed memory (#39075) · 42910361
      From00 提交于
      * Rough implementation for experiment
      
      * Support allocate cuda managed memory
      
      * Fix CI error
      
      * Modify UT
      
      * Check whether support memory oversubscription
      
      * Fix ROCM Compile error
      
      * Fix ROCM Compile error
      
      * Fix UT cuda_managed_memory_test
      
      * Set UT timeout to 40
      
      * Add UT OOMExceptionTest
      
      * Set UT timeout to 50
      42910361
  20. 06 2月, 2022 1 次提交
  21. 27 1月, 2022 1 次提交
  22. 26 1月, 2022 1 次提交
  23. 25 1月, 2022 1 次提交
  24. 21 1月, 2022 2 次提交
  25. 17 1月, 2022 2 次提交
    • W
      [Pten] Replace platform::Place to pten::Place. (#38899) · c48a9ad5
      Wilber 提交于
      * add pten::Place data structure.
      
      * update ci problem
      
      * fix ci problem
      
      * update
      
      * using platform::Place=pten::Place
      
      * remove BOOST_GET_CONST for CPUPlace and GPUPlace
      
      * compile pass 25%.
      
      * compile pass 45%
      
      * compile pass 60%
      
      * remove boost_get for xpu npu mlu and ipu
      
      * compile pass on cpu and gpu.
      
      * fix compile problem
      
      * fix compile error.
      
      * update
      
      * fix ci problem
      
      * update
      
      * ci approve
      
      * fix ci problem
      
      * fix ci eager test problem
      
      * remove BOOST_GET_CONST
      
      * fix npu compile
      c48a9ad5
    • S
      add squared_l2_norm (#38968) · 6eeb16b8
      sneaxiy 提交于
      6eeb16b8
  26. 14 1月, 2022 1 次提交
    • Q
      [MLU]Add mean and reduce_mean op (#38872) · 7f8d5bc8
      qipengh 提交于
      * [MLU]: add mean and reduce mean op
      
      * [MLU]add mlu pytest dir in CMakeLists.txt
      
      * [MLU]fix tensor data
      
      * [MLU]fix TensorToPyArray and license
      7f8d5bc8
  27. 13 1月, 2022 1 次提交
  28. 10 1月, 2022 1 次提交
  29. 05 1月, 2022 1 次提交
  30. 04 1月, 2022 1 次提交
  31. 31 12月, 2021 1 次提交
  32. 30 12月, 2021 1 次提交
  33. 29 12月, 2021 1 次提交
  34. 28 12月, 2021 1 次提交
    • F
      Utilize StreamSafeCUDAAllocator to support fast GC in new executor (#37642) · 0c7153a4
      From00 提交于
      * fix reshape move storage error
      
      * remove needless set type
      
      * alloc tensor by shared storage
      
      * Utilize StreamSafeCUDAAllocator to support fast GC in new executor
      
      * Fix compile error for Windows and ROCm
      
      * Fix compile error for Windows
      
      * Modify UT stream_safe_cuda_alloc_test
      
      * Modify UT stream_safe_cuda_alloc_test
      
      * Rewrite fast GC
      
      * Rewrite fast GC
      
      * Fix compile error for BOOST_GET_CONST
      
      * Fix compile error for BOOST_GET_CONST
      
      * Changes default stream for StreamSafeCUDAAllocator
      
      * Fix a small CI error
      
      * Remove some redundant code
      
      * Fix conflict
      
      * Fix compile error for ROCm
      
      * Fix Windoes CI error
      
      * Fix CI error
      
      * Remove some unnecessary code
      
      * Fix CI error
      
      * Add UT for fast GC
      
      * Fix CI error
      
      * add device-agnostic stream class
      
      * add stream.h
      
      * fix ut
      
      * fix cpu compile
      
      * Use RWLock in GetAllocator
      
      * Fix CI error
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com>
      0c7153a4
  35. 27 12月, 2021 1 次提交
  36. 22 12月, 2021 1 次提交