1. 30 8月, 2023 1 次提交
    • H
      Add paddle custom flags support (#56256) · 2ef4ec71
      huangjiyi 提交于
      * update
      
      * repalce gflags header
      
      * replace DEFINE_<type> with PD_DEFINE_<type>
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * update cmake
      
      * add :: before some paddle namespace
      
      * fix link error
      
      * fix CI-Py3
      
      * allow commandline parse
      
      * fix SetFlagsFromEnv
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix CI-Coverage-build
      
      * fix CI-Windows-build
      
      * fix CI-Inference
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix inference api test
      
      * fix infer_ut test
      
      * revert infer_ut gflags usage
      
      * update
      
      * fix inference
      
      * remove flags export macro
      
      * revert inference demo_ci gflags usage
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix bug when turn on WITH_GFLAGS
      
      * turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * update
      
      * update and add unittest
      
      * add unittest
      
      * fix conflict
      
      * rerun ci
      
      * update
      
      * resolve conflict
      2ef4ec71
  2. 21 4月, 2023 1 次提交
    • T
      Mv inference ut (#52987) · 008debe7
      tianshuo78520a 提交于
      * mv inference/api infer_ut
      
      * mv test
      
      * merge develop fix error
      
      * fix
      
      * fix build error
      
      * fix build error
      
      * fix bug
      
      * fix tester_helper.h
      
      * fix analyzer_transformer_profile_tester.cc
      
      * fix
      
      * fix mac
      
      * fix mac
      
      * fix error
      
      * fix
      
      * fix
      008debe7
  3. 26 6月, 2022 1 次提交
  4. 23 10月, 2021 1 次提交
    • H
      New Paddle-CINN Compile PR (#36584) · ab732884
      Huihuang Zheng 提交于
      This PR added some changes to match the CINN change for compilation. It also tried to fix JiangCheng's Problem in PR: https://github.com/PaddlePaddle/Paddle/pull/36100
      
      These changes include:
      1. Set `CINN_GIT_TAG` to a newer tag
      2. CINN now just `make cinnapi -j`
      3. We have to add `-DPY_VERSION=${PY_VERSION} -DWITH_TESTING=ON` to CINN cmake args
      4. For CINN's third party dependencies, we could just include headers without target_link_libraries
      5. Moved `cinn.cmake` from `paddle/cmake` to `paddle/cmake/external` to match old style. External folder contains `lite`, which is the same level of `cinn`
      6. CINN added `-DNAMESPACE=cinn_gflags` in `gflags.cmake` to have different gflag namespaces between CINN and Paddle. It solved re-define problem.
      7. Change namespace of `::google::` in gflags to `::GFLAGS_NAMESPACE`
      ab732884
  5. 07 9月, 2021 1 次提交
    • P
      support test different infer_ut suite type (#35435) · 5bb12853
      Peihan 提交于
      * notest,test=inference;support test different suite type
      
      * notest,test=inference;fix script bugs
      
      * notest,test=inference;fix count time issue
      
      * test=document_fix; fix readme grammar
      5bb12853
  6. 25 8月, 2021 2 次提交
  7. 20 8月, 2021 1 次提交
  8. 19 8月, 2021 1 次提交