1. 26 8月, 2022 1 次提交
    • K
      Transfer transfer_layout from fluid to phi (#45261) · 985f2a4a
      kangguangli 提交于
      * remove fluid kernel and activate phi kernel
      
      * fix parameter error
      
      * transfer mkldnn part
      
      * modify header file path
      
      * fix compile error
      
      * transfer special case
      
      * fix lod setting and special case for layout setting
      
      * add testcase and refine code
      985f2a4a
  2. 16 8月, 2022 1 次提交
    • C
      [Phi] Move amp ops into phi (#45079) · b4f67757
      Chen Weihang 提交于
      * move check finite and unscale kernel into phi
      
      * move infershape into phi
      
      * move update_loss_scaling kernel into phi
      
      * remove original kernels
      
      * move update loss scaling infershape into phi
      
      * add header for xpu and npu
      
      * solve coverage failed
      
      * fix npu test failed
      
      * remove mutable data in cu file
      
      * fix new executor failed
      
      * add valid check for meta tensor output
      b4f67757
  3. 12 8月, 2022 1 次提交
    • K
      transfer memcpy_h2d from fluid to phi (#44932) · 7bc57d35
      kangguangli 提交于
      * transfer memcpy_h2d from fluid to phi
      
      * use UnchangedInferMeta instead
      
      * restore test_standalone_executor
      
      * add newline to fix codestyle check
      
      * rename pt -> phi
      
      * simplify logic and add check
      
      * make the comment more clear
      
      * remove useless comment
      
      * refine code
      7bc57d35
  4. 18 7月, 2022 1 次提交
  5. 11 7月, 2022 1 次提交
  6. 29 6月, 2022 1 次提交
  7. 26 6月, 2022 1 次提交
  8. 24 6月, 2022 1 次提交
  9. 05 6月, 2022 1 次提交
  10. 05 4月, 2022 1 次提交
    • L
      [new-exec] enable the new standalone executor by default (#41179) · 93ea1297
      Leo Chen 提交于
      * enable new executor by default
      
      * enable stream safe allocator
      
      * test=document_fix;test=coverage
      
      * do not use scope in op kernel
      
      * fit empty program for new executor
      
      * fix communication depend
      
      * fix test_sync_batch_norm
      
      * skip unsupported place
      
      * refine datatransfer
      
      * fit for dirtributed program
      
      * fix dependencpy
      
      * fix some ut
      93ea1297
  11. 31 3月, 2022 1 次提交
    • L
      [new-exec] fit mkldnn op (#41058) · 02cf6764
      Leo Chen 提交于
      * fix bug that some op has no op_role attr
      
      * add mkldnn support for new executor
      
      * fit for mkldnn data_transfer
      
      * fit for mkldnn data_transfer
      02cf6764
  12. 28 3月, 2022 1 次提交
  13. 27 3月, 2022 1 次提交
  14. 20 2月, 2022 1 次提交
  15. 15 2月, 2022 1 次提交
    • A
      [PTen]Migrate proto::VarType outside of Pten (#39411) · 7e7e9404
      Aurelius84 提交于
      * #1 migrate dist-related type()-> dtype()
      
      * move datatype function from pten -> fluid/framework
      
      * change type() in imperative into convert(dtype())
      
      * modify xx_tensor->type into xx_tensor->dtype
      
      * change the set_type interface and the caller
      
      * modify xx_tensor.type into xx_tensor.dtype
      
      * fix mutable_data(place, dtype())
      
      * change caller of mutable_data in pten and distributed
      
      * change the caller of mutable_data in fluid/framework
      
      * change the caller of mutable_data in imperative directory
      
      * mutable_data: inference
      
      * update the call of mutable_data
      
      * transfer MakePenScalarArray MakePtenScalar ResetHolderWithType
      
      * pass the compile. the next step is remove VarType in Pten
      
      * fix all and remove VarType from pten. success in linux. Next task is other platform
      
      * fix conflict with develop
      
      * fix compiled error
      
      * Fix reset conversion
      
      * fix conflict
      
      * fix compiled problem
      
      * fix typo
      
      * Fix << in tensor_utils.cc
      
      * fix type->dtype
      
      * fix unittest
      
      * fix tensor init constructor
      
      * fix DataTypeSize for BFloat16
      
      * fix code style
      
      * fix npu compiled error
      
      * fix npu
      
      * compile npu sucessfully
      
      * fix conflict
      
      * fix conflict
      Co-authored-by: Nxiongkun <xiongkun03@baidu.com>
      7e7e9404
  16. 25 1月, 2022 1 次提交
    • W
      [Move selected_rows PR #3] Change the relationship of [include/Cmake]. (#39128) · 2bafd338
      Weilong Wu 提交于
      * Added selected_rows and rw_lock to pten
      
      * Renamed the unit test target to fix CI
      
      * Removed Class SelectedRows in Fluid, changed include/cmake relationship, use pten::SelectedRows in Fluid
      
      * Remove rw_lock.h,rw_lock_test.cc in fluid
      
      * Use pten::RWLock and pten::AutoRDLock, fix CI
      
      * Use pten::SelectedRows
      
      * Use pten::SelectedRows
      
      * Fix to pass NPU CI
      
      * Use pten::SelectedRows, to pass NPU CI
      
      * To fix NPU CI
      
      * To fix NPU CI again
      2bafd338
  17. 10 1月, 2022 1 次提交
  18. 02 12月, 2021 1 次提交
  19. 29 11月, 2021 2 次提交
  20. 24 11月, 2021 1 次提交
  21. 23 11月, 2021 2 次提交