1. 21 4月, 2023 1 次提交
    • G
      Fix bug of block desc. (#53163) · ba899b5c
      Ghost Screaming 提交于
      * Fix bug of reduce_sum op. When input.numel() > INT32_MAX, its result
      is wrong.
      
      * Remove climits.
      
      * Fix bug of BlockDesc::MoveFrom(). It's used to rebuild main_program_desc from ProgramDesc modified by Fusion Pass. As some fused operators need to create new Variables in modified ProgramDesc, MoveFrom function uses std::move() function to move these VarDesc to main_program_desc. As a result, their pointers holded by modified ProgramDesc become nullptr. When call block()->Program()->proto() function, it will call ProgramDesc::Flush() function at first, which may cause a segmentation fault.
      ba899b5c
  2. 18 8月, 2022 1 次提交
  3. 13 8月, 2022 1 次提交
    • L
      Refine program cache (#45005) · e96dae8b
      Leo Chen 提交于
      * add cached_serialize_str_
      
      * support program hash
      
      * add sha
      
      * add ut
      
      * use hash_str only for new_exe
      
      * fix attr order
      e96dae8b
  4. 10 8月, 2022 2 次提交
  5. 19 7月, 2022 1 次提交
  6. 28 6月, 2022 1 次提交
    • R
      Remove boost::variant (#43100) · b3cf28f8
      Ruibiao Chen 提交于
      * boost::variant -> paddle::variant
      
      * boost::variant.apply_visit -> paddle::visit
      
      * Update pybind_boost_hraders.h
      
      * Fix CINN compilation errors
      
      * Revert FetchResultType
      b3cf28f8
  7. 26 6月, 2022 1 次提交
  8. 08 9月, 2021 1 次提交
    • Z
      Enable program passes on Fleet APIs (#34955) · 5f369881
      Zeng Jinle 提交于
      * add fleet api for program pass
      
      * turn on apply pass for CI test
      
      * fix disable fuse_all_optimizer bug
      
      * try to test ci
      
      * fix CI
      
      * fill unspecified op role
      
      * fix fuse_allreduce
      
      * add ut to improve coverage
      
      * remove useless change
      
      * improve c++ coverage
      
      * follow some comments
      
      * test ir pass pipeline
      
      * update doc
      
      * reduce ut time again
      5f369881
  9. 17 8月, 2021 1 次提交
    • Z
      Add some passes which can be applied to Program (#34730) · 8046e33d
      Zeng Jinle 提交于
      * add inplace passes and tests
      
      * update
      
      * fix use_cuda undefined
      fix compile error of op compat
      
      * add more ut
      
      * fix CPU CI error
      
      * check adam unique
      
      * fix mac/windows ci, improve coverage
      
      * fix ci error
      
      * follow weihang's comment
      
      * fix BlockDesc::MoveFrom
      
      * follow qiuliang's comment
      
      * update
      
      * follow huihuang's comments
      8046e33d
  10. 04 2月, 2021 1 次提交
  11. 09 4月, 2020 1 次提交
  12. 04 3月, 2019 5 次提交
  13. 28 2月, 2019 1 次提交
  14. 27 2月, 2019 1 次提交
  15. 26 2月, 2019 1 次提交
  16. 25 2月, 2019 2 次提交
  17. 23 2月, 2019 1 次提交
  18. 20 2月, 2019 1 次提交
  19. 05 6月, 2018 1 次提交
  20. 31 5月, 2018 2 次提交
  21. 08 5月, 2018 1 次提交
  22. 04 5月, 2018 1 次提交
  23. 19 4月, 2018 1 次提交
  24. 10 4月, 2018 2 次提交
  25. 27 3月, 2018 1 次提交
  26. 26 3月, 2018 1 次提交
  27. 12 3月, 2018 1 次提交
    • Q
      [Memory]More memory optimization policy (#8690) · f7e9fe57
      QI JUN 提交于
      * add memopt level
      
      * add opt level for image classification demo
      
      * clean code
      
      * add delete op
      
      * clean code
      
      * test machine translation demo
      
      * clean code
      
      * clean code
      
      * skip fill constant with force cpu
      
      * clean code
      
      * clean code
      
      * refine code
      
      * clean code
      
      * fix bug
      f7e9fe57
  28. 24 2月, 2018 1 次提交
    • Y
      Add block.fwd_block_id (#8489) · 7a9098a6
      Yu Yang 提交于
      * Add block.fwd_block_id
      
      * fix bug in memory optimization transpiler
      
      * Change DFS to BFS
      
      * Add comments
      7a9098a6
  29. 23 2月, 2018 1 次提交
  30. 22 2月, 2018 1 次提交
  31. 13 2月, 2018 1 次提交
  32. 12 2月, 2018 1 次提交