• S
    Remove oneDNN-specific attributes from matmul (#49444) · 4d97b25d
    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
    
    * restore matmul(v1) version 0
    
    * 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
    
    * merge code from other PR
    
    * 2023
    
    * 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>
    
    * resolve conflicts
    
    * codestyle
    
    * simplify isgemmlinear
    
    * 2023
    
    * remove import
    
    * reuse methods
    
    * matmul_v2_mkldnn cleanup
    
    * simplify ExecuteMatMulV1Grad
    
    * matmul refactored
    
    * fc
    
    * SetOutMemDescWithLogicalLayoutFusesSupport
    
    * matmul_v2
    
    * alpha support
    
    * group repetetive funcs
    
    * matmul utils
    
    * execute matmul methods
    
    * restore registered kernel names
    
    * split header and impl files
    
    * remove double negatives
    
    * reduce numer of modified files
    
    * adjust ExecuteMatmul
    
    * add scales for ut
    
    * dates
    
    * limit number of modified files
    
    * fluid imports
    
    * remove alpha
    
    * codestyle
    
    ---------
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    4d97b25d
test_matmul_v2_mkldnn_op.py 14.3 KB