We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5d631 commit 55fa8f1Copy full SHA for 55fa8f1
pyproject.toml
@@ -1,6 +1,6 @@
1
[project]
2
name = "vector-quantize-pytorch"
3
-version = "1.21.4"
+version = "1.21.5"
4
description = "Vector Quantization - Pytorch"
5
authors = [
6
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
vector_quantize_pytorch/residual_sim_vq.py
@@ -150,7 +150,7 @@ def forward(
150
all_losses = []
151
all_indices = []
152
153
- should_quantize_dropout = self.training and self.quantize_dropout and not return_loss
+ should_quantize_dropout = self.training and self.quantize_dropout
154
155
# sample a layer index at which to dropout further residual quantization
156
# also prepare null indices and loss
0 commit comments