1. 14 2月, 2023 2 次提交
    • E
      decouple tensor_utils (#50264) · 057cdb95
      engineer1109 提交于
      fix X
      
      remove TensorCopy
      
      codestyle
      
      add fluid memory header
      
      fix symbol
      
      fix cmake
      
      fix cmake
      
      fix context
      
      fix header
      
      fix place
      
      fix context
      
      fix context
      
      fix context
      
      fix code
      
      fix custom context
      
      fix custom context
      
      fix copy
      
      fix data_transform
      
      fix style
      
      remove changes of custom
      
      fix scalar
      057cdb95
    • D
      Expand mixed_precision to custom device (#50378) · fcb746cb
      duanyanhui 提交于
      * expand mix_precision to custom_device
      
      * fix bug
      
      * fix bug
      
      * fix comment
      
      * fix DEFINE bug
      fcb746cb
  2. 17 1月, 2023 1 次提交
    • Y
      [PHI]Change feed_op to phi kernel (#49116) · f7f1dc03
      YuanRisheng 提交于
      * change feed_op to phi kernel
      
      * fix ci bugs
      
      * fix build bugs
      
      * fix ci bugs
      
      * fix compile bugs
      
      * fix ci bugs
      
      * perfect code
      
      * perfect comment code
      
      * fix install bugs
      
      * modify code according comment
      
      * remove visitor in feed_op
      
      * modify according comment
      
      * perfect code according comment
      
      * add infershape
      
      * fix py3 bugs
      
      * fix getexpected kernel type
      
      * fix getexpected kernel type
      
      * fix ci bugs
      
      * add registry for custom device
      
      * fix py3 bugs
      
      * fix floating point error
      
      * fix py3 test bugs
      f7f1dc03
  3. 22 12月, 2022 1 次提交
    • W
      [eager] use CPUAllocator directly (#47125) · 4537ba23
      Weilong Wu 提交于
      * [eager] use CPUAllocator directly
      
      * modify pstring sizeof 48 default
      
      * rm CPU test for NaiveBestFitAllocator
      
      * fix Mac ci compile errors
      
      * use UNUSED to state unused_obj
      
      * mv UNUSED statement to allocator_facade.cc
      
      * fix roi_align
      
      * fix yolov3 test case
      
      * recover original code
      
      * recover original code
      
      * fix trt roi_align test
      Co-authored-by: Njerrywgz <jerrywgz@126.com>
      4537ba23
  4. 24 11月, 2022 1 次提交
    • H
      [PHI decoupling] simplify "convert_utils.h" in fluid (#48168) · de4310e6
      huangjiyi 提交于
      * rm dependence to "convert_utils.h" in some files
      
      * fix bugs
      
      * replace DataType2String with DataTypeToString
      
      * replace framework::DataTypeSize with phi::SizeOf
      
      * mv convert_function from fluid to phi and rm old map
      
      * recommit with pre-commit
      
      * repalce ProtoVarType with ProtoDataType and update comment.
      
      * fix error about include "dnnl.hpp"
      
      * revert add dep mkldnn to convert_utils in phi
      
      * add mkldnn deps in convert_utils.h in phi
      
      * move deps to convert_utils.h in phi
      de4310e6
  5. 23 11月, 2022 1 次提交
  6. 15 11月, 2022 1 次提交
  7. 14 11月, 2022 1 次提交
  8. 10 11月, 2022 1 次提交
  9. 09 11月, 2022 1 次提交
  10. 24 10月, 2022 1 次提交
    • Z
      Polish slice code in fluid (#45746) · 3f64a2c3
      zyfncg 提交于
      * support selected_rows kernel for multiply in dygraph
      
      * delete useless code of slice in fluid
      
      * fix complie bug
      
      * move slice_array from fluid to phi
      
      * fix strided_slice_op_npu
      3f64a2c3
  11. 17 10月, 2022 1 次提交
  12. 08 10月, 2022 1 次提交
  13. 27 9月, 2022 3 次提交
  14. 14 9月, 2022 1 次提交
  15. 08 9月, 2022 2 次提交
  16. 05 9月, 2022 2 次提交
    • P
      [PHI] Move oneDNN helper classes to new location (#45626) · 269bd1fe
      piotrekobi 提交于
      * gaussian random
      
      * mkldnn to onednn renaming
      
      * fix merge conflicts
      
      * remove fluid code
      
      * onednn renaming
      
      * Move classes from mkldnn_reuse.h to onednn_reuse.h
      
      * Move more functions from mkldnn_helper.h to onednn_helpper.h
      
      * Change MKLDNN to OneDNN in VLOG message
      Co-authored-by: NSilv3S <slawomir.siwek@intel.com>
      269bd1fe
    • H
      [phi] Migrate memcpy kernel to PHI, hold NPU op (#45622) · 2f19a364
      HongyuJia 提交于
      * migrate memcpy to phi
      
      * fix typo error
      
      * fix typo error
      
      * fix  bug and testcase
      
      * fix typo, uniform_random_kernel.cc header
      
      * fix Alloc pinned bug
      
      * change GPUContext::GetPinnedPlace
      
      * add GetPinnedPlace function
      
      * add GetPinnedPlace function
      
      * restore default throw error
      
      * fix Unimplemented error
      
      * skip StandaloneExecutor testcase
      
      * delete memcpy_sig
      2f19a364
  17. 31 8月, 2022 1 次提交
    • C
      Fix split api bug (#45396) · 4a25b60d
      Charles-hit 提交于
      * fix split bug
      
      * solve function redefine
      
      * fix fluid.layers.split and add unit test
      
      * delete splitInferMeta register in unary.cc
      
      * modify test_split_op GPU unit test
      
      * modify test_split_op GPU unit test place param
      
      * refactor split op and fix infershape bugs
      
      * add () in && and ||
      
      * fix split C++ unit test
      
      * fix split infershape
      4a25b60d
  18. 24 8月, 2022 1 次提交
    • L
      make tensor_util contains no cuda code (#45256) · 78916a7a
      Leo Chen 提交于
      * make tensor_util contains no cuda code
      
      * refine isfinite
      
      * revert ut
      
      * move isfinite function to its op
      
      * fix test
      
      * fix compile
      
      * std::isnan is not defined for int type on windows
      
      * fix windows compile
      
      * fix fp16
      
      * fix rocm compile
      
      * revert gradient node
      78916a7a
  19. 10 8月, 2022 1 次提交
  20. 26 7月, 2022 1 次提交
  21. 19 7月, 2022 1 次提交
  22. 14 7月, 2022 1 次提交
    • Y
      [Phi]Improve the mechanism for mkldnn kernel in PHI (#43941) · e9b4d0be
      YuanRisheng 提交于
      * adapt mkldnn kernel in PHI
      
      * fix ci compile bugs
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix compile bugs
      
      * delete comment
      
      * fix compile bugs in windows-inference
      
      * delete code for converage
      
      * modify code by review
      
      * modify code by review
      
      * add todo
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix compile bugs
      
      * fix unittest bugsx
      e9b4d0be
  23. 01 7月, 2022 1 次提交
  24. 28 6月, 2022 1 次提交
  25. 27 6月, 2022 1 次提交
    • S
      make inference_api_test compile with dynamic linking library (#41944) · f8b9073f
      Sing_chan 提交于
      * make inference_api_test use import_lib + dll to smaller its size;test=document_fix;test=windows_ci_inference
      
      * make place.h not export symbols; change the order of inference test dependencies
      
      * cant delete analysis pass ..in inference_analysis_test or build test_analyzer.exe will failed; temporarily comment test need paddle_inference_c
      
      * add onnx path; cp onnxruntime.dll to tests/api
      
      * make c_ut depend on paddle_inference_c_shared rather than paddle_inference_c
      
      * make c_ut depend .dll in windows and .lib in linux;path add capi_exp
      
      * init context pool by analysis predictor
      
      * make windows and linux both use shared; compile shared even on_infer off
      
      * move case:profile after case:fuse_statis to avoid context pool null problem
      
      * make c_ut depend .dll in windows and .lib in linux;path add capi_exp
      f8b9073f
  26. 24 6月, 2022 1 次提交
  27. 23 6月, 2022 1 次提交
  28. 05 6月, 2022 1 次提交
  29. 04 6月, 2022 1 次提交
  30. 18 5月, 2022 1 次提交
  31. 16 5月, 2022 1 次提交
    • Z
      [PHI] Support construct IntArray by using Non-CPU Tensosr (#41764) · 8eecd852
      zyfncg 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * int_array supports constructed by gpu tensor
      
      * add some test
      
      * polish code
      
      * adjust full api
      
      * add unittest
      
      * add unittest
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      8eecd852
  32. 19 4月, 2022 1 次提交
  33. 18 4月, 2022 1 次提交
  34. 17 4月, 2022 1 次提交
  35. 14 4月, 2022 1 次提交
    • Y
      [Phi] Support construct Scalar by using Non-CPU Tensor (#41765) · 54ccc308
      YuanRisheng 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * add target dependency
      
      * deal with conflict
      
      * fix bugs when run unit test
      
      * fix unit test bugs
      54ccc308