• S
    [external reviewing] Params to int8 pass (#42625) · b8b2d6a9
    Sylwester Fraczek 提交于
    * sylwek
    
    prototype params to int8 pass
    
    * trying to make warmup work
    
    * wip
    
    * wip
    
    * change test to cpp test
    
    * review fixes, refactoring
    
    * more refactoring
    
    * add erasevars
    
    * change test to fixture
    
    * rename pass
    
    and reorder erasevars and graphsaferemovenodes
    
    * fix
    
    * more refactoring and fixed bug
    
    * formatting
    
    * remove scale count
    
    * enfroce message too short
    
    * remove erasevars
    
    erasevars couldbe cauuse of memory issues
    
    some other fixes
    
    * add count of successfull fuses to name of new nodes
    
    * FindVar -> GetVar and use ConvResidual pattern
    
    * use tensor->clear() instead of new variable
    
    * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    
    * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    
    * Update paddle/fluid/inference/tests/api/analyzer_lexical_analysis_gru_tester.cc
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    
    * add log (review fix)c
    
    * review fix (2 functions to one)
    
    * code review: Conv->QuantizeConv
    
    * revert
    
    * fix formatting
    
    * remove unused functions
    
    * add paddle enforce
    Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
    b8b2d6a9
graph_pattern_detector.h 62.8 KB