1. 18 5月, 2023 3 次提交
    • H
      Fused elementwises kernels and ops (#51427) · fb4a6ecf
      Hulek 提交于
      * Fused elementwises kernels and ops
      
      * change fuse pass name
      
      * adjust .pbtxt files
      
      * adjust quantization attributes
      
      * add missing arguments and fix others, review fixed
      
      * simplify fused kernel registration
      
      * fix elementwise unit tests
      
      * reuse one fused elementwise op
      
      * adjust proto
      
      * Add supported datatypes
      
      * Change 'Scale' to 'scale' in tests, change some tests to onednn
      
      * Revert breaking changes
      
      * Fix unit tests
      
      * Delete obsolete test cases
      
      * Delete commented out code
      
      * Fix codestyle
      
      * delete temporary condition
      
      * fix conflicts and delete duplicate fusing
      
      * Fix code after merge
      
      * Move tests to new directory
      
      * fix tests volatility
      
      * Rename test_elementwise_add_onednn_op.py to test_elementwise_add_mkldnn_op.py
      
      * Update CMakeLists.txt add mkldnn op test
      
      ---------
      Co-authored-by: NSilv3S <slawomir.siwek@intel.com>
      fb4a6ecf
    • H
      move fusion_group kernel to phi (#53781) · 26da689d
      huangjiyi 提交于
      26da689d
    • R
      support auto generate for op layer_norm (#53178) · 4f07b653
      RedContritio 提交于
      * simplify layer_norm_op.cc
      
      * support auto generate for op layer_norm
      
      * update unittest for composite_layer_norm
      
      * remove layer_norm_op.cc from scripts
      
      * replace layer_norm_op with generated_op
      
      * add get_expected_kernel for layer_norm
      
      * update cmake kernel register function for layer_norm_mkldnn_op
      4f07b653
  2. 16 5月, 2023 6 次提交
    • H
      move cudnn_lstm kernel to phi (#53730) · 52889e38
      huangjiyi 提交于
      * update
      
      * fix bug
      
      * test
      
      * test
      
      * update
      
      * update mutable_data
      
      * fix bug
      
      * update
      
      * fix bug
      
      * update output type reg
      
      * update
      
      * update
      52889e38
    • S
      Move fused batchnorm to Phi (#53476) · 5e5481d8
      Sonder 提交于
      * trans fused batch norm Compute function
      
      * trans batch norm register info to phi
      
      * trans fused batch norm grad Compute
      
      * trans batch norm grad register info
      
      * add sig file
      
      * update sig file
      
      * Update fused_bn_activation_kernel.cu
      
      * Update fused_bn_activation_grad_kernel.cu
      
      * fix
      
      * Rename fused_bn_activation_kernel_grad.cu to fused_bn_activation_kernel.cu
      
      * fix
      
      * fix
      
      * fix CudnnDataType error
      
      * fix
      
      * fix include
      
      * update
      
      * add #if
      
      * add fused bn act to cmakelist.txt
      
      * update  cmakelist
      
      * fix #ifdef error
      
      * add timeout set
      
      * add env set
      
      * fix
      
      * fix
      
      * Update fused_bn_activation_sig.cc
      5e5481d8
    • W
      static graph autogen code support for softmax op (#53581) · 312f0187
      Wang Xin 提交于
      * static graph autogen code support for softmax op
      
      * bug fixed
      
      * fix PR-CI-Windows error
      
      * fix CI error
      
      * bug fixed
      
      * fix conflicts
      312f0187
    • C
      support auto generation V2 abs (#53341) · b86bbe85
      cyberslack_lee 提交于
      b86bbe85
    • [static op generation] InstanceNorm (#53340) · 7b81092b
      张春乔 提交于
      * mv InstanceNorm
      
      * modify op_version.yaml
      
      * modify add Operator:: in get_expected_kernel_func.cc
      
      * rm gradexpectedkernel
      
      * add extra
      
      * add float epsilon=1e-5
      7b81092b
    • G
      [phi] move stft to phi - Step 1 (#53517) · 00c21abc
      gouzil 提交于
      * [phi]mv StftKernel to phi
      
      * [phi] fix KernelSignature
      
      * [phi]fix arr error
      
      * [phi] Disable check_dygraph
      
      * [phi]fix include
      
      * [phi] rewrite mutable_data, add output register
      
      * [phi] fix  Alloc
      
      * [phi] fix Alloc again
      
      * [phi] fix mutable_data
      
      * [phi] fix onesided_out Resize
      00c21abc
  3. 15 5月, 2023 1 次提交
  4. 12 5月, 2023 2 次提交
  5. 10 5月, 2023 2 次提交
  6. 09 5月, 2023 2 次提交
  7. 06 5月, 2023 1 次提交
  8. 28 4月, 2023 2 次提交
  9. 27 4月, 2023 3 次提交
    • G
      [phi] Move sequence_pool to phi - Step 3 :sequence_pool_grad_op (#52680) · fe053396
      gouzil 提交于
      * [phi] move sequence_pool kernel to phi
      
      * mv kernels impl
      
      * fix parameter error
      
      * clean include
      
      * fix compat filename
      
      * [phi] move fluid sequence_pool_grad to phi
      
      * [phi][compat] sig rm GradVarName
      
      * [phi] fix sequence_pool out type
      
      * [phi] rm impl, add const string
      
      * [phi] fix const str
      
      * fix sequence_pooling cmake
      
      * [phi] mv sequence_pooling_test
      
      * [phi] fix grad sig
      
      * [phi] fix sequence_pool is_test error
      
      * [phi] fix sequence_pooling gpu include
      
      * [phi] mv to impl
      
      * [phi] fix SequencePoolFunctor cu include
      
      * [phi] modify out max_index int32_t
      
      * [phi] add pooltype mapping determine
      
      * [phi] fix sequence_pool_sig
      
      * [phi] fix sequence_pool_sig sum
      
      * [phi] try ci
      
      * [phi] fix max_index optional
      fe053396
    • G
      [static op generation] triangular_solve (#53328) · 18968e7e
      gouzil 提交于
      * [static op generation] triangular_solve
      
      * [phi] mv triangular_solve_grad to static_backward
      
      * [phi] fix import
      
      * [phi] mv to ops.yaml、 backward.yaml
      
      * fix forward attr
      
      * [phi] fix triangular_solve_grad args
      18968e7e
    • W
      cf6cbc34
  10. 26 4月, 2023 1 次提交
  11. 25 4月, 2023 1 次提交
  12. 24 4月, 2023 2 次提交
  13. 23 4月, 2023 2 次提交
  14. 21 4月, 2023 1 次提交
  15. 19 4月, 2023 2 次提交
  16. 18 4月, 2023 4 次提交
  17. 17 4月, 2023 3 次提交
  18. 14 4月, 2023 2 次提交
    • F
      1. modify set_value op, use Scalars to represent attr `values`, instead of a... · dd2a749a
      Feiyu Chan 提交于
      1. modify set_value op, use Scalars to represent attr `values`, instead of a bunch of attributs of various types; (#52408)
      
      2. add program converter and set_value op as an example, which provides the functionality to convert `paddle::framework::ProgramDesc` between old and new formats(the differences are mainly some operators with incompatible updates in the definition);
      3. program version and operator version map now are always saved when serializing `paddle::framework::ProgramDesc` to identify the version;
      3. provide an option `legacy_format=false` in  serialization of `paddle::framework::ProgramDesc`, it decided whether to convert ProgramDesc back to a legacy format, which is compatible for paddle 2.4.2 or earlier versions to load and execute;
      4. deserialization of `paddle::framework::ProgramDesc` is now automatically detecting whether the bytes it receives is in legacy format(contains any of the operators that has been incompatibly updated and have any attribute of type `Scalar`) and convert it to new format. But if you want a faithful deserialization without the automatic conversion, you can use protobuf's deserialization instead. Though it is not recommended, it can be used for the purpose of testing.
      dd2a749a
    • G
      [phi] move sequence_pool to phi - Step 2 : sequence_pool_op (#52750) · b281b221
      gouzil 提交于
      * [phi] move sequence_pool kernel to phi
      
      * [phi] mv sequence_pooling to phi funcs
      
      * [phi] mv sequence_pooling_test
      
      * [phi] RollBACK `paddle/fluid/operators/sequence_ops/sequence_pool_op.cc`
      
      * [phi][funcs] fix mutable_data
      
      * [phi][funcs] fix mutable_data
      b281b221