Ahead-of-time compilation toolkit
Project description
AOKit
Ahead-of-time compilation toolkit
aokit is a lightweight set of tools sitting on top of PyTorch ahead-of-time compilation APIs (e.g. torch.export.export and torch._inductor.aot*) to help organize, package, and distribute AoT artifacts within the Hugging Face ecosystem.
Extending PyTorch AOTInductor, aokit provides:
- Regional compilation: compiles and loads individual submodules independently, with support for dynamic weight swapping even after quantization (e.g. with
torchao) - Weight-less packaging: produces lightweight, composable, and reusable artifacts while decoupling graph and weights management
- ZeroGPU compatibility: leverages lazy execution for seamless integration
kernelsintegration: automatically packages and loads required kernels (coming soon)
Installation
pip install aokit
Quickstart
Coming soon
API documentation
Coming soon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aokit-0.1.1.tar.gz.
File metadata
- Download URL: aokit-0.1.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93558a0f2e4ad16b478667eadf7b66ecd46bc43680249dafb1b54fe4d4a18742
|
|
| MD5 |
57b85b694fe842eafdaeac138be56f8d
|
|
| BLAKE2b-256 |
48e7a80f42302c1979a7f20db3f39247b11a572f49efb9eaad0fccd97c2e4df5
|
Provenance
The following attestation bundles were made for aokit-0.1.1.tar.gz:
Publisher:
release.yml on huggingface/aokit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aokit-0.1.1.tar.gz -
Subject digest:
93558a0f2e4ad16b478667eadf7b66ecd46bc43680249dafb1b54fe4d4a18742 - Sigstore transparency entry: 1668781833
- Sigstore integration time:
-
Permalink:
huggingface/aokit@7dba174c605634dab06d10466d67977d1870191e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/huggingface
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7dba174c605634dab06d10466d67977d1870191e -
Trigger Event:
release
-
Statement type:
File details
Details for the file aokit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aokit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bbd449bb5372e8c86d32b74e670c2b366f76000b9500e921c9b11f00958217f
|
|
| MD5 |
297d0c7f96582a255f61e637a95624e5
|
|
| BLAKE2b-256 |
f93c135172b6f2695418915ef74fb0fcd04006622c3c8c9b024d658b7d5ea5d3
|
Provenance
The following attestation bundles were made for aokit-0.1.1-py3-none-any.whl:
Publisher:
release.yml on huggingface/aokit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aokit-0.1.1-py3-none-any.whl -
Subject digest:
2bbd449bb5372e8c86d32b74e670c2b366f76000b9500e921c9b11f00958217f - Sigstore transparency entry: 1668781939
- Sigstore integration time:
-
Permalink:
huggingface/aokit@7dba174c605634dab06d10466d67977d1870191e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/huggingface
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7dba174c605634dab06d10466d67977d1870191e -
Trigger Event:
release
-
Statement type: