Setup MQBench

1. Install

MQBench only depend on PyTorch 1.8.1, following or use requirements file to install.

1cd /path_of_mqbench              # change dir to MQBench
2pip install -r requirements.txt  # install MQBench dependencies
3python install          # install MQBench

2. Validate

Validate by executing following with no errors.

1python -c 'import mqbench'

3. Uninstall

Remove MQBench by executing following shell script.

1pip uninstall mqbench

You have done setup of MQBench, check Quick Start – Deploy Just in 4 Lines or check Quick Start – Embrace Best Research Experience to get started with MQBench.