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 6f65e72 commit ecf2f7cCopy full SHA for ecf2f7c
setup.py
@@ -3,7 +3,7 @@
3
setup(
4
name = 'vector_quantize_pytorch',
5
packages = find_packages(),
6
- version = '0.10.11',
+ version = '0.10.12',
7
license='MIT',
8
description = 'Vector Quantization - Pytorch',
9
long_description_content_type = 'text/markdown',
vector_quantize_pytorch/residual_vq.py
@@ -103,7 +103,7 @@ def forward(
103
continue
104
105
quantized, indices, loss = layer(residual)
106
- residual = residual - quantized
+ residual = residual - quantized.detach()
107
quantized_out = quantized_out + quantized
108
109
all_indices.append(indices)
0 commit comments