1. 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
  2. 10 8月, 2022 1 次提交
  3. 19 7月, 2022 1 次提交
  4. 26 6月, 2022 1 次提交
  5. 27 5月, 2022 1 次提交
  6. 29 4月, 2022 1 次提交
  7. 28 4月, 2022 1 次提交
  8. 27 4月, 2022 2 次提交
  9. 26 4月, 2022 2 次提交
  10. 25 4月, 2022 1 次提交
    • C
      Optimize dygraph InferShape perf (#42155) · 6721376b
      Chen Weihang 提交于
      * init commit
      
      * remove two hash impl
      
      * fix bug
      
      * polish details
      
      * fix compile failed
      
      * fix compile failed
      
      * fix compile failed
      
      * add default kernel sig cache
      
      * fix get kernel arg defs error
      
      * remove kernel arg defs cache
      
      * fix origin op execute
      6721376b
  11. 23 4月, 2022 1 次提交
  12. 22 4月, 2022 1 次提交
  13. 17 4月, 2022 1 次提交
    • C
      [Perf] Optimize dygraph scheduling performance (#41696) · 7ee31a96
      Chen Weihang 提交于
      * split phi and fluid infermeta context
      
      * resolve conflict
      
      * fix type error
      
      * optimize scheduling perf
      
      * spec small vector size
      
      * replace all grad var name
      
      * fix test failed
      
      * move init defalut signature
      
      * polish details
      
      * polish details
      
      * fix no init bug
      
      * init sig for tests
      
      * add init sig for infer
      
      * fix infrt error
      
      * fix infrt failed
      
      * fix kunlun error
      
      * fix infrt failed
      7ee31a96
  14. 13 4月, 2022 1 次提交
  15. 31 3月, 2022 1 次提交
  16. 30 3月, 2022 1 次提交
  17. 25 3月, 2022 1 次提交
  18. 23 3月, 2022 1 次提交
  19. 17 3月, 2022 2 次提交
    • C
      [Phi] Move assign kernel into phi (#40022) · 1904572a
      Chen Weihang 提交于
      * move assign kernel init commit
      
      * change vec<tensor> to vec<tensor*>
      
      * support tensor array
      
      * support api declare
      
      * fix test_list failed
      
      * fix npu and xpu failed
      
      * fix infrt failed
      
      * remove assign array size in operator
      
      * move assign sr header into sr dir
      
      * add infermeta for assign
      
      * test op success
      
      * fix test_list failed
      
      * fix kunlun failed
      
      * add set host allocator in tests
      
      * support tensor array in arg ctx
      
      * open set layout in share_meta
      
      * fix meta tensor layout error
      
      * fix test failed
      1904572a
    • Z
      move infershape of set_value to phi (#40636) · c335288d
      zyfncg 提交于
      c335288d
  20. 15 3月, 2022 1 次提交
    • H
      Move one hot to phi (#39876) · 7701db37
      hong 提交于
      * move one hot to phi; test=develop
      
      * fix bugs; test=develop
      
      * fix bugs; test=develop
      
      * add infer meta; test=develop
      
      * fix bugs; test=develop
      
      * resolve confilct
      
      * resolve confilct
      
      * fix bug;
      
      * fix error; test=develop
      
      * update; test=develop
      
      * polish code; test=develop
      
      * add one api in eager mode; test=develop
      
      * add one hot test; test=develop
      
      * remove use less code; test=develop
      
      * fix bug; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      7701db37
  21. 14 3月, 2022 1 次提交
  22. 13 3月, 2022 1 次提交
  23. 11 3月, 2022 1 次提交
  24. 08 3月, 2022 1 次提交
  25. 04 3月, 2022 1 次提交
  26. 01 3月, 2022 2 次提交
    • C
      [Phi]rm reduce infershape (#39820) · 09039636
      chentianyu03 提交于
      * modify infershape utils and rm reduce infershape
      
      * merge develop
      
      * fix infermete bug
      
      * add IsForInferShape func in ArgumentMappingContext
      
      * add reduce_mean infermeta
      
      * modify annotation
      
      * add default dims
      09039636
    • Z
      [PHI] Support Multi Input and Output for InferShape (#39870) · e8d45583
      zyfncg 提交于
      * add multi input for infer_shape
      
      * support multi output for infershape
      
      * fix split bug
      
      * fix bug of concat
      
      * support vector<MetaTensor*> in infrt
      
      * fix bug
      e8d45583
  27. 28 2月, 2022 1 次提交
  28. 25 2月, 2022 1 次提交
  29. 24 2月, 2022 1 次提交
    • C
      [pten] add optional type for infermeta (#39848) · 94b31f90
      chentianyu03 提交于
      * modify infershape by args_def
      
      * add optional type for infermate
      
      * add optional type for infermate
      
      * add optional type for infermate
      
      * support scalar type
      
      * change OptionalInputAt function to none template
      
      * support phi::DataType
      94b31f90
  30. 21 2月, 2022 1 次提交
  31. 20 2月, 2022 1 次提交
  32. 19 2月, 2022 1 次提交
    • A
      [Pten]Unify paddle/pten::framework::ddim into pten::ddim (#39614) · 2fe04264
      Aurelius84 提交于
      * Unify paddle/pten::framework::ddim into pten::ddim
      
      * fix paddle namespace
      
      * compile sucessfully
      
      * fix npu src file
      
      * fix conflict
      
      * fix conflict
      
      * fix tensorrt compiler error
      
      * fix conflict
      
      * fix conflict
      
      * fix tesst file conflict
      
      * fix conflict
      
      * fix mlu file conflict
      
      * fix mlu file conflict
      
      * fix cinn header file conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      
      * fix conflict
      2fe04264
  33. 16 2月, 2022 1 次提交
  34. 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
  35. 14 2月, 2022 1 次提交
  36. 08 2月, 2022 1 次提交