calib

Modules

modelopt.torch.quantization.calib.calibrator

Abstract base class for calibrators.

modelopt.torch.quantization.calib.histogram

Histogram based calibrators.

modelopt.torch.quantization.calib.max

Calibrator that returns the absolute max of all collected tensors.

Calibrator classes.

modelopt.torch.quantization.calib provides Calibrator classes that collect data statistics and determine modelopt.torch.quantization parameters.