1. 17 9月, 2019 1 次提交
  2. 14 9月, 2019 1 次提交
  3. 12 9月, 2019 1 次提交
  4. 10 9月, 2019 1 次提交
  5. 03 9月, 2019 1 次提交
  6. 01 9月, 2019 1 次提交
    • J
      [MKL-DNN] Refactoring Softmax (#19312) · cef95ee3
      Jacek Czaja 提交于
      * - First set of modifications
      
      - Compilation fixes
      
      - compilation fix
      
      - Another compilation fix
      
      - Moved AcquireSoftmaxPrimitiveDescriptor call into handler
      
      - MKL-DNN Softmax PD refactor
      
      test=develop
      
      - Compilation fix
      
      test=develop
      
      - another compilation fix
      
      - cosmetcis
      
      test=develop
      
      - Compilation fix
      
      - Fix to crash when softmax backward is created
      
      * - Fixes after review of softmax refactoring
      
      test=develop
      cef95ee3
  7. 30 8月, 2019 1 次提交
    • J
      [MKL-DNN] Fix to face model on AVX512 platforms (#19282) · ecd9f330
      Jacek Czaja 提交于
      - Refactor step 1
      
      - Compilation fix
      
      - Yet another compilation fix
      
      - Even more compilation fix
      
      - Lint fixes
      
      test=develop
      
      - Removed deprectaed PADDLE_ENFORCE occurance
      
      test=develop
      
      - Candidate fix to BN forward
      
      - Lint fixes
      
      test=develop
      
      - Refactoring in data_layout_transform
      
      - compilation fix
      
      - Another comppilation fix
      
      - Step further into darkness
      
      - Yet another compilation fix
      
      - Yet another compilation fix
      
      - missing header
      
      - compilation fix
      
      - Added MKLDNN -> Paddle conversion in fetch op
      
      test=develop
      
      - Compilation fix
      
      test=develop
      
      - Lint
      
      test=develop
      
      - Mul fix
      
      - Fix to MKLDNN MUL op and Elementwise MUL UT
      
      test=develop
      
      - Workaround for diffrent weights with groups representation Paddle vs
        MKL-DNN.
      
      test=develop
      
      - Candidate fix for 5D convolution with groups
      
      - Refactor of fix for conv3d and conv2d in fetch op
      
      test=develop
      
      - Compilation fix
      
      - Still same compilation fix
      
      - Compilation fix
      
      - Compilation fix
      
      - Reverted refactoring of fixes
      
      - Adapted test_conv2d_int8_mkldnn so it exects data in NCHW format
        not NHWC
      
      test=develop
      
      - minor fix in UT
      
      test=develop
      
      - Lint fixes
      
      test=develop
      ecd9f330
  8. 15 8月, 2019 1 次提交
  9. 01 8月, 2019 1 次提交
  10. 30 7月, 2019 1 次提交
  11. 25 7月, 2019 1 次提交
  12. 23 7月, 2019 1 次提交
    • J
      [MKL-DNN] Extended LRN with reusing via Acquire API (#18675) · 95c1816e
      Jacek Czaja 提交于
      test=develop
      
      - compileation fix
      
      - Yet another compilation fix
      
      - Even yet another compilation fix
      
      - Surprise! Again compilation fix
      
      - lint fixes
      
      test=develop
      
      - Fix to workspace acquire of LRN
      
      test=develop
      
      - Fix to hash of BWD LRN
      
      test=develop
      
      - fix to lrn BWD PD acquire
      
      test=develop
      
      - Fixing LRN PD creation
      
      test=develop
      
      - cosmetic fix in comment
      
      test=develop
      
      - Fixes after review
      
      test=develop
      95c1816e
  13. 19 7月, 2019 1 次提交
  14. 16 7月, 2019 1 次提交
    • J
      [MKL-DNN] Reimplemented pool2d mkl-dnn to use Acquire API (#18585) · 71d883b8
      Jacek Czaja 提交于
      * - Added partial draft of pooling acquire
      
      - Workspace support
      
      - compilation fix
      
      - Added draft of pooling backward reimplementation
      
      - Segfault fix
      
      - reverted 'any' for diff_dst crewation in pooling
      
      - Lint fixes
      
      test=develop
      
      - lint fixes
      
      test=develop
      
      - Further lint fixes
      
      test=develop
      
      * - Fixes after review
      
      test=develop
      
      * - Lint fixes
      
      test=develop
      
      * - Even more lint fixes
      
      test=develop
      71d883b8
  15. 10 7月, 2019 1 次提交
  16. 09 7月, 2019 1 次提交
  17. 02 7月, 2019 1 次提交
  18. 01 7月, 2019 1 次提交
  19. 28 6月, 2019 1 次提交
  20. 27 6月, 2019 1 次提交
    • J
      [MKL-DNN] Extending reusing to Elementwise_add_mkldnn op (#18146) · c2efdfd5
      Jacek Czaja 提交于
      * - Reusing of reuder used in elementwise_add_mkldnn
      
      - Added MKL-DNN sum prim reusing
      
      test=develop
      
      - Compilation fixes
      
      test=develop
      
      - Yet another compilation fix
      
      test=develop
      
      - Yet another compilation fix
      
      test=develo
      
      - Yet another linking fix
      
      test=develop
      
      - Final compilation fix
      
      test=develop
      
      - lint fixes
      
      test=develop
      
      - Lint fixes
      
      test=develop
      
      * - Fixes after review
      
      test=develop
      c2efdfd5
  21. 11 6月, 2019 1 次提交
    • J
      [MKL-DNN] Thread-Safety for MKL-DNN reusing Part 1 (#17965) · 84bb45c0
      Jacek Czaja 提交于
      * - removed is_reusing_
      
      * - Added TID to keys for reusing apart from softmax PD
      
      * - compilation fix
      
      * - Yet another compilation fix
      
      * - Batch Norm and Conv adapted
      
      * - Fix to softmax MT
      
      * - Fixes to MT code of MKL-DNN
      
      * - Lint fixes
      
      test=develop
      84bb45c0
  22. 10 6月, 2019 1 次提交
  23. 04 6月, 2019 1 次提交
  24. 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
  25. 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
  26. 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
  27. 27 2月, 2019 1 次提交
    • X
      INT8 Pool kernel Key Creation Optimization. (#15883) · 6724be2b
      xiaolil1 提交于
      * Optimize key creation of INT8 pool kernel to improve the peformance of ResNet-50 and MobileNet, especially for latency.
      test=develop
      
      * Optimize key creation of pool fp32 grad.
      test=develop
      6724be2b
  28. 25 2月, 2019 1 次提交
    • 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
  29. 22 2月, 2019 1 次提交
  30. 23 1月, 2019 1 次提交
  31. 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
  32. 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
  33. 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
  34. 24 12月, 2018 1 次提交
  35. 19 12月, 2018 1 次提交
  36. 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