• 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
fused_attention_op.cu 33.7 KB