turboquant-mlx
turboquant-mlx packages a small MLX-oriented reference implementation of the
TurboQuant building blocks described in arXiv:2504.19874:
- orthogonal rotations
- scalar codebooks
- polar quantization for keys and values
- a 1-bit QJL sketch
- outlier channel handling
Installation
python -m pip install turboquant-mlx
For development:
python -m pip install -e ".[dev]"
pytest
Runtime requirements
The package depends on mlx and therefore targets Apple Silicon macOS
environments where MLX is supported. The test suite uses a lightweight stub for
mlx.core so package logic can still be validated in environments where the
Metal runtime is unavailable.
Package contents
Rotation: fast Walsh-Hadamard or dense QR rotationsCodebook: scalar quantization codebooks and persistence helpersPolarQuant: key/value encode-decode helpersSplitTurboQuant: paper-style mixed-precision split quantization for 2.5/3.5-bit setupsQJL: 1-bit quantized Johnson-Lindenstrauss sketchOutlierHandler: EMA-based outlier channel selection for routing channels into the higher-bit split quantizer
Metadata
Release files for turboquant-mlx 0.1.0
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 |
|---|---|---|---|---|
| turboquant_mlx-0.1.0.tar.gz | 11.1 kB | Without provenance | Details for turboquant_mlx-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| turboquant_mlx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for turboquant_mlx-0.1.0-py3-none-any.whl |
Total release size: 20.3 kB
Release files / turboquant_mlx-0.1.0.tar.gz
| Download URL | turboquant_mlx-0.1.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4b899fda39f14955b8ace2f5e78348038272d68ce20e048fbd9497f942ce011
|
|
BLAKE2b-256 checksum How to use checksums |
af02cb31e021417c8e949aee089b93057b689b376d7d54716788da7ff48e6e3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / turboquant_mlx-0.1.0-py3-none-any.whl
| Download URL | turboquant_mlx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12589a77aea87f7d1046123a1c5d9cd8dfcaa3693adfaa924ea0990d784949a1
|
|
BLAKE2b-256 checksum How to use checksums |
d25b9e8635664626ff5851fd831da05f314b882d3ea0f7a4468bfb37cae138a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for turboquant-mlx 0.1.0
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.