How is the support for quantization in MXNet?


How is the support for quantization in MXNet? I am trying to find a better framework than TensorLite because its support is abysmal.

Are the quantization methods available here ( only for research and experimentation purpose? Or will it lead to actual speed increase when deployed in mobile? There is no time comparison made so I presume it is just for research and experimentation?


Hi @yxchng,

For quantization:

For faster performance, you can also look at pruning, we released some pruned resnet in the gluon-cv model zoo in the latest release: you can see up to 8x speedup with some accuracy lost.


What about performance on mobile not PC? @ThomasDelteil


Pruning will lead to performance improvement on PC and mobile, quantization support for mobile performance improvement (non intel CPU or nvidia GPU) is not available at the moment as far as I know. However I would recommend looking at deep learning compiler like TVM for compiling your model to your specific platform (arm CPU for example).


You can read about int8 quantization for intel CPU here:


@ThomasDelteil Thanks. I am actually only concerned with the performance on mobile. There is no point in optimizing performance for PC because compute is easily available.