1. 16 10月, 2019 2 次提交
  2. 15 10月, 2019 1 次提交
  3. 11 10月, 2019 2 次提交
  4. 10 10月, 2019 1 次提交
    • M
      [Bug-fix][1.6] Improve QAT accuracy (#20174) · 540935a8
      Michał Gallus 提交于
      * Leave fake quantization around mul
      
      * Replace Fake with Real Quantized Mul
      
      * Gather all scales from fake_quantize_ops
      
      * Enable uint8 in conv_relu tensors
      
      * Disable int8 mul and restore fake mul
      
      * Fix buf for running QAT on VGG16 and 19
      540935a8
  5. 30 9月, 2019 1 次提交
  6. 28 9月, 2019 2 次提交
  7. 26 9月, 2019 1 次提交
  8. 25 9月, 2019 1 次提交
    • W
      Add support for new QAT models (#18970) · 4286a627
      Wojciech Uss 提交于
      * Add support for new QAT models
      
      test=develop
      Co-Authored-By: NMichał Gallus <michal.gallus@intel.com>
      Co-Authored-By: NWojciech Uss <wojciech.uss@intel.com>
      
      * fixed fps results
      
      test=develop
      
      * fix top5 accuracy drop problem
      
      * updated for new QAT models
      
      * skip quantizing average pooling - dirty but working
      
      * add missing pass
      
      * added missing conv+brelu fuse pass
      
      * removed a call to non-existent pass
      
      test=develop
      
      * renamed pass
      
      test=develop
      
      * Adjust finding pooling scale to newest QAT models
      
      * Remove unnecessary code from quantization_mkldnn_pass
      
      * Copy Pooling input scale to output scale in QAT
      
      * Refactor & remove unused code in QAT
      
      * Incorporate fp32 FC into QAT
      
      test=develop
      
      * Enable graph drawing with debug flag
      
      test=develop
      
      * Add tests for QATv2
      
      * Fix paths for QATv2 models
      
      test=develop
      
      * Add option to save transformed int8 qat model
      
      test=develop
      
      * Remove redundant lines from qat mkldnn pass
      
      test=develop
      
      * Delegate disablement of avg pooling to qat
      
      test=develop
      
      * fix CI bug, test=develop
      
      * Follow Wangzhen's Review, test=develop
      
      * Update API.spec
      
      test=develop
      
      * Name False in (is_unsigned, TensorScale) tuple
      
      test=develop
      4286a627
  9. 24 9月, 2019 2 次提交
    • J
      add optimizer:dpsgd,test=develop (#19915) · 766bd529
      jhjiangcs 提交于
      766bd529
    • W
      [PaddleSlim] Enhence compressor api in PaddleSlim (#19894) · bdb3e376
      whs 提交于
      
      1. Support customize eval function instead of eval program.
      2. Fix loading checkpoint in quantization strategy.
      3. Support saving eval model when saving a checkpoint.
      4. Fix decoder of loading context in PaddleSlim.
      5. Fix restoring from the checkpoint of uniform prune strategy.
      6. Support saving eval model and infer model during training.
      7. Add ‘unitest’ for saving eval model, saving infer model and uniform pruning restoring from the checkpoint.
      8. Fix pruning of depthwise_conv_grad op by updating the groups.
      bdb3e376
  10. 23 9月, 2019 1 次提交
  11. 18 9月, 2019 1 次提交
  12. 11 9月, 2019 1 次提交
  13. 06 9月, 2019 1 次提交
  14. 03 9月, 2019 1 次提交
  15. 29 8月, 2019 1 次提交
  16. 26 8月, 2019 2 次提交
  17. 23 8月, 2019 2 次提交
    • J
      Update Light-NAS to support latency-aware search (#19050) · 1799c257
      Jiancheng Li 提交于
      * update light_nas_strategy: add latency constraint
      
      test=develop
      
      * update light_nas_strategy: update get_model_latency
      
      test=develop
      
      * update light_nas_strategy: add more check
      
      test=develop
      
      * update light_nas test
      
      test=develop
      
      * update light_nas test
      
          test=develop
      
      * minor update light_nas test
      
          test=develop
      
      * minor update light_nas test
      
      test=develop
      
      * update light_nas test
      
      test=develop
      
      * update _constrain_func of light_nas_strategy
      
      test=develop
      
      * update _constrain_func of light_nas_strategy
      
      test=develop
      
      * remove unused code
      
      test=develop
      1799c257
    • Z
      Add the max-pool2d quantization support and the partial quantization support. (#19310) · 0fe72469
      Zhen Wang 提交于
      * add pool2d quantization support, only for max-pooling.
      
      * add the partial quantization support.
      0fe72469
  18. 05 8月, 2019 1 次提交
  19. 01 8月, 2019 1 次提交
  20. 09 7月, 2019 1 次提交
  21. 28 6月, 2019 1 次提交
  22. 26 6月, 2019 1 次提交
  23. 20 6月, 2019 2 次提交
  24. 19 6月, 2019 2 次提交
  25. 18 6月, 2019 1 次提交
  26. 16 6月, 2019 1 次提交
  27. 15 6月, 2019 1 次提交
  28. 13 6月, 2019 2 次提交
    • C
      Update CPU_NUM config (#18059) · b5a1c146
      chengduo 提交于
      * update CPU_NUM config
      test=develop
      b5a1c146
    • W
      Added unit test for QAT FP32 & INT8 comparison (#17814) · 78e93286
      Wojciech Uss 提交于
      * added unit test for QAT FP32 & INT8 comparison
      
      test=develop
      
      * enabled other models and updated filenames
      
      test=develop
      
      * added accuracy check and multiple batch handling
      
      test=develop
      
      * removed quantization_mkldnn_pass.py
      
      test=develop
      
      * cleanup
      
      test=develop
      
      * updated model paths
      
      test=develop
      
      * renamed tests without MKL-DNN
      
      test=develop
      
      * fix reusing mkldnn pool2d primitive
      
      test=develop
      
      * add performance measuring
      
      test=develop
      
      * fix accuracy statistics
      
      test=develop
      
      * removed non-mkldnn tests
      
      test=develop
      
      * added conv2d_depthwise->conv2d mkldnn transformation
      
      test=develop
      
      * format update
      
      test=develop
      
      * fixed creating key for pool2d grad
      
      test=develop
      
      * added pass
      
      * Fix the accuracy issue while using float precision to get the scale.
      
      test=develop
      
      * Fix the format issue when 'X' is not nchw.
      
      test=develop
      
      * removed output comparing and changed number of images
      
      test=develop
      
      * cmake and comment fix
      
      test=develop
      
      * updated acc threshold for QAT comparison tests
      
      test=develop
      
      * added OMP_NUM_THREADS setting
      
      test=develop
      
      * enable all QAT INT8 tests
      
      test=develop
      
      * restored upstream version of a file
      
      test=develop
      
      * modified directory names
      
      test=develop
      78e93286
  29. 12 6月, 2019 1 次提交
  30. 10 6月, 2019 2 次提交