Atom Quant
Atom Quant AKA: aq is a easy quantization lib supports most decent and fashion quantization method through torch.fx. Unlike original pytorch fx quantization support, we add a fully deploy chain from PTQ and QAT quantization to exporting onnx and then shiping to target inference framework.
atomquant can be easily use to quant any model without a specific dataloader or evaluator, you can even evaluator quantization performance without any GT.
We also support different quantization from vendor package, such as onnxruntime, pytorch_quantization, make it more easy to use and with fully examples.
There are 3 main components in atomquant:
- onnx: directly quantize on onnx model (via onnxruntime);
- atom: Our built-in quantization method;
- tensorrt: Quantization specific for convert to TensorRT engine usage;
Install
atomquant can be installed via:
pip install atomquant
Model Zoo
Here, we provide some models quantized for coco, it devided into CPU use, or TensorRT use. Related training code also available:
Examples
-
Quant Classification
-
Quant GPT3
-
Quant VITS
-
Quant AlphaPose
-
Quant YOLOv7
Metadata
Release files for atomquant 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atomquant-0.0.1.tar.gz | 1.9 kB | Without provenance | Details for atomquant-0.0.1.tar.gz |
Release files / atomquant-0.0.1.tar.gz
| Download URL | atomquant-0.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a82ab4d973b50d54fb3664f045f705dd96c736c8e4edfcbe8d4d0f773212a1d
|
|
BLAKE2b-256 checksum How to use checksums |
e7d9bda26c00612087767a3aaec57b50f87be27dd0de7117e180701fed7eea74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7
|
Security for atomquant 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.