1. 31 8月, 2021 4 次提交
    • S
      Revert "Revert "Add copy from tensor (#34406)" (#35173)" (#35256) · 6116f9af
      Shang Zhizhou 提交于
      * Revert "Revert "Add copy from tensor (#34406)" (#35173)"
      
      This reverts commit 32c1ec42.
      
      * add template instantiation
      6116f9af
    • zhouweiwei2014's avatar
      fix bug that cmake find python (#35304) · 00c9aeb0
      zhouweiwei2014 提交于
      00c9aeb0
    • Z
      New whl release strategy with pruned nv_fatbin (#35239) · 2f3b393d
      Zhanlue Yang 提交于
      [Background]
      Expansion in code size can be irreversible in the long run, leading to huge release packages which
      not only hampers user experience but also exceeds a hard limit of pypi.
      
      In such, NV_FATBIN section takes up 86% of the compiled dylib size, owing to the vast number of GPU
      arches supported.
      
      This PR aims to prune this NV_FATBIN.
      
      [Solution]
      In the new release strategy, two types of whl packages will be involved:
      
      Cubin PIP package:
      PIP package maintains a smaller window for GPU arches support, containing
      sm_60, sm_70, sm_75, sm_80 cubins, covering Pascal - Ampere arches
      
      JIT release package:
      This is a backup for Cubin PIP package, containing compute_35, compute_50, compute_60,
      compute_70, compute_75, compute_80, with best performance and GPU arches coverage.
      
      However, it takes around 10 min to install due to the JIT compilation.
      
      [How to use]
      The new release strategy is disabled by default.
      To compile for Cubin PIP package, add this to cmake: -DCUBIN_RELEASE_PIP
      To compile for JIT release package, add this to cmake: -DJIT_RELEASE_WHL
      2f3b393d
    • W
      fix CI skip cc test error (#35264) · 3d76d003
      wuhuanzhou 提交于
      * fix CI skip cc test error, test=develop
      
      * remove test code, test=develop
      3d76d003
  2. 27 8月, 2021 1 次提交
  3. 26 8月, 2021 1 次提交
    • S
      Add copy from tensor (#34406) · ac33c0ca
      Shang Zhizhou 提交于
      * add api
      
      * temp save
      
      * revert
      
      * copytocpu async ok
      
      * fix style
      
      * copy sync ok
      
      * fix compile error
      
      * fix compile error
      
      * api done
      
      * update python async api
      
      * fix compile
      
      * remove async python api; add c++ async unittest
      
      * remove python async api
      
      * update unittest
      
      * update unittest
      
      * add C++ unittest for copytensor
      
      * add unittest
      
      * update namespace utils to class TensorUtils
      
      * add unittest
      
      * update unittest
      
      * update unittest
      
      * update code style
      
      * update code style
      
      * update unittest
      ac33c0ca
  4. 25 8月, 2021 2 次提交
  5. 23 8月, 2021 1 次提交
  6. 16 8月, 2021 1 次提交
  7. 10 8月, 2021 1 次提交
    • C
      copy boost/any.hpp to utils and replace boost::any with self defined any (#34613) · 12892929
      chentianyu03 提交于
      * add any.hpp to utils and replace boost::any with self defined paddle::any
      
      * add copy any.hpp to custom op depends
      
      * modify any.hpp include path
      
      * remove boost from setup.py.in
      
      * add copy any.hpp to custom op depends
      
      * move any.hpp to paddle/utils/ dirs
      
      * move any.h to extension/include direction
      
      * copy utils to right directions
      12892929
  8. 09 8月, 2021 1 次提交
  9. 06 8月, 2021 1 次提交
  10. 03 8月, 2021 1 次提交
  11. 29 7月, 2021 1 次提交
  12. 21 7月, 2021 1 次提交
  13. 14 7月, 2021 2 次提交
  14. 07 7月, 2021 1 次提交
  15. 06 7月, 2021 1 次提交
    • Z
      Add gpu implementation of shuffle_batch_op (#33938) · c6b6ba1f
      Zeng Jinle 提交于
      * add gpu implementation of shuffle batch
      test=develop
      
      * add thrust cuda patches
      test=develop
      
      * fix macro guard
      
      * fix shuffle batch compile on windows/hip
      
      * fix hip compilation error
      
      * refine CMakeLists.txt
      
      * fix windows compile error
      
      * try to fix windows CI compilation error
      
      * fix windows compilation again
      
      * fix shuffle_batch op test on Windows
      c6b6ba1f
  16. 02 7月, 2021 2 次提交
  17. 29 6月, 2021 2 次提交
  18. 24 6月, 2021 1 次提交
  19. 22 6月, 2021 1 次提交
  20. 21 6月, 2021 1 次提交
  21. 18 6月, 2021 2 次提交
  22. 17 6月, 2021 1 次提交
  23. 16 6月, 2021 1 次提交
  24. 15 6月, 2021 1 次提交
  25. 09 6月, 2021 1 次提交
  26. 08 6月, 2021 1 次提交
  27. 07 6月, 2021 1 次提交
  28. 02 6月, 2021 2 次提交
  29. 01 6月, 2021 2 次提交
  30. 28 5月, 2021 1 次提交