Browse Source

Try increasing max_prefetch

Aleksandr Borzunov 4 years ago
parent
commit
8a34d81301
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hivemind/averaging/partition.py

+ 1 - 1
hivemind/averaging/partition.py

@@ -33,7 +33,7 @@ class TensorPartContainer:
         peer_fractions: Sequence[float],
         compression_type: Union["CompressionType", Sequence["CompressionType"]] = CompressionType.NONE,
         part_size_bytes: int = DEFAULT_PART_SIZE_BYTES,
-        prefetch: int = 1,
+        prefetch: int = 256,
     ):
         if not isinstance(compression_type, Sequence):
             compression_type = [compression_type] * len(tensors)