1. 28 11月, 2019 1 次提交
    • L
      Fp32 vs int8 qat C++ performance (#21244) · c0aa1367
      lidanqing 提交于
      * add ut for comparing FP32 and QAT INT8
      
      * add save qat transformed model python script
      test=develop
      
      * updated
      
      * added missing file
      
      * add "with_label"
      test=develop
      
      * performance benchmark as unit test
      test=develop
      
      * change names of unnecessary thing
      
      * Change CMakeList.txt for model downloading and UT
      test=develop
      
      * change names of functions and params for more readable code
      test=develop
      
      * Change PADDLE_ENFORCE messages
      test=develop
      
      * fix indent problems
      test=develop
      
      * indent problems
      test=develop
      c0aa1367
  2. 26 11月, 2019 1 次提交
  3. 25 11月, 2019 1 次提交
  4. 20 11月, 2019 1 次提交
  5. 16 11月, 2019 1 次提交
  6. 14 11月, 2019 1 次提交
  7. 06 11月, 2019 1 次提交
  8. 05 11月, 2019 1 次提交
  9. 16 10月, 2019 1 次提交
  10. 11 10月, 2019 1 次提交
  11. 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
  12. 28 9月, 2019 1 次提交
    • B
      Follow comment of Merged QAT PR 18970 (#19979) · 9de67725
      bingyanghuang 提交于
      * Follow Wangzhen's comment in PR 18970, test=develop
      
      * Review comments, test=develop
      
      * Leave fake quantization around mul
      
      test=develop
      
      * Replace Fake with Real Quantized Mul
      
      test=develop
      
      * Fix bug in quantize placement pass
      
      Nodes in the graph now have checked type instead of node name when they are to be marked for quantization test=develop
      9de67725
  13. 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
  14. 24 9月, 2019 1 次提交
    • 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
  15. 23 9月, 2019 1 次提交
  16. 29 8月, 2019 1 次提交
  17. 26 8月, 2019 1 次提交
  18. 23 8月, 2019 1 次提交
  19. 09 7月, 2019 1 次提交
  20. 19 6月, 2019 1 次提交
    • fix spelling errors (#17941) · 802ea509
      翟飞跃 提交于
      * fix spelling errors; test=develop
      
      * Update API.spec
      
      update md5
      
      * Update API.spec
      
      * change the order of api;test=develop
      802ea509
  21. 12 6月, 2019 1 次提交
  22. 10 6月, 2019 1 次提交
  23. 06 6月, 2019 1 次提交
    • INT8 MKL-DNN v2 integrate to slim (#17634) · 993c703b
      翟飞跃 提交于
      * refactor PR 16865
      
      * delete mergetool files
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * test=develop
      
      * create dir for int8 model before call SaveOptimModel
      
      * test=develop
      
      * mkldnn int8 only support linux; test=develop
      
      * refine code; test=develop
      
      * remove comment; test=develop
      
      * refine code; test=develop
      
      * fix bug; test=develop
      
      * add exception for mkldnn_post_training_strategy
      
      * reuse int8v2 CAPI dataset; test=develop
      
      * fix accuracy check bug; test=develop
      
      * remove tab
      
      * convert files to unix format
      
      * test=develop
      
      * reduce CI time;test=develop
      
      * reduce CI time and refine code;test=develop
      
      * refine comment; test=develop
      
      * add cmake FLAGS;test=develop
      
      * remove predict_num;test=develop
      993c703b
  24. 22 5月, 2019 1 次提交
  25. 08 5月, 2019 1 次提交
  26. 07 5月, 2019 1 次提交
  27. 18 4月, 2019 1 次提交
  28. 29 3月, 2019 1 次提交
  29. 28 3月, 2019 1 次提交
  30. 27 3月, 2019 2 次提交
  31. 26 3月, 2019 2 次提交
    • Z
      Use the resolve hazard method. · 1c11f817
      Zhen Wang 提交于
      1c11f817
    • W
      [slim] Add quantization strategy and distillation strategy. (#16408) · e9bec936
      whs 提交于
      * Add fsp operator.
      1 Add unitest.
      2. Add python API.
      3. Add layer test.
      
      * Add quantization strategy.
      1. Add API.
      2. Add unitest.
      
      * Add distillatoin strategy.
      
      * Add unitest config file for quantization
      
      * Fix Copyright
      test=develop
      
      * Fix setup.py
      
      * Fix document of layers.py.
      test=develop
      
      * Fix unitest in python3.
      test=develop
      
      * Fix documents.
      test=develop
      
      * 1. refine fsp op by batched gemm
      2. remove unused import
      test=develop
      
      * Fix test_dist_se_resnext.
      1. disable test distillation.
      2. reset framework.py
      test=develop
      
      * Enable unitest of distillation after fixing Block._clone_variable
      test=develop
      
      * Fix cdn issue.
      test=develop
      e9bec936
  32. 25 3月, 2019 1 次提交
  33. 21 3月, 2019 1 次提交
  34. 19 3月, 2019 1 次提交
  35. 15 3月, 2019 1 次提交
  36. 25 2月, 2019 2 次提交
  37. 31 1月, 2019 1 次提交