dynquant-core
The pure-Python half of DynQuant: training-dynamics-driven mixed-precision LLM quantization.
Most users should pip install dynquant, which adds the prebuilt CUDA kernels.
Install dynquant-core directly when you want the quantization pipeline without
any binary dependency — CPU-only machines, Windows, macOS, ARM, and CI.
What is in here
dynquant.signals— the training-time hook and the stats file formatdynquant.graph— architecture-generic module role classificationdynquant.quant— group-wise n-bit packing and the quantizer driverdynquant.runtime— backend selection and the packedLineardynquant.cli— thedynquantcommand, includingdynquant doctor
Everything except inference speed works with no compiler and no GPU. The
reference (torch) backend dequantizes to compute, so it saves no memory and is
not fast — but it is the oracle the CUDA kernels are tested against, and it is
what makes quantizing a checkpoint possible on a laptop.
Install
pip install dynquant-core # quantize anywhere
pip install 'dynquant-core[hf]' # + transformers, accelerate
pip install 'dynquant-core[train]' # + peft, trl, datasets
pip install 'dynquant-core[dev]' # + pytest, ruff, mypy, docs
License
Apache-2.0.
Release files for dynquant-core 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dynquant_core-0.5.3.tar.gz | 421.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dynquant_core-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 914.4 kB
Release files / dynquant_core-0.5.3.tar.gz
| Download URL | dynquant_core-0.5.3.tar.gz |
|---|---|
| Size | 421.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f5f9c0c5b6fb290f11a4793e908ba5d2a68ec3ca0d396d04c543cfc8d27ffca
|
|
BLAKE2b-256 checksum How to use checksums |
3a4974cf2a22617bdae06fc4595f898a1363886ce7bfbf852268173a7f17dfd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logRelease files / dynquant_core-0.5.3-py3-none-any.whl
| Download URL | dynquant_core-0.5.3-py3-none-any.whl |
|---|---|
| Size | 493.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bb8b1567c45d2a763d160d4057d40d6209d0edbd16f644d1326d50796affd86
|
|
BLAKE2b-256 checksum How to use checksums |
95a7d7b5c0ba190c265933ce39d86f59216a09c1b2cc223d9309246c4ec721c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency log