AIFollowers
fb1ae722d1
Fix model_stat importing in paddle/fluid/contrib
7 years ago
chengduo
bb80dae7d0
Add DecoupledWeightDecay ( #16427 )
...
* Add DecoupledWeightDecay
7 years ago
whs
73c4f2b7b6
Fix distillation for soft label. ( #16538 )
...
test=develop
7 years ago
Zhen Wang
4c1ec41de3
Merge pull request #16531 from wanghaoshuang/quan_ck
...
[slim] Fix checkpoint of quantization strategy.
7 years ago
AIFollowers
e18ab78f67
add model_stat.py ( #16512 )
...
* Add a tool to summary model's PARAMS, FLOPs in paddle/fluid/contrib.
7 years ago
wanghaoshuang
d41b623a72
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into quan_ck
...
test=develop
7 years ago
wanghaoshuang
6db7c2a500
Fix checkpoint of quantization.
7 years ago
Zhen Wang
f86429dbd9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_slim_quant_bugs
...
test=develop
7 years ago
whs
679a4c28fc
Fix lost of learning rate variable in distillatoin when using lr decay. ( #16471 )
...
test=develop
7 years ago
Zhen Wang
6b854f3e1f
fix the save_in_nodes bug.
7 years ago
Zhen Wang
183bacebe3
clean codes and fix some bugs. test=develop
7 years ago
Tao Luo
1b4e4e7ef7
Merge pull request #16453 from chuanqi129/calibration_readme_refine
...
Update INT8 calibration README
7 years ago
liuwei1031
8d22bc17a4
Memory optimize ( #16410 )
...
* fix cdn issue, test=develop
* fix memory optimize bugs, test=develop
* fix memory optimize bugs, test=develop
* remove add/sub_2 op, test=develop
* disable memory_optimize by default, test=develop
* disable inplace activation in python, test=develop
* fix unittests, test=develop
* fix unittests, test=develop
* bug-fix, test=develop
7 years ago
chuanqiw
c512516ff4
Update INT8 calibration README
...
test=develop
7 years ago
Zhen Wang
27d05203e7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_quan_hang
...
test=develop
7 years ago
Zhen Wang
1c11f817e9
Use the resolve hazard method.
7 years ago
Wang, Chuanqi
85e1cc1e02
Update Readme with new accuracy and performance data measured on 6271 ( #16437 )
...
* Update Readme with new accuracy and performance data measured on 6271
test=develop
* Modify tables and example command
test=develop
7 years ago
whs
e9bec9369b
[slim] Add quantization strategy and distillation strategy. ( #16408 )
...
* 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
7 years ago
Zhen Wang
2ccbfd5e10
Fix some bugs for quantization passes.
7 years ago
liuwei1031
de3b70a101
fix cdn issue, test=develop ( #16423 )
...
* fix cdn issue, test=develop
* fix cdn issue, test=develop
7 years ago
chuanqiw
431068c9ca
Enhance test calibration script on accuracy assert
...
test=develop
7 years ago
whs
2e5831f0dc
[slim] Refine framework of slim and add filter pruning strategy ( #16226 )
...
* First pr of paddle slim.
1. Add framework of paddle slim
2. Add filter pruning strategy
test=develop
* Rename unitest to tests.
test=develop
* Add prettytable into requirements.
test=develop
* Change in_nodes and out_nodes to odered dict.
test=develop
* Remove distillation.
test=develop
* Fix API.spec
test=develop
* Fix unitest.
test=develop
* Fix unitest in windows.
test=develop
* Fix unitest in windows.
test=develop
* Fix unitest.
test=develop
* Hide some functions.
test=develop
* Fix python import in python3.5
test=develop
* Fix compress pass.
test=develop
* Fix unitest of test_dist_ctr.
test=develop
* Enhence flops.
* use os.path.join
* Fix pickle for python3
Fix log and comments.
test=develop
* 1. Remove feed_reader in compress pass
2. Fix cache reader
3. Rename CompressPass to Compressor
4. Add comments for distiller optimizer
5. Remove unused pruner currently
6. Add some comments.
7. Change API.spec
test=develop
* Fix pruning in python3.
test=develop
* Fix unitest in python3.
test=develop
* Fix format in python3.
test=develop
7 years ago
Zhen Wang
ec11135d54
Merge pull request #16341 from wzzju/add_channel_wise_in_quant_pass
...
Add channel wise in quant pass.
7 years ago
Zhen Wang
8965819fbb
rewrite the cuda kernels of channel_wise_quant_op and channe_wise_dequant_op. test=develop
7 years ago
Zhen Wang
ec88b6cc5a
add channel wise quantization in ir pass.
7 years ago
tangwei12
8ea4218ce1
update load persistables for increment, test=develop ( #15576 )
...
* update load persistables for increment, test=develop
* update load persistables for increment, test=develop
* update API Spec, test=develop
* update API Spec, test=develop
* add doc, test=develop
* add doc, test=develop
* Update lookup_table_utils.py
* Update API.spec
* Update lookup_table_utils.py
test=develop
* Update API.spec
test=develop
* fix api spec
* Update lookup_table_utils.py
test=develop
7 years ago
achao2013
81b4fad8b9
add moving average absmax op and fix bug ( #15155 )
...
* Add moving average absmax op in quantilize-aware training.
7 years ago
Zhen Wang
41b8cf0bae
Merge pull request #16162 from wzzju/fix_nan_static_quant
...
Fix NaN bugs for static quantization strategy (mutil-cards train).
7 years ago
Zhen Wang
b8d1f5038e
Add the executor test for the graph clone API. test=develop
7 years ago
Zhen Wang
4ab0607634
fix NaN bugs.
7 years ago
Zhen Wang
ac6ef06ffa
Add the Clone method in Graph. test=develop
7 years ago
Zhen Wang
1b9c8d5f06
add clone function for IrGraph. test=develop
7 years ago
Zhen Wang
3cf0ee414d
update some details. test=develop
7 years ago
Zhen Wang
0cb50bb983
avoid ce fails on windows.
7 years ago
Zhen Wang
7c8f7df2fe
add some op_des funs to IrOpNode and add some var_des funs to IrVarNode. test=develop
7 years ago
Zhen Wang
33f99d6197
add IrNode&IrVarNode&IrOpNode. test=develop
7 years ago
Zhang, Guoming
e5d3d7c63d
resolve #15724
...
1.Remove the code for setting mkldnn environment in the test_calibration.py;
2.Update the cmake file for MKLDNN environment enabling;
3.Update the INT8 inference doc.
test=develop
7 years ago
Zhen Wang
bc95a4ccfe
Merge branch 'develop' into quantization_inference_passes
7 years ago
sneaxiy
7e399b0628
rename
...
test=develop
7 years ago
sneaxiy
42f6d0f899
modify API.spec
...
test=develop
7 years ago
sneaxiy
f85245b409
test=develop
7 years ago
WangZhen
28dfad5e27
fix some bugs about python3. test=develop
7 years ago
WangZhen
2175292634
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into quantization_inference_passes
...
test=develop
7 years ago
WangZhen
a7efab7ec1
add comments for public API. test=develop
7 years ago
Haihao Shen
b5ebca47a3
Add INT8 calibration README ( #15548 )
...
* Add calibration README; test=develop
7 years ago
Haihao Shen
1b8047b712
Add INT8 calibration support in Paddle package ( #15569 )
...
* Add INT8 calibration support in Paddle package; test=develop
7 years ago
Haihao Shen
294d594450
Enable performance measurement in INT8 calibration unit test ( #15560 )
...
* Enable performance measurement in INT8 calibration unit test
7 years ago
WangZhen
0db41a9c44
add op_role attr when creating op node.
7 years ago
WangZhen
c67b29c178
fix some bugs of graph.to_program and get_pass.
7 years ago
Haihao Shen
f82515800c
Enable INT8 Calibration Unit Test for MobileNet-V1 ( #15539 )
...
* Enable mobilenet UT in separate test class; use download cache by paddle download utility and cache unzip; and fix typo; test=develop
* Extract cache_unzipping function for reuse; format code style; test=develop
* Simplify the test code by define a combined function for both downloading and unzipping; test=develop
7 years ago