Explorar o código

fixed logging/reporting for non-main MPI processes

Dimitri Korsch %!s(int64=3) %!d(string=hai) anos
pai
achega
09aace1dae
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cvfinetune/finetuner/mpi.py

+ 1 - 0
cvfinetune/finetuner/mpi.py

@@ -81,6 +81,7 @@ class MPIFinetuner(DefaultFinetuner):
 
 	def run(self, trainer_cls, opts, *args, **kwargs):
 		if not self.mpi_main_process:
+			kwargs["no_observe"] = True
 			opts.no_snapshot = True
 			opts.no_progress = True
 			self.evaluator._progress_bar = False