A differentiable quantization framework for PyTorch, fixed for compatibility with Python 3.11 and newer. This library provides differentiable quantization-aware training with custom quantizers and gradient approximations. Version 0.2.4 is current; no regular release cadence.
pip install diffq-fixedNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a DiffQuantizer wrapping a model, run a training step.
Use 'from diffq import DiffQuantizer' instead of 'from diffq_fixed import ...'
Re-train or re-quantize models using diffq-fixed from scratch, or check the release notes for any conversion tools.
Change import to: from diffq import DiffQuantizer
Ensure you pass the model to DiffQuantizer constructor: quantizer = DiffQuantizer(model, ...)