Skip to content

Commit

Permalink
address #158
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 2, 2024
1 parent e99128d commit 7c7c69f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "vector-quantize-pytorch"
version = "1.16.2"
version = "1.16.3"
description = "Vector Quantization - Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down
2 changes: 1 addition & 1 deletion vector_quantize_pytorch/lookup_free_quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def maybe_distributed_mean(t):
if not is_distributed():
return t

dist.all_reduce(t)
dist.nn.all_reduce(t)
t = t / dist.get_world_size()
return t

Expand Down

0 comments on commit 7c7c69f

Please sign in to comment.