1. 15 6月, 2023 1 次提交
    • Y
      [Cherry-Pick]Add PHI option in cmake (#54462) (#54576) · 57d9b800
      YuanRisheng 提交于
      * Add PHI option in cmake (#54462)
      
      * add phi option in cmake
      
      * modify default option
      
      * fix windows bugs
      
      * perfect log
      
      * change default mode
      
      * change phi so on for py3
      
      * fix mac bugs
      
      * fix mac bugs
      
      * delete code
      57d9b800
  2. 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
  3. 26 4月, 2023 1 次提交
  4. 12 4月, 2023 1 次提交
  5. 23 3月, 2023 1 次提交
  6. 15 3月, 2023 1 次提交
    • R
      Add option for setup.py (#51443) · 0b1a8a83
      risemeup1 提交于
      * add option for setup.py
      
      * add option for setup.py
      
      * add option for setup.py
      
      * add option for setup.py
      
      * add ennv_dict.py and dist/ to .gitignore
      
      * add ennv_dict.py and dist/ to .gitignore
      
      * modify .gitignore
      0b1a8a83
  7. 09 3月, 2023 1 次提交
  8. 07 3月, 2023 1 次提交
  9. 06 3月, 2023 1 次提交
  10. 01 3月, 2023 1 次提交
    • C
      Integration flash attention (#49869) · 61611786
      Chitsing KUI 提交于
      * flash attn
      
      * seed
      
      * almost
      
      * softmax
      
      * fix workspace
      
      * add unitest; linux only
      
      * fix setup
      
      * fix datatype include
      
      * fix setup typo
      
      * fix def scope
      
      * new error api
      
      * use paddle fork
      
      * fix attr bug; complete ut
      
      * update flash hash
      
      * fix rng reset
      
      * fix offset
      
      * fix comments
      61611786
  11. 20 2月, 2023 1 次提交
    • H
      [Cpp Extension] Support Cpp Extension (#49893) · 2a0563fa
      HongyuJia 提交于
      * update include directory
      
      * fully support C++ extension, pass unittest
      
      * fix include directory
      
      * support both extension and operator in one file
      
      * polish testcase
      
      * add jit unittest
      
      * update third_party.cmake, pass CI test
      
      * fix cmake
      
      * fix setup
      
      * fix inference, fix unittest precision
      
      * fix unittest precision
      
      * fix inference_lib cmake
      
      * try fix setup, try fix inference_lib
      
      * try fix inference_lib pybind
      
      * fix mix_op_extension, fix inference_lib
      
      * fix mix_op_extension, fix inference_lib
      
      * change cmake
      
      * change cmake
      
      * add compile flags
      
      * add Python.h headerfile
      
      * add test_custom_plugin_creater cmake
      
      * comment compile flag
      
      * pass all CI
      
      * pass all CI
      
      * comment compile flag
      
      * try solve test_custom_plugin_creater link error
      
      * try solve test_custom_plugin_creater link error
      
      * polish codes
      
      * remove windows compile flag
      
      * remove python_include_path
      
      * update pybind11, 2.4.3->2.6.0
      
      * update pybind11, 2.6.0->2.10.0
      
      * update pybind11, 2.10.0->2.6.0b1
      
      * update pybind11, 2.6.0b1->2.6.0, start fix unittest
      
      * fix pybind11 2.6.0 VarBase print error
      
      * fix pybind11 2.6.0 VarBase print error
      
      * handle PADDLE_ON_INFERENCE
      
      * modify according to reviewer
      
      * fix cmake
      
      * cmake decouple pybind_util when not ON_INFER
      
      * cmake decouple pybind_util when not ON_INFER
      
      * remove copy of inference_lib.cmake
      
      * change pybind.cc headerfile fluid->phi
      2a0563fa
  12. 23 12月, 2022 1 次提交
  13. 05 12月, 2022 1 次提交
    • R
      Setuptools (#48301) · 9913da02
      risemeup1 提交于
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * suport setuptools for paddle
      
      * modify paddle_build.sh
      
      * modify paddle_build.sh
      
      * modify paddle_build.sh
      
      * modify paddle_build.sh
      
      * modify paddle_build.sh
      
      * test
      
      * modify setup.py
      
      * modify build_options
      
      * modify build_options
      
      * modify paddle_build.sh
      
      * modify setup.py
      
      * modify paddle_build.sh
      
      * modify setup.py
      
      * modify setup.py
      
      * modify setup.py
      
      * modify setup.py
      
      * modfiy paddle_build.sh
      
      * debug
      
      * debug
      
      * debug
      
      * dddd
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * fix bug that no version.py
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * Delete .pre-commit-config.yaml
      
      * debug
      
      * support ninja
      
      * support ninja
      
      * debug
      
      * debug
      
      * debug
      
      * support setuptools for paddle
      
      * modify code style
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * 取消make clean
      
      * 取消make clean
      
      * debug
      
      * debug
      
      * debug
      
      * debug for py3
      
      * debug
      
      * debug
      
      * debug
      
      * 将mkdir_and_copy_file单独封装一个函数
      
      * modify paddle_build.sh
      
      * modify setup.py after zhangbo reviewd
      9913da02