1. 29 9月, 2022 1 次提交
  2. 05 9月, 2022 1 次提交
    • H
      [phi] Migrate memcpy kernel to PHI, hold NPU op (#45622) · 2f19a364
      HongyuJia 提交于
      * migrate memcpy to phi
      
      * fix typo error
      
      * fix typo error
      
      * fix  bug and testcase
      
      * fix typo, uniform_random_kernel.cc header
      
      * fix Alloc pinned bug
      
      * change GPUContext::GetPinnedPlace
      
      * add GetPinnedPlace function
      
      * add GetPinnedPlace function
      
      * restore default throw error
      
      * fix Unimplemented error
      
      * skip StandaloneExecutor testcase
      
      * delete memcpy_sig
      2f19a364
  3. 10 8月, 2022 1 次提交
    • N
      [CodeStyle] use np.testing.assert_array_equal instead of... · 93c5c887
      Nyakku Shigure 提交于
      [CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947)
      
      * automatically fix
      
      * update comments
      
      * numpy -> np
      
      * self.assertEqual(..., True)
      
      * wrong usage (err_msg=True)
      
      这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)`
      的错误用法,因此在修复后将其认为位置参数 `err_msg`
      
      * some missing fix
      93c5c887
  4. 13 7月, 2022 1 次提交
  5. 06 7月, 2022 1 次提交
    • L
      Refine StandaloneExecutor (#44076) · 6eed9f49
      Leo Chen 提交于
      * not run startup program in constructor of StandaloneExecutor
      
      * clear interface of standalone executor
      
      * clean debug code
      6eed9f49
  6. 01 7月, 2022 1 次提交
  7. 30 6月, 2022 1 次提交
  8. 14 6月, 2022 1 次提交
  9. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  10. 04 6月, 2022 1 次提交
  11. 14 4月, 2022 1 次提交
  12. 02 4月, 2022 1 次提交
  13. 27 3月, 2022 1 次提交
  14. 27 1月, 2022 1 次提交
  15. 10 1月, 2022 1 次提交
  16. 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
  17. 24 12月, 2021 1 次提交
  18. 06 12月, 2021 1 次提交
  19. 25 11月, 2021 1 次提交
  20. 23 11月, 2021 1 次提交
  21. 22 11月, 2021 1 次提交
  22. 17 11月, 2021 2 次提交
  23. 12 11月, 2021 1 次提交
    • L
      Refine new executor (#37074) · 1fe4513c
      Leo Chen 提交于
      * split declaration and implementation
      
      * remove initdevices
      
      * refine VariableMetaInfo
      
      * add ut
      
      * fix compile
      1fe4513c
  24. 08 11月, 2021 1 次提交
  25. 01 11月, 2021 1 次提交
  26. 29 10月, 2021 1 次提交
  27. 26 10月, 2021 1 次提交
  28. 22 9月, 2021 1 次提交
  29. 18 9月, 2021 1 次提交
  30. 14 9月, 2021 1 次提交
    • A
      Intergrate StandaloneExecutor in Static.Executor Interface with... · 4bc08530
      Aurelius84 提交于
      Intergrate StandaloneExecutor in Static.Executor Interface with FLAGS_USE_STANDALONE_EXECUTOR (#35628)
      
      * Intergrate StandaloneExecutor in Static.Executor Interface with FLAGS_USE_STANDALONE_EXECUTOR
      
      * Enhance unittest and clean code in StandaloneExecutor
      
      * polish unittest
      4bc08530
  31. 07 9月, 2021 1 次提交
  32. 03 9月, 2021 2 次提交
  33. 31 8月, 2021 1 次提交
  34. 26 8月, 2021 1 次提交
  35. 18 8月, 2021 1 次提交
  36. 05 8月, 2021 1 次提交
    • H
      New executor dev (#34407) · 012d12b5
      hong 提交于
      * first test version
      
      * add test exec;
      
      * add data transfer; test=develop
      
      * add new exec head;
      
      * add memcpy; test=develop
      
      * add python fetch
      
      * add new test
      
      * add graph node; test=develop
      
      * remove useless new executor test; test=develop
      
      * remove gperf dependency; test=develop
      
      * fix compile bugs; test=develop
      
      * remove useless code; test=develop
      
      * remove useless code; test=develop
      
      * add uni test; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      
      * add interpreter cmakefile; test=develop
      
      * remove useless code; test=develop
      012d12b5