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. 25 11月, 2019 1 次提交
  3. 05 11月, 2019 1 次提交
  4. 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
  5. 18 9月, 2019 1 次提交
  6. 28 6月, 2019 1 次提交
  7. 20 6月, 2019 1 次提交
  8. 18 6月, 2019 1 次提交
  9. 15 6月, 2019 1 次提交
  10. 13 6月, 2019 1 次提交
    • 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
  11. 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
  12. 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
  13. 06 5月, 2019 1 次提交
  14. 24 1月, 2019 1 次提交
  15. 23 1月, 2019 1 次提交
    • G
      [V1.3] Add the calibration tool code for int8 inference and focus test. (#15062) · dbdaf15c
      guomingz 提交于
      * Add the calibration tool code for int8 inference and focus test.
      
      * Fix the calibration tool per the review comments.
      
      test=develop
      
      * Update the calibrator doc and remove extra line.
      
      * Fix the invalid is_negative_input attr set on Mobilenet.
      
      * Add the comments and fix the format issue.
      
      test=develop
      
      * Update the CMakelist.txt for Calibration PR.Disable the Calibration UT if not enable MKLDNN.
      
      test=develop
      
      * Update the CMakeList.txt.
      
      test=develop
      
      * Disable the test_calibration case on WIN and MAC.
      
      test=develop
      
      * Add the missing brackets.
      
      test=develop
      
      * Remove the outdated map operator which not supported on Python3.
      
      test=develop
      
      * Fix the style issue.
      
      test=develop
      
      * 1.Update the CMakeList.txt to disable calibration tool ut when the WITH_MKL is not set;
      2.Add the workaround to enable the FLAGS_use_mkldnn for PR_CI(PADDLE).
      
      test=develop
      
      * Fix the typo and format the License header.
      
      test=develop
      
      * 1.Add and Update TODOs per review comments.
      2.Code clean.
      
      test=develop
      dbdaf15c
  16. 13 9月, 2018 1 次提交
  17. 05 9月, 2018 1 次提交
  18. 25 5月, 2018 1 次提交
  19. 15 5月, 2018 1 次提交
  20. 12 5月, 2018 1 次提交
    • J
      [Test-driven] Recognize Digit: update mnist test cases with the new API syntax. (#10507) · 177324b0
      Jeff Wang 提交于
      * Update the mnist test cases with the new API syntax.
      
      * Turn on the tests for MNIST
      
      * delete the test files got merged accidently.
      
      * Enable the mnist tests. ready for test driven development.
      
      * Comment out the infer first
      This is to confirm that the Trainer.train is working
      
      * Add CMake file to include the tests
      
      * Make the train program only return avg_cost for now
      
      * Update the tests to use the latest syntax
      177324b0
  21. 24 2月, 2018 1 次提交
  22. 01 2月, 2018 1 次提交
  23. 31 1月, 2018 1 次提交
  24. 24 1月, 2018 1 次提交
  25. 27 11月, 2017 1 次提交
  26. 14 11月, 2017 2 次提交
  27. 14 9月, 2017 1 次提交
  28. 13 9月, 2017 2 次提交
  29. 12 9月, 2017 1 次提交
  30. 11 9月, 2017 3 次提交
  31. 09 9月, 2017 1 次提交
  32. 08 9月, 2017 1 次提交
  33. 07 9月, 2017 3 次提交
  34. 06 9月, 2017 1 次提交