v1.1.0
AXQuant v1.1.0 adds GPTQ Hessian error-compensated quantization and completes the AWQ calibration path end to end. Certification remains evidence-gated; this release does not claim certified public model releases.
Added
- GPTQ (
src/axquant/gptq.py) — classic second-order error compensation (damped Cholesky, LazyBatchUpdates) as a weight pre-transform before portable MLX-LM affine packing; bits 2/3/4/6/8, group sizes 32/64/128. Registered asGptqPluginin the numpy reference registry. capture-activations— new pipeline stage that replays a verified tokenized calibration cache through the BF16 model and records per-module Linear input activations into a checksum-boundActivationCaptureManifest(axquant.activation-capture.v1).load_capture_activationsfails closed on model identity, shape, or checksum drift.- Measured AWQ/GPTQ probing —
analyze --methods awq,gptq --calibration-activations <dir>produces measured AWQ/GPTQ candidates, with hardware costs normalized against the affine packing control. - Convert-time AWQ/GPTQ from the CLI —
convert --calibration-activations <dir>loads the capture artifact and executes refinement before affine packing, with per-module execution records. This makes AWQ plans convertible end to end for the first time. - Planner integration — GPTQ in the default hardware profile,
gptq-hessianscale strategy, role-policy ranking after AWQ for attention/MLP, GPTQ in therefine-awq-dwqladder, and a GPTQ release-audit evidence kind.
Changed
- The conversion calibration mapping is method-agnostic:
convert_model(awq_activations=...)is renamed tocalibration_activations=and shared by AWQ and GPTQ. - MLX probe backend version bumped (
axquant-mlx-isolated-probe-v4→v5); prior probe resume state is invalidated. - Packaging classifier reconsidered for the 1.x line: Beta is kept, as certified Hub model release evidence (MTP speed, size floors) remains open.
Verification
- 516 tests passing, including MLX-gated end-to-end coverage of capture, measured AWQ/GPTQ probing, and GPTQ conversion;
ruff check,ruff format --check, and strictmypy srcclean. - On synthetic correlated-activation fixtures, GPTQ reduces output reconstruction error by roughly half versus plain RTN at 4-bit.