"git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "bfd88cad891c670b146bb678799fc2f531f75c39"
Commit 5b533aa6 authored by Myle Ott's avatar Myle Ott
Browse files

Increase max buffer size in all_gather_list

parent f1d81db8
...@@ -52,7 +52,7 @@ def suppress_output(): ...@@ -52,7 +52,7 @@ def suppress_output():
__builtin__.print = print __builtin__.print = print
def all_gather_list(data, max_size=4096): def all_gather_list(data, max_size=16384):
"""Gathers arbitrary data from all nodes into a list.""" """Gathers arbitrary data from all nodes into a list."""
world_size = torch.distributed.get_world_size() world_size = torch.distributed.get_world_size()
if not hasattr(all_gather_list, '_in_buffer') or \ if not hasattr(all_gather_list, '_in_buffer') or \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment