Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra-barikbin committed Sep 4, 2024
1 parent 7c66841 commit 9cc00a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/distributed/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def all_gather_tensors_with_shapes(
padded_tensor = torch.nn.functional.pad(
tensor, tuple(itertools.chain.from_iterable(map(lambda dim_size: (0, dim_size), reversed(padding_sizes))))
)
all_padded_tensors: torch.Tensor = _model.all_gather(padded_tensor, group=group) # .split(max_shape[0], dim=0)
all_padded_tensors: torch.Tensor = _model.all_gather(padded_tensor, group=group)
return [
all_padded_tensors[
[
Expand Down

0 comments on commit 9cc00a7

Please sign in to comment.