1. 26 5月, 2023 1 次提交
    • Y
      [PHI Decoupling]Create PHI shared lib (#53735) · da50a009
      YuanRisheng 提交于
      * create phi so
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * add file
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * perfect so
      
      * fix py3 bugs
      
      * delete all static target in phi
      
      * fix windows bugs
      
      * fix py3 bugs
      
      * fix ci bugs
      
      * fix windows bugs
      
      * fix bugs: gflags can't be linked by dynamic and static lib
      
      * fix bugs that can not load 3rd party
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix conflict
      
      * fix xpu bugs
      
      * fix mac compile bugs
      
      * fix psgpu bugs
      
      * fix inference failed
      
      * deal with conflict
      
      * fix LIBRARY_PATH bug
      
      * fix windows bugs
      
      * fix onednn error
      
      * fix windows compile bugs
      
      * fix windows compile bugs
      
      * fix test_cuda_graph_static_mode_error aborted
      
      * fix windows bugs
      
      * fix mac-python3 error
      
      * fix hip compile bugs
      
      * change mode to static
      
      * change to static mode
      
      * fix ci bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix bugs
      
      * add static flag
      
      * add PADDLE_API
      
      * change position of PADDLE_API
      
      * fix windows bugs
      
      * change mode to dynamic lib
      
      * fix windows static bugs
      
      * deal with conflict
      
      * fix windows unit bug
      
      * fix coverage
      
      * deal with conflict
      
      * fix windows-inference
      
      * fix py3 bugs
      
      * fix bugs when compile type_info
      
      * fix compile bugs
      
      * fix py3 bugs
      
      * fix windows bugs
      
      * fix windows openblas
      
      * fix xpu bugs
      
      * fix enforce_test in windows
      
      * update code according comment
      
      * fix windows cmake bug
      
      * fix windows bugs
      
      * fix windows bugs
      
      * delete cinn unittest
      
      * fix cinn bugs
      
      ---------
      Co-authored-by: HappyHeavyRain's avatarlzydev <1528794076@qq.com>
      da50a009
  2. 24 5月, 2023 1 次提交
  3. 23 5月, 2023 3 次提交
  4. 22 5月, 2023 4 次提交
  5. 19 5月, 2023 1 次提交
    • L
      Add flash attention to speedup fused_gate_attention. (#52731) · d29c1f8e
      limingshu 提交于
      * Reorganize the forward codes of flash-attention.
      
      * Fix forward.
      
      * Remove some noused codes.
      
      * Simplify codes and fix backward.
      
      * Change all LOG(INFO) to VLOG and fix the backward.
      
      * add scale for AF2 flash_attn, much thanks to xreki and shaojie for debug these codes
      
      * decrease the effect of debug print on performance
      
      * Unify the initialize of flashattn arguments.
      
      * Rewirte the reshape of temp_mask and temp_bias.
      
      * API support use_flash_attn.
      
      * Fix compiling error on CI.
      
      * Try to crop the flash-attention lib.
      
      * Correct the condition of whether can use flash-attn.
      
      * Remove the softmax_out argument.
      
      * Remove is_causal.
      
      * Polish codes.
      
      * Fix qkv_transpose_out's shape and scaling of Q * K.
      
      * Update commit of flash-attention.
      
      ---------
      Co-authored-by: NLiu Yiqun <liuyiqun01@baidu.com>
      d29c1f8e
  6. 18 5月, 2023 3 次提交
  7. 17 5月, 2023 2 次提交
    • R
      Supports offline compilation of Paddle third-party libraries (#53744) · 734dc448
      risemeup1 提交于
      * optimize logsumexp in small data scale
      
      * fix
      
      * fix
      
      * add #pragma once
      
      * compile protobuf offline
      
      * add submodlu gflags
      
      * check_submodules
      
      * check_submodules
      
      * add_submodule protobuf
      
      * add_submodule_protobuf
      
      * add_submodule
      
      * add .gitmodules
      
      * add_submodules
      
      * fix_compiler error
      
      * support offline compile
      
      * support offline compile
      
      * support offline_compile
      
      * remove cub
      
      * remove brpc
      
      * support offline compile
      
      * support offline compile
      
      * canning patching on cryptopp
      
      * modify .gitigonre of cryptopp
      
      * test
      
      * offline compile
      
      * add_submodule zlib
      
      * modify .gitmodules
      
      * modify .gitmodules
      
      * fix setup.py bug
      
      * delete submodule cryptopp
      
      * fix windows compile bug
      
      * fix xxhash compile problem
      
      ---------
      Co-authored-by: Asthestarsfalll's avatarAsthestarsfalll <1186454801@qq.com>
      Co-authored-by: NAsthestarsfalll <72954905+Asthestarsfalll@users.noreply.github.com>
      734dc448
    • W
      update openblas version (#53748) · 89653668
      Wilber 提交于
      * update openblas version
      
      * update
      89653668
  8. 15 5月, 2023 1 次提交
  9. 14 5月, 2023 1 次提交
  10. 12 5月, 2023 1 次提交
  11. 11 5月, 2023 2 次提交
  12. 09 5月, 2023 1 次提交
  13. 08 5月, 2023 1 次提交
  14. 06 5月, 2023 1 次提交
  15. 28 4月, 2023 2 次提交
  16. 27 4月, 2023 1 次提交
  17. 26 4月, 2023 2 次提交
  18. 25 4月, 2023 2 次提交
  19. 24 4月, 2023 2 次提交
    • R
      Fix gpu ps compile patch error (#53256) · 562d2daf
      risemeup1 提交于
      * fix patch error
      
      * fix patch error
      562d2daf
    • H
      [CppExtension Cuda] Add cuda unit test for CppExtension (#52900) · 7a9754a7
      HongyuJia 提交于
      * [CppExtension Cuda] Add cuda unit test for CppExtension
      
      * update extra_compile_args for CUDAExtension
      
      * add debug info
      
      * Add patch to fix CUDA12 compile error
      
      * patch for all env
      
      * add windows judgement
      
      * Try to fix setup function not found error
      
      * fix mix_relu_and_extension include file
      
      * fix setup compile error
      
      * remove useless debug comments
      
      * add sleep, debug CI-build
      
      * add space to disable cmake cache
      
      * remove debug info
      
      * add space to pass CI-build
      7a9754a7
  20. 20 4月, 2023 1 次提交
  21. 19 4月, 2023 1 次提交
  22. 18 4月, 2023 1 次提交
  23. 13 4月, 2023 3 次提交
  24. 12 4月, 2023 1 次提交
  25. 11 4月, 2023 1 次提交