1. 03 4月, 2023 1 次提交
  2. 28 3月, 2023 1 次提交
  3. 03 3月, 2023 1 次提交
  4. 22 12月, 2022 1 次提交
    • W
      [eager] use CPUAllocator directly (#47125) · 4537ba23
      Weilong Wu 提交于
      * [eager] use CPUAllocator directly
      
      * modify pstring sizeof 48 default
      
      * rm CPU test for NaiveBestFitAllocator
      
      * fix Mac ci compile errors
      
      * use UNUSED to state unused_obj
      
      * mv UNUSED statement to allocator_facade.cc
      
      * fix roi_align
      
      * fix yolov3 test case
      
      * recover original code
      
      * recover original code
      
      * fix trt roi_align test
      Co-authored-by: Njerrywgz <jerrywgz@126.com>
      4537ba23
  5. 20 12月, 2022 1 次提交
  6. 31 10月, 2022 1 次提交
  7. 07 9月, 2022 1 次提交
  8. 11 7月, 2022 1 次提交
  9. 26 6月, 2022 1 次提交
  10. 24 6月, 2022 1 次提交
  11. 10 6月, 2022 1 次提交
  12. 05 6月, 2022 1 次提交
  13. 02 6月, 2022 1 次提交
  14. 01 6月, 2022 1 次提交
  15. 27 5月, 2022 1 次提交
  16. 27 4月, 2022 1 次提交
  17. 25 4月, 2022 1 次提交
  18. 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
  19. 01 4月, 2022 1 次提交
  20. 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
  21. 27 3月, 2022 1 次提交
  22. 23 3月, 2022 1 次提交
  23. 18 3月, 2022 1 次提交
  24. 03 3月, 2022 2 次提交
  25. 25 2月, 2022 1 次提交
  26. 20 2月, 2022 1 次提交
  27. 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
  28. 09 2月, 2022 1 次提交
  29. 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
  30. 27 1月, 2022 1 次提交
  31. 25 1月, 2022 1 次提交
  32. 17 1月, 2022 1 次提交
    • 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
  33. 13 1月, 2022 1 次提交
  34. 31 12月, 2021 1 次提交
  35. 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
  36. 27 12月, 2021 1 次提交
  37. 20 12月, 2021 2 次提交
  38. 17 12月, 2021 1 次提交
    • F
      Get base pointer from Allocation (#37978) · 431a2d6a
      From00 提交于
      * Get GPU BasePtr from CUDA allocation
      
      * Fix compile error for ROCm
      
      * Add BasePtr function for IPUPlace in naive_best_fit_allocator.cc
      
      * Add alignment for BuddyAllocator
      
      * Set address alignment of BuddyAllocator to 32 bytes
      
      * Fix CI error
      
      * Remove code for naive_best_fit strategy
      431a2d6a