Skip to content

Commit 7c7c69f

Browse files
committed
address #158
1 parent e99128d commit 7c7c69f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "vector-quantize-pytorch"
3-
version = "1.16.2"
3+
version = "1.16.3"
44
description = "Vector Quantization - Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "lucidrains@gmail.com" }

vector_quantize_pytorch/lookup_free_quantization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def maybe_distributed_mean(t):
3636
if not is_distributed():
3737
return t
3838

39-
dist.all_reduce(t)
39+
dist.nn.all_reduce(t)
4040
t = t / dist.get_world_size()
4141
return t
4242

0 commit comments

Comments
 (0)