1. 11 7月, 2023 1 次提交
    • H
      [NewIR] Fix new ir unsqueeze op bug (#55212) · 852d7a12
      hong 提交于
      * suport optional input in new_ir
      
      * polish code
      
      * add coverate test
      
      * update
      
      * update
      
      * add unitest
      
      * remove reduplicate code
      
      * udpate
      
      * fix assign error
      
      * revert test arg min max
      
      * update
      
      * fix bug
      
      * polish code
      
      * update
      
      * fix unique and close op bug
      
      * update
      
      * update
      
      * revert test code
      
      * revert unique test
      
      * polish code
      
      * remove useless code
      
      ---------
      Co-authored-by: Nzhangbo9674 <zhangbo54@baidu.com>
      852d7a12
  2. 19 6月, 2023 1 次提交
    • H
      Support tensor attribute runtime (#54692) · 93f7a02a
      hong 提交于
      * add kernel dialect
      
      * change DenseTensorTypeStorage to DenseTensorType
      
      * add test case`
      
      * add first pd_op to kernel dialect
      
      * lower pd op to kernel dialect
      
      * update
      
      * update
      
      * remove useless code
      
      * add attrite print test
      
      * fix bug
      
      * update
      
      * update
      
      * update
      
      * update
      
      * polish code
      
      * fix bug
      
      * polish  code  and add python test
      
      * add test
      
      * fix test error
      
      * add env flag
      
      * fix bug
      
      * revert test env
      
      * change cc_test_old to cc_test
      
      * fix build_static bug
      
      * fix type test error
      
      * udpate cmake
      
      * disable test in windows
      
      * fix inference compile
      
      * update
      
      * support tensor attribute runtime
      
      * add result check
      
      * polish test code
      
      * fix test error
      
      * add scalar test & polish code
      
      * re-open test case
      93f7a02a
  3. 23 4月, 2023 1 次提交
  4. 25 8月, 2022 1 次提交
  5. 29 7月, 2022 1 次提交
    • Y
      [Phi] Add yaml for assign_value (#44596) · 88584396
      Yulong Ao 提交于
      * [Phi] Add yaml for assign_value
      
      * [Phi] Fix the bug of the assign api and modify the unittest
      
      * [Phi] Fix the bug when the tensor does not have the backend info
      
      * [Phi] Replace the functional-style cast init by the brace-init
      
      * [Phi] Cast the data explicitly
      88584396
  6. 27 5月, 2022 1 次提交
  7. 27 4月, 2022 1 次提交
  8. 25 4月, 2022 1 次提交
  9. 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
  10. 01 4月, 2022 1 次提交
    • C
      [Phi]Interploatd kernels into phi (#40855) · d65a7a46
      chentianyu03 提交于
      * add interploate cpu kernel
      
      * fix nullptr bug
      
      * add interpolate gpu kernel
      
      * fix unit test error
      
      * remove raw kernels
      
      * add cuda kernel impl
      
      * add infermeta
      
      * recover accidentally deleted kernels in interpolate op
      
      * fix grad x_grad name error
      
      * remove interpolate_v2_op.h
      
      * rm unused codes
      
      * fix xpu build error
      
      * fix build error
      
      * fix namespace error
      
      * add register header for nup
      
      * fix infermeta error
      
      * modify by review
      
      * add the missing args in test_trt_convert_nearest_interp_v2
      d65a7a46
  11. 31 3月, 2022 1 次提交
  12. 06 3月, 2022 1 次提交
  13. 01 3月, 2022 1 次提交
  14. 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
  15. 22 2月, 2022 2 次提交
  16. 21 2月, 2022 1 次提交
  17. 20 2月, 2022 1 次提交
  18. 16 2月, 2022 1 次提交
  19. 14 2月, 2022 1 次提交
  20. 13 2月, 2022 1 次提交
  21. 12 2月, 2022 1 次提交
  22. 11 2月, 2022 1 次提交
  23. 30 1月, 2022 1 次提交
    • C
      [PTen] Change all InferMeta functions (#39222) · 7e29cea9
      Chen Weihang 提交于
      * change unary infermeta
      
      * change other infermeta
      
      * change all infermeta format
      
      * resolve conflit
      
      * fix test failed
      
      * resolve reshape conflit
      
      * fix compile failed
      
      * adapt auto api gen
      
      * fix reshape failed
      
      * fix concat failed
      
      * resolve conflict
      7e29cea9
  24. 29 1月, 2022 1 次提交
    • C
      [PTen] Tidy pten core headers (#39188) · dd990981
      Chen Weihang 提交于
      * open header for custom kernel
      
      * add core utils
      
      * tidy core code
      
      * tify header
      
      * tidy include
      
      * tidy namespace
      
      * resolve conflit
      
      * fix unittest and coverage
      
      * remove platform using
      
      * resolve conflict
      
      * resolve conflict
      
      * fix digamma namespace error
      
      * fix xpu full kernel error
      
      * fix xpu full kernel error
      
      * polish details
      
      * add place for lib storage
      dd990981
  25. 27 1月, 2022 1 次提交
  26. 26 1月, 2022 1 次提交
    • C
      [PTen] Unify InferMeta(Shape) Function in pten and fluid op (#38976) · b75507d3
      Chen Weihang 提交于
      * infermeta context init design
      
      * support infermeta called in fluid op
      
      * add hasattr and attr methods
      
      * add dygraah GetVarPtrs support
      
      * rename arg_map_context to arg_map_utils
      
      * add registry for arg map func
      
      * resolve conflit
      
      * refactor op utils design
      
      * polish meta config
      
      * fix details
      
      * remove hasattr method
      
      * resolve conflit
      
      * revert cmake order change
      
      * revert some change
      
      * change init pos
      
      * fix compile faileed
      
      * fix typo
      
      * fix inference failed
      
      * fix windows ccompile failed
      
      * polish format
      Co-authored-by: NWang Huan <wanghuan29@baidu.com>
      b75507d3
  27. 23 1月, 2022 1 次提交