1. 24 5月, 2019 1 次提交
  2. 22 5月, 2019 1 次提交
    • G
      Enable the convolution/relu6(bounded_relu) fusion for FP32 on Intel platform. (#17130) · 2281ebf0
      guomingz 提交于
      * Relu6 is the bottleneck op for Mobilenet-v2. As the mkldnn supports the conv/relu6 fusion, we implement it fusion via cpass way. Due to the int8 enabling for this fusion will be supported in MKLDNN v0.20, so this PR is focused on the fp32 optimization.
      
      Below table shows the benchmark(FPS) which measured on skx-8180(28 cores)
      Batch size | with fusion | without fusion
      -- | -- | --
      1 | 214.7 | 53.4
      50 | 1219.727 | 137.280
      
      test=develop
      
      * Fix the format issue
      
      test=develop
      
      * Add the missing nolint comments.
      
      test=develop
      
      * Fix the typos.
      
      test=develop
      
      * Register the conv_brelu_mkldnn_fuse_pass for the MKLDNN engine.
      
      test=develop
      
      * Adjust the indentation.
      
      test=develop
      
      * Add the test_conv_brelu_mkldnn_fuse_pass case.
      
      test=develop
      
      * Slightly update the code per Baidu comments.
      Let the parameter definition embedded into the code.
      That's will make the code easy to understand.
      
      test=develop
      2281ebf0
  3. 16 4月, 2019 1 次提交
    • J
      [MKL-DNN] Added reusing of primitive descriptors (fp32) (#16667) · 87a44b11
      Jacek Czaja 提交于
      * - Reuse of conv PD
      
      - conv transpose pd reused
      
      - Added PD reusing of softmax and Batch Norm
      
      - Refactoring and removal of not needed routines of mkl-dnn ops
      
      test=develop
      
      - Fix to reusing conv
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      - Further lint fixes
      
      test=develop
      
      - Lint  fixes
      
      test=develop
      
      - lint fixes
      
      test=develop
      
      - Lint workaround
      
      test=develop
      
      * - Fix after review on including boost as third party header
      
      test=develop
      
      * - Fix after review. Name change to something more descriptive
      
      test=develop
      87a44b11
  4. 28 3月, 2019 1 次提交
    • J
      [MKL-DNN] Tensor modifications revert (#16462) · 26323274
      Jacek Czaja 提交于
      * Revert "[MKL-DNN] Fix to crash of Transformer when mkldnn is to be used (#16233)"
      
      This reverts commit 13816dd4.
      Apart from enabling transformer for MKL-DNN
      
      * Revert "- MKL-DNN pooling updated to set_prim_desc"
      
      This reverts commit c63f6b20.
      
      Conflicts:
      	paddle/fluid/operators/mkldnn/concat_mkldnn_op.cc
      
      * Revert "[MKL-DNN] MKL-DNN specific Tensor modification (#15429)"
      
      test=develop
      
      This reverts commit dec9cf53.
      
      * - concat compilation fix
      
      - lint
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      - Fix Transpose MKLDNN op
      
      test=develop
      26323274
  5. 22 3月, 2019 1 次提交
    • X
      Enable MKL-DNN INT8 Concat Kernel. (#16156) · e235882c
      xiaolil1 提交于
      * Enable INT8 Concat Kernel to improve the performance of MobileNet-SSD.
      test=develop
      
      * Optimize UT format.
      test=develop
      
      * Fix UT file address issue.
      test=develop
      
      * Refine the license year.
      test=develop
      
      * Optimize code for new API.
      test=develop
      
      * Restructure INT8 Concat kernel.
      test=develop
      e235882c
  6. 19 3月, 2019 1 次提交
  7. 18 3月, 2019 7 次提交
    • D
      refine softmax kernel. test=develop · 6c641827
      dengkaipeng 提交于
      6c641827
    • D
      fix format. test=develop · 2ddd23da
      dengkaipeng 提交于
      2ddd23da
    • D
      add mkldnn support. test=develop · 365e6cfd
      dengkaipeng 提交于
      365e6cfd
    • D
      add mkldnn support. test=develop · 217db273
      dengkaipeng 提交于
      217db273
    • X
      Enable INT8 transpose kernel for MobileNet-SSD improvement. (#16159) · e818fa10
      xiaolil1 提交于
      * Enable INT8 transpose kernel for MobileNet-SSD improvement.
      test=develop
      
      * Refine the license year.
      test=develop
      
      * Delete redundant code.
      test=develop
      
      * Add axis check.
      test=develop
      e818fa10
    • L
      refine with comments · d9f0e725
      luotao1 提交于
      test=develop
      d9f0e725
    • W
      Add cpu_quantize_pass for C-API quantization (#16127) · 2579ade4
      Wojciech Uss 提交于
      * Add cpu_quantize_pass for C-API quantization
      
      test=develop
      
      * add cpu_quantize_pass test
      
      * fix lint: add include memory unorderd_map and unordered_set
      
      test=develop
      
      * fuse_relu 1
      
      test=develop
      
      * tuned 2 without squash
      
      * fixes
      
      test=develop
      
      * remove unused vars
      
      test=develop
      
      * refactored
      
      test=develop
      
      * fix lint c-style cast -> C++ style cast
      
      test=develop
      
      * remove QuantMax and c style casts
      
      test=develop
      
      * last usage of QuantMax removed
      
      test=develop
      
      * Fix Analysis Predictor UT
      
      Check if memory_optimize_pass has already been added
      to the analysis config before adding a new one, so
      that it is not added multiple times.
      test=develop
      
      * change map to unordered_map
      
      fix the forgotten part of cpu_quantize_pass_tester.cc
      
      test=develop
      
      * removed quantized attribute
      
      * fixed cpu_quantize_pass_tester and op attr comments
      
      test=develop
      
      * removed redundant line
      
      test=debug
      
      * removed gmock
      
      test=develop
      
      * fix after merge
      2579ade4
  8. 15 3月, 2019 1 次提交
  9. 06 3月, 2019 1 次提交
    • X
      Add Requantize OP (#15318) · a177d482
      xiaolil1 提交于
      * Enable INT8 ReQuantize OP
      test=develop
      
      * Clean code
      test=develop
      
      * Add comments
      test=develop
      
      * Revert "Clean code"
      test=develop
      
      This reverts commit a7a49b8a.
      
      * Modify requantize op test
      test=develop
      
      * fix requantize UT by moving public function to public test file.
      test=develop
      
      * Fix test fail due to file address change.
      test=develop
      
      * Change file address for requantize op.
      test=develop
      a177d482
  10. 04 3月, 2019 2 次提交
  11. 27 2月, 2019 2 次提交
  12. 26 2月, 2019 2 次提交
    • J
      - MKL-DNN pooling updated to set_prim_desc · c63f6b20
      Jacek Czaja 提交于
      - MKLDNN ops revisited
      
      - disabled softmax modifications
      
      - disabled elementwise_add
      
      - reverted LRN modifications
      
      - reverted SUM primitive
      
      - Partial reviing of softmax
      
      - Enable softmax
      
      - Softmax changes
      
      - LRN is back
      
      - LRN partially disabled
      
      - LRN is back
      
      - LRN fix
      
      - compilation fixes
      
      - Sum fixed(hopefully)
      
      - Enabling (partially) elementwise_add
      
      - Fixes to elemenwise_add
      
      - Lint fixes
      
      quantize fix
      
      - compilation fix
      
      test=develop
      
      Disabling pooling
      
      - Disabled quantize op
      
      test=develop
      c63f6b20
    • X
      Optimize INT8 DeQuantize Op with primitive reuse. · 70759d18
      xiaoli.liu@intel.com 提交于
      test=develop
      70759d18
  13. 25 2月, 2019 3 次提交
    • M
      Improve code reuse at MKL-DNN sum · 6ebe9877
      Michal Gallus 提交于
      test=develop
      6ebe9877
    • L
      Enable function coverage for U8/S8 ConvMKLDNNOpKernel · 4acc5220
      liangan1 提交于
      test=develop
      4acc5220
    • J
      [MKL-DNN] MKL-DNN specific Tensor modification (#15429) · dec9cf53
      Jacek Czaja 提交于
      * - Implemented draft of primitive desc keeping in Tensor
      
      test=develop
      
      - TransposeMKLDNNHandler::AcquireSrcMemory was reimplemented
      
      - Added nchw and nc formats setting for sake of compatiblity
      
      Fixed unit tests
      
      - Worakaround to problem with 5D data in conv
      
      - Added 3D and 1D MKL-DNN formats for name handles for tensor
      
      test=develop
      
      - Fix to UTs
      
      test=develop
      
      - Conv fp32 op was updated
      
      Cosmetic fixes
      
      test=develop
      
      - tensor mkldnn cosmetics
      
      test=develop
      
      - Moved most of mkl-dnn specific code from Tensor to mkl-dnn utils
      
      * - Lint fixes
      
      test=develop
      
      * - setting prim dec in Tensor , sets also layout to kMKLDNN
      
      test=develop
      
      * - Moved creation of prim desc totally out of Tensor
      
      test=develop
      
      * - Cosmetic fixes adter review
      
      test=develop
      dec9cf53
  14. 22 2月, 2019 1 次提交
  15. 21 2月, 2019 1 次提交
  16. 13 2月, 2019 1 次提交
  17. 29 1月, 2019 2 次提交