1. 28 11月, 2019 2 次提交
    • 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
    • L
      1840c165
  2. 26 11月, 2019 1 次提交
  3. 25 11月, 2019 2 次提交
  4. 20 11月, 2019 2 次提交
  5. 16 11月, 2019 1 次提交
  6. 08 11月, 2019 1 次提交
  7. 06 11月, 2019 1 次提交
  8. 05 11月, 2019 1 次提交
  9. 20 10月, 2019 1 次提交
  10. 16 10月, 2019 1 次提交
  11. 15 10月, 2019 1 次提交
  12. 11 10月, 2019 1 次提交
  13. 26 9月, 2019 1 次提交
  14. 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
  15. 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
  16. 23 9月, 2019 1 次提交
  17. 18 9月, 2019 1 次提交
  18. 11 9月, 2019 1 次提交
  19. 06 9月, 2019 1 次提交
  20. 26 8月, 2019 1 次提交
  21. 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
  22. 09 7月, 2019 1 次提交
  23. 28 6月, 2019 1 次提交
  24. 20 6月, 2019 2 次提交
  25. 19 6月, 2019 2 次提交
  26. 18 6月, 2019 1 次提交
  27. 16 6月, 2019 1 次提交
  28. 15 6月, 2019 1 次提交
  29. 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
  30. 12 6月, 2019 1 次提交
  31. 10 6月, 2019 2 次提交
  32. 07 6月, 2019 1 次提交
    • W
      Add Ligth-NAS for PaddleSlim (#17679) · 5df65e50
      whs 提交于
      * Add auto pruning strategy.
      1. Fix compressor.
      2. Enhence graph executor.
      3. Add SAController
      4. Add auto pruning strategy.
      5. Add unitest for auto pruning strategy.
      test=develop
      
      * Init light-nas
      
      * Add light nas.
      
      * Some fix.
      test=develop
      
      * Fix sa controller.
      test=develop
      
      * Fix unitest of light nas.
      test=develop
      
      * Fix setup.py.in and API.spec.
      test=develop
      
      * Fix unitest.
      1. Fix unitest on windows.
      2. Fix package importing in tests directory.
      
      * 1. Remove unused comments.
      2. Expose eval_epoch option.
      3. Remove unused function in search_agent.
      4. Expose max_client_num to yaml file.
      5. Move flops constraint to on_epoch_begin function
      test=develop
      
      * Fix light nas strategy.
      test=develop
      
      * Make controller server stable.
      test=develop
      
      * 1. Add try exception to compressor.
      2. Remove unitest of light-nas for windows.
      test=develop
      
      * Add comments
      Enhence controller
      test=develop
      
      * Fix comments.
      test=develop
      5df65e50