vector-quantize-pytorch 1.22.2__tar.gz → 1.22.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/PKG-INFO +2 -2
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/README.md +1 -1
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/pyproject.toml +1 -1
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/residual_vq.py +2 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.github/workflows/build.yml +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.github/workflows/python-publish.yml +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.github/workflows/test.yml +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.gitignore +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/LICENSE +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_fsq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_lfq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_sim_vq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/images/fsq.png +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/images/lfq.png +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/images/simvq.png +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/images/vq.png +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/ruff.toml +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/tests/test_latent_quantization.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/tests/test_lfq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/tests/test_readme.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/__init__.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/finite_scalar_quantization.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/latent_quantization.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/lookup_free_quantization.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/random_projection_quantizer.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/residual_fsq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/residual_lfq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/residual_sim_vq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/sim_vq.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/utils.py +0 -0
- {vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/vector_quantize_pytorch.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vector-quantize-pytorch
|
|
3
|
-
Version: 1.22.
|
|
3
|
+
Version: 1.22.3
|
|
4
4
|
Summary: Vector Quantization - Pytorch
|
|
5
5
|
Project-URL: Homepage, https://pypi.org/project/vector-quantize-pytorch/
|
|
6
6
|
Project-URL: Repository, https://github.com/lucidrains/vector-quantizer-pytorch
|
|
@@ -324,7 +324,7 @@ This repository should also automatically synchronizing the codebooks in a multi
|
|
|
324
324
|
|
|
325
325
|
<img src="./images/simvq.png" width="400px"></img>
|
|
326
326
|
|
|
327
|
-
A <a href="https://arxiv.org/abs/2411.02038">new
|
|
327
|
+
A <a href="https://arxiv.org/abs/2411.02038">new paper</a> proposes a scheme where the codebook is frozen, and the codes are implicitly generated through a linear projection. The authors claim this setup leads to less codebook collapse as well as easier convergence. I have found this to perform even better when paired with <a href="https://arxiv.org/abs/2410.06424">rotation trick</a> from Fifty et al., and expanding the linear projection to a small one layer MLP. You can experiment with it as so
|
|
328
328
|
|
|
329
329
|
Update: hearing mixed results
|
|
330
330
|
|
|
@@ -280,7 +280,7 @@ This repository should also automatically synchronizing the codebooks in a multi
|
|
|
280
280
|
|
|
281
281
|
<img src="./images/simvq.png" width="400px"></img>
|
|
282
282
|
|
|
283
|
-
A <a href="https://arxiv.org/abs/2411.02038">new
|
|
283
|
+
A <a href="https://arxiv.org/abs/2411.02038">new paper</a> proposes a scheme where the codebook is frozen, and the codes are implicitly generated through a linear projection. The authors claim this setup leads to less codebook collapse as well as easier convergence. I have found this to perform even better when paired with <a href="https://arxiv.org/abs/2410.06424">rotation trick</a> from Fifty et al., and expanding the linear projection to a small one layer MLP. You can experiment with it as so
|
|
284
284
|
|
|
285
285
|
Update: hearing mixed results
|
|
286
286
|
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.github/workflows/build.yml
RENAMED
|
File without changes
|
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/.github/workflows/test.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_fsq.py
RENAMED
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_lfq.py
RENAMED
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/examples/autoencoder_sim_vq.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/tests/test_latent_quantization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/sim_vq.py
RENAMED
|
File without changes
|
{vector_quantize_pytorch-1.22.2 → vector_quantize_pytorch-1.22.3}/vector_quantize_pytorch/utils.py
RENAMED
|
File without changes
|
|
File without changes
|