#264264th of 433 in ML frameworks and libraries
compressai
PyTorch library for learned image and video compression research
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts compressai on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.compressai is on your watch list. Its new releases and problems show there.
- Stars
- 1.7k
- License
- BSD-3-Clause-Clear
- Last commit
- Oct 2026
- Language
- Python
1,564 on 6 May 20261,666 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
CompressAI is a PyTorch library with custom layers, operations and models for end-to-end learned compression, plus a partial port of TensorFlow compression. It ships pre-trained learned image compression models, a training script with a rate-distortion loss, and evaluation tools that compare models against classical codecs such as BPG, VTM and x265. Video support is limited to ssf2020.
Who it is for: Researchers building and benchmarking learned image and video codecs
Strengths
- Pre-trained image models and a model zoo for rate-distortion comparison
- Benchmark scripts for BPG, VTM and x265 baselines next to learned models
- Training example supports multi-GPU DDP via torchrun, for image and video
- Installable from PyPI with wheels for Linux and macOS
Weaknesses
- Video support covers only the ssf2020 model
- Multi-GPU support is marked experimental
- No Docker images; Conda environments not officially supported
- Source builds need a C++17 compiler
What it needs
- GPU optional
- Docker
- Needs PyTorch 1.7+, Python 3.8+, C++17 compiler (source build), matplotlib (plotting)
- Models: ssf2020, learned image compression models (model zoo)
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #262 | tsaiPyTorch and fastai library for time series classification and forecasting | 48 out of 100 |
| #263 | braxJAX physics engine and RL training library for massively parallel simulation | 48 out of 100 |
| #265 | finnCompiler that turns quantized neural networks into FPGA dataflow accelerators | 48 out of 100 |
| #266 | gsplatCUDA library for rasterizing 3D Gaussians with PyTorch bindings | 47 out of 100 |
| #267 | probabilityProbabilistic modeling and Bayesian inference library for TensorFlow and JAX | 47 out of 100 |