1. 28 9月, 2019 1 次提交
  2. 26 9月, 2019 1 次提交
  3. 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
  4. 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
  5. 23 9月, 2019 1 次提交
  6. 18 9月, 2019 1 次提交
  7. 11 9月, 2019 1 次提交
  8. 06 9月, 2019 1 次提交
  9. 03 9月, 2019 1 次提交
  10. 29 8月, 2019 1 次提交
  11. 26 8月, 2019 2 次提交
  12. 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
  13. 05 8月, 2019 1 次提交
  14. 01 8月, 2019 1 次提交
  15. 09 7月, 2019 1 次提交
  16. 28 6月, 2019 1 次提交
  17. 26 6月, 2019 1 次提交
  18. 20 6月, 2019 2 次提交
  19. 19 6月, 2019 2 次提交
  20. 18 6月, 2019 1 次提交
  21. 16 6月, 2019 1 次提交
  22. 15 6月, 2019 1 次提交
  23. 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
  24. 12 6月, 2019 1 次提交
  25. 10 6月, 2019 3 次提交
  26. 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
  27. 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
  28. 22 5月, 2019 1 次提交
  29. 08 5月, 2019 1 次提交
  30. 07 5月, 2019 1 次提交
  31. 06 5月, 2019 1 次提交
  32. 22 4月, 2019 1 次提交