AutoAWQ Kernels
AutoAWQ Kernels is a new package that is split up from the main repository in order to avoid compilation times.
Requirements
-
Windows: Must use WSL2.
-
NVIDIA:
- GPU: Must be compute capability 7.5 or higher.
- CUDA Toolkit: Must be 11.8 or higher.
-
AMD:
- ROCm: Must be 5.6 or higher. Build from source
Install
Install from PyPi
The package is available on PyPi with CUDA 12.4.1 wheels:
pip install autoawq-kernels
Build from source
To build the kernels from source, you first need to setup an environment containing the necessary dependencies.
Build Requirements
- Python>=3.8.0
- Numpy
- Wheel
- PyTorch
- ROCm: You need to install the following packages
rocsparse-dev hipsparse-dev rocthrust-dev rocblas-dev hipblas-dev.
Building process
pip install git+https://github.com/casper-hansen/AutoAWQ_kernels.git
Notes on environment variables:
TORCH_VERSION: By default, we build using the current version of torch bytorch.__version__. You can override it withTORCH_VERSION.CUDA_VERSIONorROCM_VERSIONcan also be used to build for a specific version of CUDA or ROCm.
CCandCXX: You can specify which build system to use for the C code, e.g.CC=g++-13 CXX=g++-13 pip install -e .COMPUTE_CAPABILITIES: You can specify specific compute capabilities to compile for:COMPUTE_CAPABILITIES="75,80,86,87,89,90" pip install -e .
Metadata
Release files for autoawq-kernels 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 160.5 MB
Release files / autoawq_kernels-0.0.9-cp312-cp312-win_amd64.whl
| Download URL | autoawq_kernels-0.0.9-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f259e7c60b11fa0689bb337dd4456319787256cbd2a8e4a491f01b51bb6c43d1
|
|
BLAKE2b-256 checksum How to use checksums |
dca32a1966f685a980c1ad5662f92a1aa1a84608fb376b534301330487fc1db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp312-cp312-manylinux2014_x86_64.whl
| Download URL | autoawq_kernels-0.0.9-cp312-cp312-manylinux2014_x86_64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4c41a71af1d5a75e52c9833b9c48237b04d3b0eee26d712fc1b074af9135afc8
|
|
BLAKE2b-256 checksum How to use checksums |
4aef613310287e009d35b740b76b96913ea87e5522d7f91845bf817d4ed0abd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp311-cp311-win_amd64.whl
| Download URL | autoawq_kernels-0.0.9-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8c7f2404b3aa448ff77872dd6ba2963ce8b685d8aa73ef65fd1b8bc85d92b17d
|
|
BLAKE2b-256 checksum How to use checksums |
8658093d5cd5d48f82aeb29ab0dcf76c3ed1a636c2c249ab517773190cb77a67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | autoawq_kernels-0.0.9-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fe800a6538691afaa77abe7c8b2b0a121351843f048d54e11d617d604dcba48f
|
|
BLAKE2b-256 checksum How to use checksums |
4eb0e9f7142e58e5539892cb0558e9a24d894f095a9904b4014f892a43c39229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp310-cp310-win_amd64.whl
| Download URL | autoawq_kernels-0.0.9-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cd7d3db501068b3a12094a07921d985a57e640725cdda1252d4b135ed6aeaa65
|
|
BLAKE2b-256 checksum How to use checksums |
2e35471f80543e31aef5097b037cc9626a47a0edb20311c3951060673cc83868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | autoawq_kernels-0.0.9-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 37.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ed8f4d744df21beae445efb1de54061bffc5fccbfefc8ae65c1dc10d08f90052
|
|
BLAKE2b-256 checksum How to use checksums |
98a6c48cf823c2d29731ae262a05e17d317165df7bef68a486e5840405b70cc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp39-cp39-win_amd64.whl
| Download URL | autoawq_kernels-0.0.9-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 2.7 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6ad12dd68b0932182678f2f9fbee87452707b81f0e8dad242d23af018358f030
|
|
BLAKE2b-256 checksum How to use checksums |
3b6062b1ff1406dd4fdd90ad8dce840f8e4c19f01b755cad86d6498e55dfa373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / autoawq_kernels-0.0.9-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | autoawq_kernels-0.0.9-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 37.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b6baf039c22deb02f2ae194fdd77551b3c85c8f8a77b749f7caa17dacf986adb
|
|
BLAKE2b-256 checksum How to use checksums |
45bb4554a1b3cf0d29acf8ef449e875ae24c6935d68858876b0ec44a2fd4c2e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for autoawq-kernels 0.0.9
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.