1. 27 6月, 2023 1 次提交
    • 6
      Code merge | Merge CINN into Paddle (#54749) · 67c69dca
      6clc 提交于
      * feat(cmake): add cmake of cinn
      
      * feat(cmake): add cmake of cinn python test
      
      * feat(cmake): add jit
      
      * feat(cmake): test/CMakeList.txt
      
      * feat(cmake): rebase to develop
      
      * feat(cmake): remove some flags
      
      * fix(cmake): fix cinn's gflags depends
      
      * feat(cmake): add ci scripts of cinn
      
      * feat(cmake): copy code of cinn
      
      * fix(cmake): fix cinn third_party model path
      
      * gflags dynamic dependce
      
      * fix ci build_demo
      
      * tmp update to c++17 of cinn-only test
      
      * fix cinn only with c++17
      67c69dca
  2. 26 6月, 2023 1 次提交
  3. 20 6月, 2023 1 次提交
    • Z
      [IR] Change IR from Static library to dynamic library (#54729) · 24a3cb52
      zhangbo9674 提交于
      * new_ir to shared
      
      * refine code
      
      * add ir lib path to env
      
      * refine type
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * refine code
      
      * close win
      
      * refine code
      
      * refine code
      
      * refine code
      
      * add win share
      
      * refine code
      
      * refie code
      
      * refine code
      
      * refine code
      
      * refien code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * solve conflict
      
      * solve conflict
      
      * fix bug
      
      * refine code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * refine code
      
      * fix interpretercore program bug
      
      * delete unuse code
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix cinn bug
      
      * fix cinn bug
      
      * debug
      
      * fix cinn bug
      
      * delete unused code
      
      * fix cinn bug
      
      * fix cinn bug
      
      * fix  ug
      
      * test win openblas
      
      * test win openblas
      
      * fix win openblas bug
      
      * polish code
      
      * fix win open blas bug
      
      * close win dll
      
      * fix flag bug
      
      * test for windows
      
      * fix compile bug
      24a3cb52
  4. 12 6月, 2023 2 次提交
  5. 09 6月, 2023 1 次提交
  6. 30 5月, 2023 1 次提交
  7. 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
  8. 17 5月, 2023 1 次提交
    • 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
  9. 11 5月, 2023 2 次提交
  10. 26 4月, 2023 1 次提交
  11. 23 4月, 2023 1 次提交
    • L
      relocate paddle/fluid/contrib/layers (#52820) · 802be98b
      LoneRanger 提交于
      * relocate metri_op.py
      
      * reloacte nn.py
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix variable->tensor and fix __all__
      
      * fix ctr_metric_bundle and sparse_embedding
      
      * fix bug of function init
      
      * fix bug of importing sparse_embedding and ctr_metric_bundle
      
      * fix bug
      
      * Update __init__.py
      802be98b
  12. 17 4月, 2023 1 次提交
  13. 12 4月, 2023 1 次提交
  14. 10 4月, 2023 1 次提交
  15. 03 4月, 2023 1 次提交
  16. 31 3月, 2023 1 次提交
  17. 28 3月, 2023 1 次提交
  18. 23 3月, 2023 1 次提交
  19. 21 3月, 2023 1 次提交
  20. 20 3月, 2023 1 次提交
  21. 15 3月, 2023 1 次提交
    • R
      optimizing setup.py develop command (#51528) · e4e3675f
      risemeup1 提交于
      * optimizing setup.py develop command
      
      * add libpaddle.so
      
      * modify setup.py
      
      * add python/paddle/distributed/fleet/.gitignore
      
      * add libpaddle.so to .gitignore
      
      * add *.so to python/paddle/libs/.gitignore
      
      * add new gitignore
      e4e3675f
  22. 09 3月, 2023 1 次提交
  23. 07 3月, 2023 1 次提交
  24. 06 3月, 2023 1 次提交
  25. 01 3月, 2023 2 次提交
    • 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
    • W
      [Fluidclean]move fluid.transpiler to distributed.transpiler (#51025) · 51aa2129
      wangxiaoning 提交于
      * remove transpiler
      
      * Revert "remove transpiler"
      
      This reverts commit 46044ccd52011d45d7026786d331f264a6a8f645.
      
      * Revert "Revert "remove transpiler""
      
      This reverts commit 80ad0945401b5b5efebac4baee0ec50a793d4405.
      
      * codestyle
      
      * fix setup
      
      * fix
      
      * fix
      51aa2129
  26. 27 2月, 2023 2 次提交
  27. 24 2月, 2023 1 次提交
  28. 22 2月, 2023 1 次提交
  29. 21 2月, 2023 1 次提交
  30. 20 2月, 2023 3 次提交
    • W
      [RM FLUID] trainer_pass&heter_trainer_pass (#50610) · 43622a20
      wangzhen38 提交于
      * [RM FLUID] trainer_pass&heter_trainer_pass
      * [RM FLUID] rm distributed_strategy
      43622a20
    • 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
    • W
      [Fluid clean]clean fluid.transpiler.details (#50564) · 167e6488
      wangxiaoning 提交于
      * move fluid.transpiler.details
      
      * fix setup
      
      * fix
      
      * fix setup
      
      * add setup
      167e6488
  31. 17 2月, 2023 2 次提交
  32. 16 2月, 2023 1 次提交
    • W
      Add Post-Training Quantization and export function in dygraph mode (#50107) · b7030257
      whs 提交于
      Add PTQ and exporting function
      1. Add Post-Training Quantization
      1.1 Abstract some functions from QAT to Quantization class
      1.2 Add Post-Training Quantization by extending Quantization class
      1.3 Add observers for PTQ
      1.4 Add unittest for PTQ
      2. Add exporting function for QAT and PTQ
      b7030257
  33. 15 2月, 2023 1 次提交