1. 30 3月, 2023 1 次提交
    • H
      register fluid kerenls to phi [part 1] (#52014) · 93d01787
      huangjiyi 提交于
      * update assign_pos
      
      * update attention_lstm
      
      * update barrier
      
      * update batch_fc
      
      * update beam_search
      
      * update beam_search_decode
      
      * update bilateral_slice
      
      * fix bug
      
      * Handle Structure kernel for InterpreterCore::RunOperator
      
      * fix bug
      
      * fix rocm compile
      
      * fix rocm compile
      
      * Revert "fix rocm compile"
      
      * test
      
      * revert test and update cmake
      
      ---------
      Co-authored-by: Nchenruibiao <chenruibiao@baidu.com>
      93d01787
  2. 19 8月, 2022 1 次提交
    • M
      Support beam search decode op in XPU environment (#44917) · adaffb7b
      mengqingchun02 提交于
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * fix beam_search operator bugs on xpu. test=kunlun
      
      * fix beam_search operator bugs on xpu. test=kunlun
      
      * fix beam_search operator bugs on xpu. test=kunlun
      
      * fix beam_search operator bugs on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      
      * support beam_search_decode operator on xpu. test=kunlun
      adaffb7b
  3. 02 8月, 2022 1 次提交
    • M
      support beam_search operator on xpu. test=kunlun (#44720) · 9bf80772
      mengqingchun02 提交于
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      
      * support beam_search operator on xpu. test=kunlun
      9bf80772
  4. 05 6月, 2022 1 次提交
  5. 15 9月, 2021 1 次提交
    • P
      [NPU] add beam_search npu op (#34860) · 3760be06
      pangyoki 提交于
      * add beam_search npu op
      
      * fix CMakeList and add unittest
      
      * fix bug of beam search npu op
      
      * fix unittest
      
      * let input ids become int64
      
      * set output ids to int64_t
      
      * delete check_dygraph
      
      * fix beam_width=1
      3760be06
  6. 24 1月, 2019 1 次提交
    • Y
      Add the CUDA kernel for beam_search op (#15020) · 3008fa12
      Yiqun Liu 提交于
      * Refine the beam_search op and test.
      
      * A basic CUDA implementation of beam_search for small batch_size.
      
      * Implement CUDA kernel for beam_search_op.
      
      * Use multiple CUDA threads in the same block to select the top beam.
      
      * Update the python api of beam_search op.
      
      * Enable extend function in CPU kernel of beam_search op.
      
      * Unify the CUDA codes.
      test=develop
      
      * Unify the CPU kernel of beam_search op.
      
      * Ensure the seletced items of beam_search_op's CPU kernel sorted by scores.
      
      * Update the description of beam_search in API.spec.
      
      * Enable the use of CUDA kernel in beam_search op.
      
      * Exclude the beam_search's CUDA unittest when there is no CUDA gpu, and delete some debuging statements.
      test=develop
      
      * Follow comments.
      test=develop
      
      * Call the CPU kernel for beam_search op when batch_size > 4.
      test=develop
      
      * Remove the except of is_empty op in PrepareData.
      test=develop
      3008fa12
  7. 26 12月, 2018 1 次提交
    • W
      Fp16 training (#14992) · 856f0da0
      Wu Yi 提交于
      * wip
      
      * wip
      
      * wip
      
      * wip for test
      
      * add fp16 tests test=develop
      
      * fix cpu build test=develop
      
      * fix test=develop
      
      * fix py3 tests test=develop
      
      * fix lr_scheduler dtype test=develop
      
      * fix test=dvelop
      
      * test fix ci compile test=develop
      
      * fix build and merge test=develop
      
      * fallback momentumop change to general test=develop
      
      * make fp16 lr schedule simple test=develop
      
      * fix ut test=develop
      
      * fix tests test=develop
      
      * remove fp16 learning rate cast test=develop
      856f0da0
  8. 20 12月, 2018 2 次提交
  9. 16 11月, 2018 1 次提交
    • W
      Refine operator cmake (#14413) · a2d9b344
      Wu Yi 提交于
      * wip simplify operator framework
      
      * wip
      
      * wip
      
      * done test=develop
      
      * clean test=develop
      
      * fix test=develop
      
      * fix deps test=develop
      
      * fix cpu build test=develop
      
      * fix tensorrt build test=develop
      
      * fix tests test=develop
      
      * fix test=develop
      
      * fix cpu build test=develop
      a2d9b344
  10. 17 10月, 2018 1 次提交
  11. 15 10月, 2018 1 次提交
    • C
      Add check for opt op (#13840) · 8e2fdc54
      chengduo 提交于
      * add check for opt op
      
      * fix opt op
      test=develop
      
      * fix test fail
      test=develop
      
      * fix optimization doc
      test=develop
      
      * test=develop
      8e2fdc54
  12. 14 10月, 2018 1 次提交
  13. 20 7月, 2018 1 次提交
  14. 12 4月, 2018 1 次提交
  15. 12 2月, 2018 1 次提交
  16. 10 2月, 2018 2 次提交
  17. 26 12月, 2017 1 次提交
  18. 12 12月, 2017 1 次提交
    • Q
      Refine device context (#6433) · 61ec0b95
      QI JUN 提交于
      There are mainly following fixes:
      
      - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place`
      - remove `eigen_device` interface in base class  `DeviceContext`
      - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext`
      - remove unused `platform::EigenDeviceConverter`
      - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL`
      - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
      61ec0b95
  19. 05 12月, 2017 2 次提交
  20. 03 10月, 2017 1 次提交
  21. 07 8月, 2017 1 次提交
  22. 04 8月, 2017 1 次提交
  23. 31 7月, 2017 1 次提交
  24. 25 7月, 2017 1 次提交
  25. 19 7月, 2017 1 次提交