1. 18 10月, 2022 1 次提交
    • Z
      [code-gen] Support code-gen for opmaker of sparse op (#46993) · bdd3dde3
      zyfncg 提交于
      * support generating code of opmaker for backward op invoke forward op
      
      * gsupport code-gen of opmaker for sparse op
      
      * refind logic of choose phi kernrel
      
      * fix complie budg
      
      * fix code_gen bug
      
      * fix bug
      
      * fix kernel signature code-gen
      
      * fix complie bug of VarType
      
      * fix complie bug of VarType
      
      * fix test_sparse_conv_op
      
      * fix test_sparse_norm_op
      bdd3dde3
  2. 12 10月, 2022 1 次提交
  3. 19 9月, 2022 1 次提交
  4. 14 9月, 2022 1 次提交
  5. 09 9月, 2022 1 次提交
  6. 30 8月, 2022 1 次提交
    • Z
      Remove extra attribute in OpMaker (#44310) · fe321f9a
      zyfncg 提交于
      * add runtime config in phi
      
      * add runtime attr for op desc and op
      
      * fix no proto error
      
      * adjust opdesc set_attr impl
      
      * try to remove conv_op extra attrs
      
      * add init runtime attr map
      
      * change extra header path
      
      * fix runtime_attr
      
      * fix trace_op
      
      * fix bug of pass
      
      * fix merge conflict
      
      * fix dygraph attrs
      
      * fix bug of pass
      
      * fix dygraph bug
      
      * fix unittest module
      
      * delete extra attr default
      
      * fix dropout kernel
      
      * polish code
      
      * fix extra output of instance_norm
      
      * fix merge confilct
      
      * fix op_desc bug
      
      * add extra attr in yaml for conv3d_transpose
      
      * don't remove extra input and output
      
      * fix save_inference_model
      
      * fix bug of batch_norm
      
      * revert some change
      
      * polish log
      
      * polish code
      
      * add code comment
      Co-authored-by: NChen Weihang <chenweihang@baidu.com>
      fe321f9a
  7. 12 8月, 2022 1 次提交
    • Z
      Remove some custom_impl api (#45066) · adb61b7b
      zyfncg 提交于
      * remove some custom_impl api and make them generated by yaml completely
      
      * delete useless code
      
      * fix adamw bug
      
      * fix infermeta
      
      * revert adamw
      
      * polish code
      
      * fix bug
      adb61b7b
  8. 21 7月, 2022 1 次提交
  9. 20 7月, 2022 1 次提交
  10. 19 7月, 2022 1 次提交
  11. 07 7月, 2022 1 次提交
    • J
      Fix higher order deriv with inplace (#44020) · a7c98ddb
      Jiabin Yang 提交于
      * fix deriv with inplace
      
      * fix double grad bugs
      
      * remove additional file
      
      * fix compat dygraph mode
      
      * fix yaml remove additional yaml
      
      * fix slice double grad error and auto code gen logic error for higher order differentiate
      
      * fix fix_higher_order_deriv
      
      * remove additional include
      
      * fix fix_higher_order_deriv
      a7c98ddb
  12. 06 7月, 2022 1 次提交
  13. 01 7月, 2022 1 次提交
  14. 29 6月, 2022 2 次提交
  15. 28 6月, 2022 1 次提交
  16. 27 6月, 2022 1 次提交
  17. 24 6月, 2022 1 次提交
  18. 23 6月, 2022 1 次提交
  19. 15 6月, 2022 1 次提交
  20. 10 6月, 2022 1 次提交
  21. 04 6月, 2022 1 次提交
  22. 24 5月, 2022 1 次提交
  23. 18 5月, 2022 1 次提交
  24. 16 5月, 2022 1 次提交
    • Z
      [PHI] Support construct IntArray by using Non-CPU Tensosr (#41764) · 8eecd852
      zyfncg 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * int_array supports constructed by gpu tensor
      
      * add some test
      
      * polish code
      
      * adjust full api
      
      * add unittest
      
      * add unittest
      Co-authored-by: NYuanRisheng <yuanrisheng@baidu.com>
      8eecd852
  25. 11 5月, 2022 1 次提交
    • Z
      [Phi] Change the output format of C++ backward api (Part1) (#42677) · ba71fbea
      zyfncg 提交于
      * change the output format of C++ backward api
      
      * fix merge conflict
      
      * fix sparse api code auto-gen
      
      * fix eager_gen bug
      
      * fix bug of output is null
      
      * fix bug of conv2d_grad_impl
      
      * fix optional grad
      
      * fix bug of eager-gen double_grad
      
      * fix bug
      
      * fix multiply_double_grad bug
      
      * remove node pruning
      ba71fbea
  26. 07 5月, 2022 1 次提交
  27. 14 4月, 2022 1 次提交
    • Y
      [Phi] Support construct Scalar by using Non-CPU Tensor (#41765) · 54ccc308
      YuanRisheng 提交于
      * support construct scalar using non-cpu tensor
      
      * fix bugs when run unittest
      
      * fix compile bugs
      
      * fix bugs when run ci
      
      * fix compile bugs
      
      * fix bugs when move copy
      
      * perfect unit test
      
      * perfect unittest
      
      * update according to comment
      
      * add target dependency
      
      * deal with conflict
      
      * fix bugs when run unit test
      
      * fix unit test bugs
      54ccc308
  28. 13 4月, 2022 3 次提交
  29. 06 4月, 2022 1 次提交
    • Z
      Add some op yaml (#41173) · 176df91c
      zyfncg 提交于
      * add real and imag yaml
      
      * add roi_align and roi_pool yaml
      
      * add qr yaml
      
      * add psroi_pool yaml
      
      * fix bug
      
      * fix param bug of psroi_pool
      
      * fix infrt problem
      
      * fix merge bug
      176df91c
  30. 04 4月, 2022 1 次提交
    • C
      [Yaml]Add concat grad yaml (#41365) · 119816f9
      chentianyu03 提交于
      * add concat_grad kernel
      
      * fix error
      
      * remove comment code
      
      * fix outs nullptr error
      
      * change to phi header
      
      * add concat_grad declare for standalone_executor_test
      
      * add concat_grad yaml
      
      * add concat api
      
      * fix test concat op error
      
      * fix test concat op error
      119816f9
  31. 30 3月, 2022 1 次提交
  32. 27 3月, 2022 1 次提交
    • J
      Add StringTensor (#39830) · 0695e1ac
      Jack Zhou 提交于
      * add string tensor and case convert kernels
      
      * Add strings empty kernel; Reorganize the structure of case convert kernel
      
      * Add string infermeta
      
      * Update mutable_data of string tensor
      
      * rename kernel name
      
      * add string copy tmp
      
      * Fix strings copy device bug
      
      * add utf8 gpu converter
      
      * add string tensor c++ api
      
      * Remove mutable_data of string tensor
      
      * update string tensor interface
      
      * remove charcases_flag.h
      
      * remove some fluid headers
      
      * Add make_ddim
      
      * __HIPCC__ -> PADDLE_WITH_HIP
      
      * remove fluid headers
      
      * fix cpu compile
      
      * remove std::hash
      
      * Fix cudaMalloc
      
      * Remove strings/impl directory
      
      * Fix infrt/get_phi_kernel_info.py;Add custom_kernels deps
      
      * Add empty kernel test
      
      * Remove some comments
      
      * Modify lower/upper api encoding type: string->bool
      
      * STRING->PSTRING; Add CreateInferLikeMeta
      
      * Add code gen for C++ String API
      
      * remove strings_api_utils.h
      
      * Add ignore file (strings_api.h, strings_api.cc)
      
      * update strings gen script
      
      * change args order of case convert kernels
      
      * Add comments for pstring, StringTensor
      
      * cpstring_internal.h -> cpstring_impl.h
      
      * Update accordding to comments:
      
      1. Remove fluid headers
      2. paddle::platform::errors -> phi::errors
      3. Use 'place.GetType() == phi::AllocationType::GPU' instead of 'paddle::platform::is_cpu_space()'
      4. Use camel code style
      
      * Remove all singletons in strings kernels
      
      * fix rocm compile
      
      * Fix py3 compile
      
      * Fix c++ coverage
      
      * 1. Add pstring proto type
      2. Add StringTensor debug info
      3. Rename case_convert_kernel to strings_lower_upper
      4. Remove serialize derialize strings kernel
      
      * DataLayout::PSTRING -> DataLayout::PSTRING_UNION
      
      * Register pstring data type
      
      * Fix strings api gen
      
      * Fix dense tensor register pstring dtype
      
      * Fix error messages
      
      * remove line
      
      * add pstring unittest
      
      * remove test string api unitest
      
      * remove empty line
      
      * Remove some headers to decrease the size of executable file
      0695e1ac
  33. 24 3月, 2022 2 次提交
  34. 21 3月, 2022 1 次提交
  35. 17 3月, 2022 1 次提交
  36. 09 3月, 2022 1 次提交