1. 26 6月, 2023 1 次提交
  2. 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
  3. 15 6月, 2023 1 次提交
    • H
      [IR] [Baby step] New interprector support new ir (#54570) · ce0c5c27
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      
      * add first pd_op to kernel dialect
      
      * lower pd op to kernel dialect
      
      * update
      
      * update
      
      * remove useless code
      
      * add attrite print test
      
      * fix bug
      
      * update
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish  code  and add python test
      
      * add test
      
      * fix test error
      
      * add env flag
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * fix build_static bug
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * fix inference compile
      ce0c5c27
  4. 12 6月, 2023 1 次提交
    • Y
      Add PHI option in cmake (#54462) · eca64f0f
      YuanRisheng 提交于
      * add phi option in cmake
      
      * modify default option
      
      * fix windows bugs
      
      * perfect log
      
      * change default mode
      
      * change phi so on for py3
      eca64f0f
  5. 01 6月, 2023 1 次提交
  6. 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
  7. 23 5月, 2023 1 次提交
    • zhenhailiu's avatar
      [dist attr 迁移到 phi]Dist attr (#53848) · be1152a4
      zhenhailiu 提交于
      * merge code from forsish
      
      * polish
      
      * paddle/fluid/pybind/auto_parallel_py.cc
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      
      * polish
      be1152a4
  8. 15 5月, 2023 1 次提交
  9. 23 4月, 2023 1 次提交
  10. 14 4月, 2023 1 次提交
  11. 10 4月, 2023 1 次提交
  12. 08 4月, 2023 1 次提交
  13. 27 3月, 2023 1 次提交
  14. 20 3月, 2023 1 次提交
  15. 06 3月, 2023 1 次提交
  16. 28 2月, 2023 1 次提交
  17. 20 2月, 2023 2 次提交
    • 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
    • H
      [Tensor operants] Polish tensor operants implementation (#50634) · 8c844356
      HongyuJia 提交于
      * polish tensor operants implementation
      
      * change year, 2021->2023
      8c844356
  18. 11 2月, 2023 1 次提交
    • H
      [Tensor Operator] Overload Tensor Operator (#50098) · 14e45f6b
      HongyuJia 提交于
      * init commit
      
      * fix tensor operator*
      
      * fix compile bug
      
      * bug reproduce
      
      * update commit
      
      * polish codes
      
      * fix compile bug
      
      * test begin
      
      * test begin
      
      * compile finish
      
      * restore origin composite_backward_api
      
      * pass local CI
      
      * fix merge error
      
      * fix merge error
      
      * change py_test from GPU->CPU, test custom op
      
      * polish codes, modify prim unittest
      
      * modify prim unittest
      
      * determine phi_tensor_operants location
      
      * polish codes
      
      * add header file
      
      * solve windows unresolved symbol
      
      * fix some CI error
      
      * add overload defination
      
      * fix CI inference and Windows
      
      * polish codes according to reviewers' opinion
      
      * polish codes according to reviewers' opinion
      14e45f6b
  19. 31 1月, 2023 1 次提交
  20. 09 1月, 2023 2 次提交
    • J
      Prim paddle Basic (#49272) · 2f601282
      Jiabin Yang 提交于
      * proto type of composite grad in paddle
      
      * proto type of composite grad in paddle
      
      * refactor composite api with phi
      
      * fix compile error
      
      * support static graph code-gen for squeeze op
      
      * generate static graph code of unsqueeze
      
      * refine op name
      
      * fix compile error
      
      * add extra output in op_compat
      
      * remove debug log
      
      * fix clang compile error
      
      * support prim switch flag
      
      * support prim switch flag
      
      * fix dygraph error
      
      * merge develop
      
      * add code_gen
      
      * add necessary files without codegen
      
      * fix code_gen bug
      
      * add deps
      
      * modify igmnore
      
      * add ignore
      
      * delete std cout
      
      * add composite logic for backward.py
      
      * add tanh first order grad composite
      
      * support enable_prim flag for static graph
      
      * throw expection when both GrapOpMaker and GradCompOpMaker not been registered
      
      * reorganize the directory of prim api tests
      
      * fix windows error
      
      * add eager_utils
      
      * add eager_utils
      
      * modify code gen
      
      * add composite parse
      
      * add unittest for get_grad_op_desc
      
      * code optimize
      
      * fix static test on windows
      
      * support generate static graph code for imag and real op
      
      * fix windows compile error in test_static_prim
      
      * merge develop
      
      * disable test eager in inference
      
      * prim code gen
      
      * disable eager compile in inference
      
      * rm other file
      
      * rm gitignore file
      
      * code_style
      
      * add eager test
      
      * code_style
      
      * merge develop
      
      * remove useless files
      
      * modify static test
      
      * support bool flag from singlton
      
      * merge develop
      
      * recover git ignore
      
      * fix conflict
      
      * recover git ignore for generated op
      
      * fix test compile error
      
      * remove some tests
      
      * add python test
      
      * fix some name issue
      
      * add composite code gen
      
      * modify backward yaml
      
      * fix static composite grad maker code gen
      
      * remove addtional files
      
      * add some static funcs unit test
      
      * fix some bugs
      
      * fix composite grad maker register code gen
      
      * optimize some functions
      Co-authored-by: Nzyfncg <zhangyunfei07@baidu.com>
      Co-authored-by: Nwangruting <wangruting@baidu.com>
      Co-authored-by: Ncxxly <chenxx_id@163.com>
      Co-authored-by: Ncharles-hit <wanghao107@baidu.com>
      Co-authored-by: Nxiaoguoguo626807 <100397923+xiaoguoguo626807@users.noreply.github.com>
      2f601282
    • L
      Create comm_context and modified static init (#49536) · 04e24e58
      LiYuRio 提交于
      * comm_context and static init
      
      * refactor: move to phi/core/distributed
      
      * refactor: avoid mutable_data usage
      
      * fix: windows sock
      
      * fix: device without nccl
      Co-authored-by: 元无心's avatarWen Sun <syl1887415157@126.com>
      04e24e58
  21. 05 1月, 2023 1 次提交
    • Yj/rm core ops exp (#49490) · 70ea88bf
      姜永久 提交于
      * rm op_function_generator
      
      * rm op_func_generator.h
      
      * rm op_function
      
      * modify cmake
      
      * rm op_function.h
      
      * rm check for op_function_generator.cc
      
      * reset imperative
      
      * rm python part
      
      * fix imperative
      
      * lint
      
      * lint
      
      * modify legacy_c
      
      * review
      
      * modify
      
      * modify legacy
      
      * rm gen op_functions code
      
      * reset framework
      
      * rm core.ops for test
      
      * core.ops->core.eager.ops.legacy
      
      * not raiseError for xpu
      70ea88bf
  22. 28 12月, 2022 1 次提交
  23. 17 12月, 2022 1 次提交
  24. 16 12月, 2022 1 次提交
  25. 01 12月, 2022 1 次提交
  26. 25 11月, 2022 1 次提交
  27. 14 11月, 2022 1 次提交
  28. 10 11月, 2022 1 次提交
    • J
      XPU multi-card support eager mode (#47445) · 3b91f8f3
      james 提交于
      * XPU support eager mode
      
      * add unittest for XPU eager mode
      
      * minor bugfix
      
      * minor bugfix, test=kunlun
      
      * correct copyright info
      
      * 1. remove unsed vars/funcs
      2. ProcessGroupBKCL inherit from ProcessGroupStream
      
      * bugfix for fp16 in eager mode multi-card, test=kunlun
      
      * rebase & fix a few issues
      
      * use new processgroup interface, test=kunlun
      
      * fix compile issue, test=kunlun
      3b91f8f3
  29. 08 11月, 2022 1 次提交
  30. 07 11月, 2022 1 次提交
  31. 04 11月, 2022 1 次提交
  32. 03 11月, 2022 1 次提交
  33. 27 10月, 2022 1 次提交
    • L
      make all cpp tests dynamic linked to libpaddle.so [except windows] (#47088) · 2096448b
      Leo Chen 提交于
      * make all cpp tests dynamic linked to libpaddle.so
      
      * add comments
      
      * keep old cc_test for some tests
      
      * fix some ut
      
      * make some ut use cc_test_old
      
      * fix typos and fit for win32
      
      * fix lib path
      
      * fix some tests
      
      * skip lite test
      
      * fit for rocm
      
      * fit for cinn
      
      * fit for mac
      
      * fit for win32
      
      * skip inference ut
      
      * skip  windows
      
      * fix coverage
      2096448b
  34. 20 10月, 2022 2 次提交
  35. 19 10月, 2022 1 次提交
  36. 13 10月, 2022 1 次提交
    • X
      [WIP]飞桨PaddlePaddle 分布式强化学习功能研发 (#45998) · f0afcabc
      Xinger 提交于
      * add rpc module in cpp side
      
      * add rpc module in python side
      
      * support win32 and mac for rpc
      
      * 代码优化
      
      * 优化代码
      
      * update rpc
      
      * update rpc launch
      
      * rpc remove rank and world_size api
      
      * fix logger import bug
      
      * remove support for win and mac
      
      * remove support for xpu, npu, cinn and rocm
      
      * remove support for xpu, npu, cinn and rocm
      
      * fix shutdown barrier timeout bug
      
      * update:python_rpc_handler to shared ptr
      
      * fix master shutodwn first bug
      
      * tests support for cpu
      
      * update log to vlog
      
      * update get service info api
      
      * add single process test case
      
      * remove process group
      
      * remove some useless dependencies
      
      * update rpc api comments
      
      * update rpc comments: Example to Examples
      
      * update rpc api comments
      
      * update rpc api comments
      
      * update launch api comments
      
      * update init_rpc comments
      
      * update rpc sync and async comments
      
      * fix bug: init_rpc cant be called repeatly in a process
      
      * update rpc api comment: make master endpoint unique
      
      * update rpc api:service to worker, timeout_ms to timeout
      
      * rename ServiceInfo to WorkerInfo
      
      * refactor: rename server to worker, log to vlog
      
      * add launch test
      
      * remove unused codes
      
      * refine
      f0afcabc
  37. 26 9月, 2022 1 次提交
    • C
      Fix libpaddle soname mismatch error (#46344) · cdcc0013
      Chen Weihang 提交于
      * fix libpaddle soname mismatch error
      
      * fix windows failed
      
      * polish linux and windows make impl
      
      * unify winddows lib name
      
      * fix windows error
      
      * revert copy dst change
      
      * revert naming change
      
      * revert windows change
      
      * fix gpups compile failed
      cdcc0013