model_compression.rst 1006 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#################
Model Compression
#################

NNI provides an easy-to-use toolkit to help user design and use compression algorithms.
It supports Tensorflow and PyTorch with unified interface.
For users to compress their models, they only need to add several lines in their code.
There are some popular model compression algorithms built-in in NNI.
Users could further use NNI's auto tuning power to find the best compressed model,
which is detailed in Auto Model Compression.
On the other hand, users could easily customize their new compression algorithms using NNI's interface.

For details, please refer to the following tutorials:

..  toctree::
QuanluZhang's avatar
QuanluZhang committed
16
17
    :maxdepth: 2

18
    Overview <Compressor/Overview>
Scarlett Li's avatar
Scarlett Li committed
19
    Quick Start <Compressor/QuickStart>
QuanluZhang's avatar
QuanluZhang committed
20
21
    Pruners <pruners>
    Quantizers <quantizers>
Scarlett Li's avatar
Scarlett Li committed
22
    Model Speedup <Compressor/ModelSpeedup>
23
    Automatic Model Compression <Compressor/AutoCompression>
Cjkkkk's avatar
Cjkkkk committed
24
    Implementation <Compressor/Framework>
Ningxin Zheng's avatar
Ningxin Zheng committed
25
    Compression Utilities <Compressor/CompressionUtils>