1. 12 10月, 2022 1 次提交
  2. 21 9月, 2022 1 次提交
    • Z
      Enable PaddleInference to use CINN. (#45009) · 3aa6bd57
      Zhen Wang 提交于
      * use cinn in the paddle inference
      
      * fix some cmake errors
      
      * Avoid division by zero in the arange_kernel.
      
      * Avoid dynamic ops.
      
      * Remove some useless codes.
      
      * Use OpTransInfo to encapsulate some codes used in the build_cinn_pass.
      3aa6bd57
  3. 15 7月, 2022 1 次提交
  4. 04 6月, 2022 1 次提交
  5. 27 3月, 2022 1 次提交
  6. 17 1月, 2022 1 次提交
  7. 09 12月, 2021 1 次提交
  8. 06 12月, 2021 1 次提交
  9. 11 11月, 2021 1 次提交
  10. 03 11月, 2021 1 次提交
    • Z
      Add FLAGS_allow_cinn_ops & FLAGS_deny_cinn_ops for controlling op types used... · 2479664a
      Zhen Wang 提交于
      Add FLAGS_allow_cinn_ops & FLAGS_deny_cinn_ops for controlling op types used in training with CINN. (#36842)
      
      * Update UT test_parallel_executor_run_cinn.py.
      
      * Add FLAGS_allow_cinn_ops & FLAGS_deny_cinn_ops & FLAGS_cinn_ops_delim.
      
      * Use the custom StringSplit function and remove the FLAGS_cinn_ops_delim flag.
      
      * Add FlagController test.
      
      * Apply lock to the cache_ only in CinnCompiler.
      
      * Add VizGraph & ReadableKey method for CinnCompiler.
      
      * Update the dot style of VizGraph in CinnCompiler.
      2479664a
  11. 28 10月, 2021 1 次提交
    • Z
      Fix several bugs for enabling Paddle to train with CINN. (#36739) · c93331c5
      Zhen Wang 提交于
      * Update the content of `test_parallel_executor_run_cinn.py`.
      
      * Fix some bugs in the topological sort and `CreateNewSubGraph`.
      
      * Update the CINN commit id used by Paddle.
      
      * Update the unit test to `add+relu`.
      
      * Update according to reviewers' suggestion.
      c93331c5
  12. 25 10月, 2021 1 次提交
    • Z
      Create CinnCompiler class for compiling subgraphs found by build_cinn_pass. (#36562) · 4c460378
      Zhen Wang 提交于
      * Init the functions of CinnCompiler.
      
      * Add the unit test for CinnCompiler.
      
      * Fix some compilation errors.
      
      * Update the UT of cinn_compiler.
      
      * Use Decomposer&OpFusion passes in CinnCompiler::CompileGraph.
      
      * Update some comments.
      
      * Uncomment some includes in build_cinn_pass.cc.
      
      * Use refs instead of ptrs as returned types of FindGraph & Compile in
      CinnCompiler.
      
      * Use the merged CinnGraphSymbolization functions in CinnCompiler.
      4c460378
  13. 23 10月, 2021 2 次提交
    • J
      add cinn graph symbolization (#36417) · bbd4bd73
      jiangcheng 提交于
      * add cinn graph symbolization
      
      * fix some bug
      
      * add paddle scope to cinn scope
      
      * add paddle scope to CINN scope in Symbolization, and add feed op when build cinn pass
      
      * fix some bug
      
      * fix some bug by review advices
      
      * optimize code problem
      
      * revert build_cinn_pass and move the change to https://github.com/PaddlePaddle/Paddle/pull/36503
      
      * fix some bug after co-compilation
      
      * perfect single test script
      
      * remove scope and rename feed_target to input_tensor
      
      * using std::unordered_map instead of absl::flat_hash_map
      
      * fix single test bug
      
      * revert to preverion for WITH_CINN has add in later PR
      
      * full error information for CI
      
      * full enfore information for CI pass
      bbd4bd73
    • J
      Add transformer of paddle desc and cinn desc (#36100) · 3cb6f65e
      jiangcheng 提交于
      * add transformer of paddle desc and cinn desc
      
      * change LOG(FATAL) to PADDLE_THROW for ci
      
      * full error imformation for ci
      
      * fix some problem as review advice
      
      * fix some bug
      
      * move vat type utils to tansform_desc header file
      
      * add if NOT WITH_CINN control whether compile
      
      * build_strategy check whether open WITH_CINN
      
      * add control WITH_CINN in cmake
      3cb6f65e
  14. 15 10月, 2021 1 次提交
    • J
      Add BuildCinnPass (#36345) · b3f02c57
      jiangcheng 提交于
      * Add CinnSubgraphSearchPass
      
      * solve CI problem of subgraph order not same
      
      * fix some bug by review advices
      
      * ensure the independently of subgraph, that mean the subgraph should not have link to out-graph
      
      * rename cinn_subgraph_search_pass to build_cinn_pass and delete paddle_to_cinn_pass
      
      * add flag to control wheter append build cinn pass
      
      * remove AppendPass at ParallelExecutorPassBuilder
      
      * rename paddle_to_cinn_pass to build_cinn_pass in build_strategy and close test_run_from_cinn
      b3f02c57
  15. 28 9月, 2021 1 次提交
    • H
      Add Basic CINN Runner Class (#35978) · 6f18b041
      Huihuang Zheng 提交于
      * Add Basic CINN Runner Class
      
      * Add CinnCacheKey
      
      * Add Cache logic and improve CinnCacheKey
      
      
      * Modify as reviewer commented
      
      * Implement hash_combine to fix MAC build.
      6f18b041