1. 25 8月, 2022 1 次提交
  2. 23 8月, 2022 3 次提交
  3. 22 8月, 2022 2 次提交
  4. 17 8月, 2022 1 次提交
    • N
      [CodeStyle][NPU] use np.testing.assert_allclose instead of... · 2de0d676
      Nyakku Shigure 提交于
      [CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988)
      
      * autofix
      
      * try resolve precision issues
      
      * revert some changes
      
      * clean some `err_msg`
      
      * 0.0001 -> 1e-4
      
      * update commented assert code
      
      * try to fix some shape errors
      
      * `numpy` -> `np`
      
      * empty commit, trigger kunlun ci, test=kunlun
      
      * empty commit, retrigger kunlun ci, test=kunlun
      
      * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun
      
      * try fix npu import error, test=kunlun
      2de0d676
  5. 12 8月, 2022 1 次提交
  6. 11 8月, 2022 1 次提交
    • H
      add new ptq method ptf (#44246) · f4bc69ec
      handiz 提交于
      * add new ptq method ptf
      
      * add post training quantization mobilenetv1 test for ptf
      
      * add post training quantization mobilenetv1 test for ptf test=allcases
      f4bc69ec
  7. 05 8月, 2022 1 次提交
  8. 03 8月, 2022 3 次提交
  9. 01 8月, 2022 1 次提交
  10. 21 7月, 2022 1 次提交
  11. 14 7月, 2022 1 次提交
  12. 12 7月, 2022 1 次提交
  13. 11 7月, 2022 1 次提交
  14. 06 7月, 2022 1 次提交
  15. 05 7月, 2022 1 次提交
  16. 28 6月, 2022 1 次提交
  17. 27 6月, 2022 1 次提交
  18. 24 6月, 2022 1 次提交
  19. 23 6月, 2022 1 次提交
    • S
      [external reviewing] Params to int8 pass (#42625) · b8b2d6a9
      Sylwester Fraczek 提交于
      * sylwek
      
      prototype params to int8 pass
      
      * trying to make warmup work
      
      * wip
      
      * wip
      
      * change test to cpp test
      
      * review fixes, refactoring
      
      * more refactoring
      
      * add erasevars
      
      * change test to fixture
      
      * rename pass
      
      and reorder erasevars and graphsaferemovenodes
      
      * fix
      
      * more refactoring and fixed bug
      
      * formatting
      
      * remove scale count
      
      * enfroce message too short
      
      * remove erasevars
      
      erasevars couldbe cauuse of memory issues
      
      some other fixes
      
      * add count of successfull fuses to name of new nodes
      
      * FindVar -> GetVar and use ConvResidual pattern
      
      * use tensor->clear() instead of new variable
      
      * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * Update paddle/fluid/framework/ir/mkldnn/params_quantization_mkldnn_pass_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * Update paddle/fluid/inference/tests/api/analyzer_lexical_analysis_gru_tester.cc
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      
      * add log (review fix)c
      
      * review fix (2 functions to one)
      
      * code review: Conv->QuantizeConv
      
      * revert
      
      * fix formatting
      
      * remove unused functions
      
      * add paddle enforce
      Co-authored-by: NTomasz Socha <tomasz.socha@intel.com>
      b8b2d6a9
  20. 21 6月, 2022 2 次提交
  21. 16 6月, 2022 1 次提交
  22. 14 6月, 2022 1 次提交
  23. 13 6月, 2022 1 次提交
  24. 07 6月, 2022 2 次提交
  25. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  26. 04 6月, 2022 1 次提交
  27. 31 5月, 2022 1 次提交
  28. 25 5月, 2022 1 次提交
    • M
      Dynamic graph support to Automatic SParsity. (#41177) · e5fc68b2
      Ming-Xu Huang 提交于
      * Dynamic graph support to Automatic SParsity.
      
      1. Added dynamic support to ASP module (paddle.fluid.contrib.sparsity).
      2. Added ASP related unit-tests regards to above changes.
      3. Put ASP module under paddle.static for now, waiting for APIs confirmation from Paddle.
      
      * Modified documents of functions to have correct examples.
      
      * Update in_dygraph_mode to paddle.in_dynamic_mode()
      
      * Modified documents of functions and added comments
      
      * Minor changes.
      
      * Fix example errors in asp API.
      
      * Code Change for Review
      
      1. Added more examples in documents.
      2. Chaged test_asp_pruning_static.
      
      * Minor changes
      
      * Update ASP function documents.
      
      * Update ASP function documents.
      
      * Reduce test case size of asp pruning due CI time limit.
      
      * Update time limitation to some asp UTs.
      
      * Fix sample code errors.
      
      * Fix sample code errors.
      
      * Fix sample code errors.
      
      * Update time limitation to parts of ASP UTs.
      
      * Update UTs to fit with CI.
      
      * Reduce problem size in python/paddle/fluid/tests/unittests/asp/test_fleet_with_asp_dynamic.py
      
      * Added paddle.asp
      
      * Fixed type casting error of OpRole.Optimize in new dygraph mode.
      
      * Made set_excluded_layers be compatible with 2.2
      
      * Fix example code of calculate_density.
      
      * Update code examples.
      
      * Move paddle.asp to paddle.incubate.asp
      
      * Fixed an example error of calculate_density
      e5fc68b2
  29. 12 5月, 2022 1 次提交
  30. 11 5月, 2022 1 次提交
    • Z
      Move weights and biases scale computing into pass (#42241) · c0652972
      Zuza Gawrysiak 提交于
      * Add int8 scales gathering pass for convolution
      
      * Fix typo
      
      * Add unittest
      
      * Add corrected unit test
      
      * Change test name
      
      * Remove enabling mkldnn in test
      
      * Speed up test
      
      * Change max examples
      
      * Add functional test
      
      * Change test name
      
      * Add new test case
      
      * Rename pass
      c0652972
  31. 10 5月, 2022 1 次提交
    • P
      Rea-dd conv_affine_channel fuse pass as oneDNN only pass (#41998) · 3540d33b
      piotrekobi 提交于
      * Readd conv_affine_channel fuse pass as mkldnn pass
      
      * Fix formatting
      
      * Add new test to parallel_UT_rule.py
      
      * Fix Coverage and Windows CI issues
      
      * Revert "Fix Coverage and Windows CI issues"
      
      This reverts commit f33459846385c9fd51c07f9f44e7ff283a652637.
      
      * Fix CI errors
      
      * Remove unnecessary conv_eltwise_add_affine_channel fuse pass
      
      * Remove test from parallel_UT_rule.py
      3540d33b
  32. 04 5月, 2022 2 次提交