Rare find

Vector Quantize. Compress data into a smaller set of patterns, useful for AI image and music generation.

github.com/lucidrains/vector-quantize-pytorch

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

July 2026
  • release FSP and a fix to latent quantizer
  • Merge pull request #251 from Horikitasaku/master
  • Merge pull request #250 from zhai-lw/master
  • fix: LatentQuantize crashes at init when num_codebooks > 1
  • add Finite Scalar Perturbation (FSP) from VP-VAE
  • cleanup the diveq + residual vq integration
  • release diveq integration with residual vq, contributed by @MHVali
  • Merge pull request #249 from MHVali/master
  • add diveq to residual_vq
  • add diveq to residual_vq
June 2026
  • Merge pull request #248 from thehalleyyoung/fix/autoencoder-fvq-syntax
  • Fix SyntaxError in examples/autoencoder_fvq.py (missing comma)
May 2026
  • 1.29.1
  • Merge pull request #247 from mahdip72/fix/autograd-safe-codebook-mask
  • fix(codebook): avoid in-place mask update
  • cite and release
  • Merge pull request #246 from mahdip72/draft/hq-fashionmnist-example
  • incorporate some changes to DivEq from @MHVali from https://github.co…
April 2026
  • feat: add hierarchical quantization example draft
  • feedback from the author of DiVeQ
March 2026
  • add ability to do a random rotation before scalar quantization, inspi…
  • make binary mapper policy optimizable
  • build
February 2026
  • Release —1.27.21
  • Merge pull request #242 from lucidrains/test-fvq
  • make sure tests is the optimal vq bridge
  • make sure to assert out invalid config
  • Merge branch 'master' into test-fvq
  • polish up autoencoder fvq with the best config found by @mahdip72
January 2026
  • Release —1.27.20