1. 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
  2. 19 3月, 2019 1 次提交
  3. 18 3月, 2019 1 次提交
    • 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
  4. 26 2月, 2019 1 次提交
    • 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
  5. 25 2月, 2019 2 次提交
    • 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
  6. 29 1月, 2019 1 次提交
  7. 21 1月, 2019 1 次提交
    • D
      Memory optimization of depthwise conv op and group norm op (#15313) · 9f8f0fc2
      Dun 提交于
      * mem opt
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine code  test=develop
      
      * refine with cub test=develop
      
      * fix mkldnn test && remove comments && test=develop
      
      * polish code && test=develop
      
      * add only_forward test && test=develop
      9f8f0fc2
  8. 10 1月, 2019 1 次提交
    • X
      Conv int8 residual (#15145) · 8f17c714
      xiaolil1 提交于
      * Enable basic MKL-DNN INT8 Conv OP
      test=develop
      
      * Modify test case
      test=develop
      
      * Clean unittest code
      test=develop
      
      * Fix test
      test=develop
      
      * Modify test
      test=develop
      
      * Enable MKL-DNN INT8 Conv with Relu Fusion OP
      test=develop
      
      * Enable INT8 Conv with residual fusion OP
      test=develop
      
      * Modify code.
      test=develop
      
      * Modify basic INT8 Conv
      test=develop
      
      * Modify Conv.
      test=develop
      
      * fix style
      test=develop
      
      * Fix style
      test=develop
      
      * Fix test
      test=develop
      
      * Modify code.
      test=develop
      
      * Fix test
      test=develop
      8f17c714
  9. 07 1月, 2019 1 次提交
    • X
      Conv int8 relu (#15130) · c8f101e5
      xiaolil1 提交于
      * Enable basic MKL-DNN INT8 Conv OP
      test=develop
      
      * Modify test case
      test=develop
      
      * Clean unittest code
      test=develop
      
      * Fix test
      test=develop
      
      * Modify test
      test=develop
      
      * Enable MKL-DNN INT8 Conv with Relu Fusion OP
      test=develop
      
      * Modify basic INT8 Conv
      test=develop
      
      * fix type
      test=develop
      
      * Modify test
      test=develop
      c8f101e5
  10. 04 1月, 2019 1 次提交
    • X
      Enable basic MKL-DNN INT8 Conv OP (#15124) · bbc93368
      xiaolil1 提交于
      * Enable basic MKL-DNN INT8 Conv OP
      test=develop
      
      * Modify test case
      test=develop
      
      * Clean unittest code
      test=develop
      
      * Fix test
      test=develop
      
      * Modify test
      test=develop
      
      * Modify basic INT8 Conv
      test=develop
      bbc93368
  11. 20 12月, 2018 1 次提交
  12. 07 12月, 2018 1 次提交
  13. 05 12月, 2018 1 次提交
  14. 03 12月, 2018 1 次提交
  15. 27 11月, 2018 1 次提交
    • J
      - conv2d transpose MKL-DNN · fb24690a
      Jacek Czaja 提交于
      test=develop
      
      - Added new header for MKLDNN reuse functionality
      
      - Extended conv2d_transpose GetExpectedKernelType for MKL-DNN supporrt
      
      - Buildable conv transpose mkldnn and conv mkldnn using conv template
      
      - Conv2d transpose roughlt implemented and buildable
      
      - Added modifications conv2d transpose MKLDNN unit tests
      
      - Fix to UT of conv2d transpose mkldnn op
      
      - Wrong type of MKLDNN primitive was chosen for conv2d transpose
      
      - HAcks for conv2d transpose
      
      - UT enalbed
      
      - Replaced copying loop with memcpy
      
      - Draft of passing lambda into AcquireMemory
      
      - Made reorder (IOHW->OIHW) to be called only once
      fb24690a
  16. 15 11月, 2018 1 次提交
    • S
      add mkldnn prop_kind phase for inference-only case to pooling and activations (#14278) · 8a1eeec5
      Sylwester Fraczek 提交于
      * add is_test to pooling and activations
      
      add prop_kind support for layers activation. conv and pooling
      
      add a pass that sets is_test to true
      
      add transpiler version of is_test pass
      
      test=develop
      
      * patch test and pass
      
      test=develop
      
      * add pass to analyzer.h
      
      test=develop
      
      * add is_test attr description & pass only on mkldnn
      
      in:
      activation_op.cc
      batch_norm_op.cc
      conv_op.cc
      dropout_op.cc
      lrn_op.cc
      pool_op.cc
      sequence_pool_op.cc
      softmax_op.cc
      
      * fix is_test handling for activation pool and conv
      
      * change description of is_test for all layers again
      
      * remove GetAttr(use_mkldnn) from pass
      
      * rename correct_mkldnn_test_phase to is_test
      
      and remove dependency on MKLDNN
      test=develop
      
      * review fix magic number
      
      * two if(..)s into one
      
      * Check is_test once and pass mkldnn forward prop kind
      
      * dereference shared_ptr with * (without get())
      
      test=develop
      
      * add is_test_pass back
      
      test=develop
      8a1eeec5
  17. 09 11月, 2018 1 次提交
  18. 08 11月, 2018 1 次提交
  19. 01 11月, 2018 1 次提交
  20. 31 10月, 2018 1 次提交
  21. 21 10月, 2018 6 次提交
  22. 29 9月, 2018 1 次提交
  23. 14 9月, 2018 1 次提交
  24. 13 9月, 2018 1 次提交
  25. 11 9月, 2018 3 次提交
  26. 10 9月, 2018 1 次提交
  27. 21 8月, 2018 1 次提交
    • M
      Fuse Convolution and Eltwise Add into MKLDNN's Conv+Bias (#12669) · cd32ddac
      Michał Gallus 提交于
      * Fuse Convolution and Eltwise Add into Conv+Bias
      
      * Reduce bias branching at conv_mkldnn_op
      
      * Add MKLDNN build checks for Conv Bias
      
      * Conv-bias: check if bias input exist befor assignment
      
      * Conv-bias: Remove Bias dim check from infershape
      
      It was causing conv3d test to crash upon\ncalling HasInput(Bias)
      cd32ddac
  28. 17 8月, 2018 2 次提交
  29. 09 8月, 2018 1 次提交
  30. 31 7月, 2018 1 次提交
  31. 13 7月, 2018 1 次提交