We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec2f4f6 commit ac5d631Copy full SHA for ac5d631
pyproject.toml
@@ -1,6 +1,6 @@
1
[project]
2
name = "vector-quantize-pytorch"
3
-version = "1.21.2"
+version = "1.21.4"
4
description = "Vector Quantization - Pytorch"
5
authors = [
6
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
vector_quantize_pytorch/lookup_free_quantization.py
@@ -337,6 +337,8 @@ def forward(
337
338
# whether to only use a fraction of probs, for reducing memory
339
340
+ input_for_entropy = original_input
341
+
342
if exists(mask):
343
input_for_entropy = original_input[mask]
344
0 commit comments