• S
    Replace matmul(v2) with fused_matmul during oneDNN fuse passes (#49515) · 5cfe1645
    Sławomir Siwek 提交于
    * replace matmul with matmul_v2 in fuse passes
    
    * Remove fusion logic from matmul
    
    * removing fusion methods
    
    * add proper name
    
    * adjust namespaces
    
    * clean attrs in python tests
    
    * delete checkpoint and restore matmul version
    
    * remove unused code
    
    * matmul and reshape/transpose fuses migrated
    
    * split MatmulOneDNN headers
    
    * fuse activation and eltwise_add
    
    * add fuse_activation
    
    * matmul_transpose_reshape/reshape_transpose_matmul
    
    * matmul + elementwise_add (fused)
    
    * activation temporary modifciation
    
    * merge newest develop
    
    * remove depedency from other PR
    
    * revert pbtxt
    
    * remove placeholders from matmul_v2
    
    * add description in OPMaker
    
    * remove matmul_v2_op.h and all depedencies
    
    * remove dims changing in base op
    
    * add possibility to fuse already fused_matmul
    
    * restart broken CI
    
    * Empty-Commit
    
    * revert matmul_utils.h
    
    * codestyle
    
    * adjust imports
    
    * add pbtxt file
    
    * 100% matmul unit tests coverage
    
    * trigger CI with minimal changes to develop
    
    * adjust changes to develop
    
    * add fused_matmul op
    
    * inherit base ops
    
    * add "v2"
    
    * move OPMaker
    
    * Gradually add fused_matmul files
    
    * second batch of fused_matmul changes
    
    * split infershapes of matmul_v2 and fused_matmul
    
    * inherit fused_matmul from matmul_v2
    
    * Update paddle/phi/backends/onednn/onednn_reuse.h
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    
    * Update paddle/phi/kernels/fusion/onednn/fused_matmul_kernel.cc
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    
    ---------
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    5cfe1645
fused_matmul_kernel.cc 25.6 KB