justheuristic 4 years ago
parent
commit
06e1f4b081
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hivemind/averaging/training.py

+ 1 - 1
hivemind/averaging/training.py

@@ -51,7 +51,7 @@ class TrainingAverager(DecentralizedAverager):
         assert average_parameters and average_gradients and not average_opt_statistics
         assert average_parameters and average_gradients and not average_opt_statistics
 
 
         compression_type = [CompressionType.FLOAT16 if g.numel() <= 2 ** 16 else CompressionType.UNIFORM_8BIT
         compression_type = [CompressionType.FLOAT16 if g.numel() <= 2 ** 16 else CompressionType.UNIFORM_8BIT
-                            for g in averaged_tensors])
+                            for g in averaged_tensors]
 
 
         for g in averaged_tensors:
         for g in averaged_tensors:
             print('COMPRESSION', g.shape, '->', 'FLOAT16' if g.numel() <= 2 ** 16 else 'UINT8')
             print('COMPRESSION', g.shape, '->', 'FLOAT16' if g.numel() <= 2 ** 16 else 'UINT8')