Implementation for Non-Uniform Step Size Quantization for Accurate Post-Training Quantization (ECCV 2022)
- Python v3.6
- PyTorch 1.7.1
- CUDA 11.1 with cuDNN 8 (We use NVIDIA GeForce RTX 3090 GPU)
./run_ptq.sh [DATASET_PATH] [WBIT] [GPU_ID]
./test_ptq.sh [DATASET_PATH] [MODEL_FILE_PATH] [GPU_ID]
- Currently, we support only single GPU mode.
- Our codes are based on implementation: https://github.com/yhhhli/BRECQ (Copyright (c) 2021 Yuhang Li, under MIT License).
- Please refer to the files: NOTICE.md, BRECQ-LICENSE