#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.

Stars
1.7k
License
BSD-3-Clause-Clear
Last commit
Oct 2026
Language
Python
Stars, last 29 weeks+102
6 May 2026: 1,564 stars13 May 2026: 1,570 stars20 May 2026: 1,577 stars27 May 2026: 1,579 stars3 Jun 2026: 1,583 stars10 Jun 2026: 1,586 stars17 Jun 2026: 1,589 stars24 Jun 2026: 1,592 stars1 Jul 2026: 1,595 stars8 Jul 2026: 1,600 stars15 Jul 2026: 1,602 stars22 Jul 2026: 1,609 stars29 Jul 2026: 1,614 stars5 Aug 2026: 1,615 stars12 Aug 2026: 1,617 stars19 Aug 2026: 1,620 stars26 Aug 2026: 1,627 stars2 Sept 2026: 1,632 stars9 Sept 2026: 1,634 stars16 Sept 2026: 1,638 stars23 Sept 2026: 1,641 stars30 Sept 2026: 1,643 stars7 Oct 2026: 1,644 stars14 Oct 2026: 1,647 stars21 Oct 2026: 1,650 stars28 Oct 2026: 1,653 stars4 Nov 2026: 1,655 stars11 Nov 2026: 1,660 stars18 Nov 2026: 1,663 stars25 Nov 2026: 1,666 stars

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
Also in ML frameworks and libraries
RankProjectScore
#262tsaiPyTorch and fastai library for time series classification and forecasting6.2k starsApache-2.048 out of 100
#263braxJAX physics engine and RL training library for massively parallel simulation Live demo ↗ (opens in a new tab)3.3k starsApache-2.048 out of 100
#265finnCompiler that turns quantized neural networks into FPGA dataflow accelerators1.1k starsBSD-3-Clause48 out of 100
#266gsplatCUDA library for rasterizing 3D Gaussians with PyTorch bindings6k stars+128 (+2.2%) in 30 daysApache-2.047 out of 100
#267probabilityProbabilistic modeling and Bayesian inference library for TensorFlow and JAX4.4k starsApache-2.047 out of 100