Skip to main content

LLM-zipper: know before you compress

PyPI Python CI License

Know before you compress. LLM-zipper is an open-source framework for cheaper, faster, energy-efficient LLMs. It predicts how much a model shrinks, and at what quality cost, before you spend the compute.

We are AIDA (AI in Dynamic Action), a research group led by Dr. habil. Pavel Osinenko. We work on making large models cheaper and faster to run:

  • KV-cache compression
  • LLM acceleration
  • memory-efficient RAG
  • RL for adaptive inference
  • fine-tuning, tensorization and more

New LLM-zipper modules arrive together with our papers, so each one brings both the theory and working code.

A data center with its own nuclear plant, zipped down to a laptop and one GPU at home
Our goal: take LLMs from data-center scale down to a rig you can run at home.

Install

pip install llm-zipper
llm-zipper --version

Roadmap

LLM-zipper grows one module at a time. Every module follows the same contract: scan predicts how compressible a part of the model is, compress applies a method, and evaluate measures what it cost.

Module Status
KV-cache compression across layers, heads and context lengths in development
Theory of LLM tensorizability in development
Efficient fine-tuning in development
Memory-efficient RAG in development
RL for adaptive inference in development

Development

git clone https://github.com/aidagroup/LLM-zipper.git && cd LLM-zipper
uv sync                     # package + dev tools
uv run pre-commit install   # lint and format on every commit
uv run pytest

To release, bump __version__ in src/llm_zipper/__init__.py, merge to main, then push a matching tag such as v0.1.0. GitHub Actions builds the package and publishes it to PyPI.

Citation

If LLM-zipper helps your research, please cite it with the metadata in CITATION.cff. On GitHub, use Cite this repository.

License

Apache-2.0

Metadata

Release files for llm-zipper 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-zipper 0.0.1
File Size Uploaded
llm_zipper-0.0.1.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-zipper 0.0.1
File Interpreter ABI Platform
llm_zipper-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / llm_zipper-0.0.1.tar.gz

Download URL llm_zipper-0.0.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c71e6548cae268c91b5664c242c8c93daea23aecdde9f1e22ff6f5da58d84eca
BLAKE2b-256 checksum
How to use checksums
e8858ba0f79ef6434809b8de825ef230f2c0f7b5f0ae4df52c1ee9e9e12c7675
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 Oct 11, 2026.

Transparency log

Release files / llm_zipper-0.0.1-py3-none-any.whl

Download URL llm_zipper-0.0.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b4db716a77ec089e59e3e26192f23272fcfca5e604b8eb462ef2411a5f8c084
BLAKE2b-256 checksum
How to use checksums
46bb7bb1071ebf26aa677d280841756533848be918110afb8f03a6b422651f3a
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 Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page