Commit Graph

144 Commits (abb49df26fe32e2cd73d1c709480f58412c810ae)

Author SHA1 Message Date
Bai Yifan bd8b0ebaba fix distiller typo, test=develop (#21070)
6 years ago
juncaipeng 2c07727fb0
delete test resnet50 in post train quantization to avoid timeout error, test=develop (#21081)
6 years ago
juncaipeng fa522dffa0
Fix bug in add_quant_dequant_pass, test=develop (#21018)
6 years ago
juncaipeng 175ba39c03
Add post_training_quantization (#20800)
6 years ago
Bai Yifan fd5321b3f3 modify slim print precision to round(,6), test=develop (#20833)
6 years ago
whs fa67e6e83e
Fix unitest of pruning in python3 env. (#20825)
6 years ago
bingyanghuang fd49ebcbd8 update int8 benchmark with 6271 data, test=develop test=document_fix (#20736)
6 years ago
juncaipeng f201b465ec
Move pool2d to add_quant_dequant_pass, test=develop (#20586)
6 years ago
Bai Yifan ffec9195e4
soft_label_distiller fix, test=develop (#20645)
6 years ago
Liufang Sang bc4af386f4 [PaddleSlim] refine slim reader to support dataloader (#20604)
6 years ago
bingyanghuang a5f530a8f9 Update QAT MKL-DNN readme doc (#20029)
6 years ago
Liufang Sang 86c2c362ae fix fuse_reduce_op quantization bug (#20306)
6 years ago
Michał Gallus 540935a825 [Bug-fix][1.6] Improve QAT accuracy (#20174)
6 years ago
xiteng1988 3785f08f68 fix next_tokens of controller (#20060)
6 years ago
bingyanghuang 9de6772510 Follow comment of Merged QAT PR 18970 (#19979)
6 years ago
Bai Yifan 28a559de12
fix PyReader._iterable usage, test=develop (#20045)
6 years ago
whs 3ea2b661c0
Make PaddleSlim support PyReader (#19995)
6 years ago
Wojciech Uss 4286a6270d Add support for new QAT models (#18970)
6 years ago
jhjiangcs 766bd529d1 add optimizer:dpsgd,test=develop (#19915)
6 years ago
whs bdb3e376d0
[PaddleSlim] Enhence compressor api in PaddleSlim (#19894)
6 years ago
juncaipeng b0ceed6fb4
add fake_quant_dequant_op for average pool2d, test=develop (#19880)
6 years ago
Bai Yifan e2c6bada36 Support dispensable student_loss in PaddleSlim distillation (#19824)
6 years ago
Bai Yifan aa63d5ac6d Make the distillation process not save teacher variables in PaddleSlim (#19633)
6 years ago
Chen Weihang 73daa3d6c0
Code Cleanup: delete three useless raw variables in Conv2D (#19644)
6 years ago
whs 1c2aae567a
Skip start epoch and end epoch when dumping strategy in PaddleSlim (#19580)
6 years ago
lidanqing ba368bf696 clean up intel labeled TODOs (#19476)
6 years ago
Leo Chen 6fb310ae29 Fix bug of getting bool Flags from os.environ (#19349)
6 years ago
liu zhengxi 32598ffd8f
Python infer api update and add unit test (#19353)
6 years ago
Jiancheng Li 1799c257ad Update Light-NAS to support latency-aware search (#19050)
6 years ago
Zhen Wang 0fe72469ea
Add the max-pool2d quantization support and the partial quantization support. (#19310)
6 years ago
chengduo 01c7daade7
Add checking for the fetch_list of Executor.run (#18957)
6 years ago
whs c92b78b060
Fix unitest of light nas. (#18931)
6 years ago
bingyanghuang a25be53cb5 QAT int8 MKL-DNN transformation pass with MUL (#18322)
6 years ago
Wojciech Uss 8ed819d8e4 Call the test_slim_int8_* tests through absolute path (#18386)
6 years ago
whs 1bdfd2eb85
Fix checkpoint of Light-NAS (#18330)
6 years ago
Wojciech Uss 36b60e240a Enable MKL-DNN for slim FP32 vs. INT8 tests (#18214)
6 years ago
bingyanghuang 976cf46010 slim QAT MKL-DNN readme (#18187)
6 years ago
翟飞跃 802ea50956 fix spelling errors (#17941)
6 years ago
翟飞跃 78441c5449 add mkldnn Int8v2 slim doc (#17909)
6 years ago
翟飞跃 c2fb9b906a change dirname mobilenet to mobilenetv1 (#18160)
6 years ago
Wojciech Uss ca5642c850 unify FP32 vs. INT8 comparison tests output (#18111)
6 years ago
Sylwester Fraczek accb132f0f fix slim int8 mkldnn multithreading issue (#18009)
6 years ago
chengduo b5a1c1463d
Update CPU_NUM config (#18059)
6 years ago
Wojciech Uss 78e932862c Added unit test for QAT FP32 & INT8 comparison (#17814)
6 years ago
Kaipeng Deng 96ee528e3e
fix logging basicConfig cannot be setting after import paddle (#17786)
6 years ago
whs 82bfa0a5ba
Enhence auto pruning and fix save/load graph when using py_reader
6 years ago
bingyanghuang 90ebce9ead QAT int8 MKL-DNN transformation pass (#17819)
6 years ago
翟飞跃 209a3f4e09 add log into slim mkldnn int8 test (#17926)
6 years ago
whs 5df65e506d
Add Ligth-NAS for PaddleSlim (#17679)
6 years ago
翟飞跃 993c703bcc INT8 MKL-DNN v2 integrate to slim (#17634)
6 years ago
Zhen Wang 3398f99608
Adding AddQuantDequantPass for TensorRT int8 (#17529)
6 years ago
Zhen Wang 65541d83b0
add scale pass for calculating the output scales.test=develop (#17259)
6 years ago
Zhen Wang a40121e4c8
fix the initialization process error. test=develop (#17213)
6 years ago
wopeizl 06325c4de1
disable the test_distillation_strategy temporarily (#17227)
6 years ago
Zhen Wang bf6b9d6d37 add checkpoint functions for graph. test=develop
6 years ago
whs 486f7d8ed6
Restore quantization and distillation stategy before loading persistables. (#16958)
6 years ago
whs 73c4f2b7b6
Fix distillation for soft label. (#16538)
6 years ago
wanghaoshuang d41b623a72 Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into quan_ck
6 years ago
wanghaoshuang 6db7c2a500 Fix checkpoint of quantization.
6 years ago
Zhen Wang f86429dbd9 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_slim_quant_bugs
6 years ago
whs 679a4c28fc
Fix lost of learning rate variable in distillatoin when using lr decay. (#16471)
6 years ago
Zhen Wang 6b854f3e1f fix the save_in_nodes bug.
6 years ago
Zhen Wang 183bacebe3 clean codes and fix some bugs. test=develop
6 years ago
liuwei1031 8d22bc17a4
Memory optimize (#16410)
6 years ago
Zhen Wang 27d05203e7 Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_quan_hang
6 years ago
Zhen Wang 1c11f817e9 Use the resolve hazard method.
6 years ago
whs e9bec9369b
[slim] Add quantization strategy and distillation strategy. (#16408)
6 years ago
Zhen Wang 2ccbfd5e10 Fix some bugs for quantization passes.
6 years ago
whs 2e5831f0dc
[slim] Refine framework of slim and add filter pruning strategy (#16226)
6 years ago
Zhen Wang 8965819fbb rewrite the cuda kernels of channel_wise_quant_op and channe_wise_dequant_op. test=develop
6 years ago
Zhen Wang ec88b6cc5a add channel wise quantization in ir pass.
6 years ago
achao2013 81b4fad8b9 add moving average absmax op and fix bug (#15155)
6 years ago
Zhen Wang 41b8cf0bae
Merge pull request #16162 from wzzju/fix_nan_static_quant
6 years ago
Zhen Wang b8d1f5038e Add the executor test for the graph clone API. test=develop
6 years ago
Zhen Wang 4ab0607634 fix NaN bugs.
6 years ago
Zhen Wang ac6ef06ffa Add the Clone method in Graph. test=develop
6 years ago
Zhen Wang 1b9c8d5f06 add clone function for IrGraph. test=develop
6 years ago
Zhen Wang 3cf0ee414d update some details. test=develop
6 years ago
Zhen Wang 0cb50bb983 avoid ce fails on windows.
6 years ago
Zhen Wang 7c8f7df2fe add some op_des funs to IrOpNode and add some var_des funs to IrVarNode. test=develop
6 years ago
Zhen Wang 33f99d6197 add IrNode&IrVarNode&IrOpNode. test=develop
6 years ago
WangZhen 28dfad5e27 fix some bugs about python3. test=develop
6 years ago
WangZhen a7efab7ec1 add comments for public API. test=develop
6 years ago
WangZhen 0db41a9c44 add op_role attr when creating op node.
6 years ago
WangZhen c67b29c178 fix some bugs of graph.to_program and get_pass.
6 years ago
WangZhen c64f22048a add convert_to_int8 pass and transform_for_mobile pass and their UTs.
6 years ago
WangZhen c8095eeb82 add freeze pass, and UT is passed.
6 years ago
WangZhen dde19a0ff8 add quantization freeze pass.
6 years ago
WangZhen 3b668c1574 Update some comments in the quantization transform pass. test=develop
6 years ago
WangZhen b913463e83 Update according to the reviewers' suggestion. test=develop
6 years ago
WangZhen 59e5cc51d6 Add quantization transform pass and UT.
6 years ago
WangZhen e2ff300b02 add UT for quantization.
7 years ago
WangZhen 451896fce4 init quantization.
7 years ago
whs 938705745e
Init paddle slim (#14834)
7 years ago