1. 14 4月, 2023 26 次提交
    • U
      [Dcu]: Add rocsparse_spmm for dcu. (#52200) · 281ea2f4
      umiswing 提交于
      281ea2f4
    • R
      apply gcc12 to py3 ci (#52179) · 5fbcf37d
      risemeup1 提交于
      * apply gcc12 to py3-ci
      
      * apply gcc12 to py3-ci
      
      * apply gcc12 to py3-ci
      
      * test
      
      * test
      
      * test
      
      * test
      
      * make mirror
      
      * test
      
      * test
      
      * test
      
      * test debug
      
      * test
      
      * update cuda to 12
      
      * update cuda to 12
      
      * update cuda to 12
      
      * apply gcc12 to py3
      
      * fix gcc12 problem
      
      * test
      
      * apply gcc12 to py3
      
      * test
      
      * test
      
      * test
      
      * apply gcc12 to py3
      5fbcf37d
    • Y
      [Zero-Dim] support 0-D tensor for... · 6f41e177
      YangQun 提交于
      [Zero-Dim] support 0-D tensor for reduce/reshape/stack/prelu/expand_v2/gaussion onednn kernels (#52185)
      
      * support 0-D tensor for reduce/reshape/stack/prelu/expand_v2/gaussion ops
      
      * fix gaussian random mkldnn op ut
      6f41e177
    • H
      [Decouple enforce.h] Move LOG from enforce.h to enforce.cc (#52883) · b33f95b0
      HongyuJia 提交于
      * [Decouple enforce.h] Move LOG from enforce.h to enforce.cc
      
      * update cmake of device_context.cc, solve cuda_device_context_allocator.h compile error
      
      * add namespace inside macro
      b33f95b0
    • H
      b66c833f
    • 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
    • S
      Move fused_attention op to phi [迁移反向 GPU OpKernel] (#51909) · 3bac6264
      Sonder 提交于
      * add kernel functions
      
      * update kernel functions
      
      * update func parameters' name
      
      * create codes for gpu device
      
      * 调整文件位置
      
      * fix include error
      
      * remove dependent files to phi/
      
      * restore fused_attention_op.cu
      
      * fix dependence errors
      
      * fix dependence errors
      
      * fix include error
      
      * fix all depandence errors[build success]
      
      * remove useless include
      
      * recover useless include
      
      * use phi::ToNCCLDataType
      
      * fix namespace
      
      * update new register code
      
      * fix error in fused_gemm_epilogue_utils
      
      * fix error in FusedAttentionKernel parm
      
      * finish fused_attention registe code[build success]
      
      * add paddle::optional
      
      * add sig file
      
      * fix build error
      
      * fix a include error
      
      * 恢复正向代码
      
      * update CMkaeList
      
      * trans Compute function to phi [build success]
      
      * add register code and fix include error [build success]
      
      * fix parameter sequence
      
      * add include file
      
      * update #if before include
      
      * update #if before include
      
      * fix grammly error
      
      * update codes for DropoutParam
      
      * remove const cast
      
      * trans some fluid api to phi api
      
      * remove const cast
      
      * trans some fluid api to phi api
      
      * add #if
      
      * update test code
      
      * update test codes
      
      * recover test codes
      
      * fix namespace and remove fluid include
      
      * recover random seed
      
      * remove fluid quant_helper
      
      * fix include error
      
      * include utils in funcs
      
      * change include file
      
      * move grad codes back to fluid floder
      
      * move grad codes back to fluid floder
      
      * fix sig file error
      
      * update include
      
      * recover codes to develop
      
      * update register codes
      
      * fix build error
      
      * recover fluid include
      
      * remove some fluid include
      
      * remove some fluid include
      
      * Update fused_attention_op.cu
      
      * remove fluid include
      
      * add some fluid include
      
      * Update fused_attention_op.cu
      
      * Update fused_attention_op.cu
      
      * Update fused_attention_op.cu
      
      * Update fused_attention_op.cu
      
      * remote useless include
      3bac6264
    • G
      fix some [-Wunused-function] and [-Wunused-function] warning (#52868) · ab163063
      Galaxy1458 提交于
      * test,test=develop
      
      * test,test=develop
      
      * test,test=develop
      ab163063
    • J
      【Prim】Add more infer var type (#52818) · 630d14f5
      Jiabin Yang 提交于
      * add more infer var type
      
      * fix split error
      
      * fix ut
      
      * fix top_k infer vartype
      
      * fix top_k infer vartype
      630d14f5
    • L
      add backend config to select kernel (#52907) · 1ab7e77a
      lzydev 提交于
      1ab7e77a
    • S
      fix win cu116 compile error (#52894) · 60ba559a
      sneaxiy 提交于
      60ba559a
    • Z
    • D
      add npu to device_guard (#52774) · 64b4aaba
      duanyanhui 提交于
      64b4aaba
    • [Function optimization] support uint16 python op in d2s (#52809) · 6d231b02
      骑马小猫 提交于
      * support uint16 python op in d2s
      
      * convert uint16 -> bfloat16 in docstring
      6d231b02
    • K
      rem cncl (#52434) · 25bd5ed8
      Kim Yann 提交于
      25bd5ed8
    • Y
      [AMP] Unify the static amp codes of fp16 and bf16. (#52694) · dfcba7f4
      Yiqun Liu 提交于
      * Unify the static amp codes of fp16 and bf16.
      
      * Polish apis and add unittest.
      
      * Add operator stats collecting tools for program.
      
      * Add the check of number of bloat16 operators in unittest.
      
      * Add warning for operator not supported for amp.
      
      * Add testing of BF16 O1 and O2.
      dfcba7f4
    • R
      f8d09011
    • Z
      [IR] Move paddle_ir_test to test_ir (#52877) · 6b756e8c
      zhangbo9674 提交于
      * move paddle_ir_test to test_ir
      
      * fix bug
      
      * fix bug
      6b756e8c
    • H
      update (#52875) · ce6978c6
      huangjiyi 提交于
      ce6978c6
    • H
      update (#52880) · 2f499713
      huangjiyi 提交于
      2f499713
    • Z
      54e4360a
    • H
      update (#52879) · b1bb7484
      huangjiyi 提交于
      b1bb7484
    • H
      update (#52878) · e93e8a3f
      huangjiyi 提交于
      e93e8a3f
    • R
      Fix test full name usage (#52790) · aac8da90
      risemeup1 提交于
      * test
      
      * fix test error
      
      * fix test error
      
      * fix test error
      aac8da90
    • add ci reviewer for inference size (#52159) · 3fed97f4
      石晓伟 提交于
      3fed97f4
  2. 13 4月, 2023 14 次提交