Pārlūkot izejas kodu

ignore_stale_updates

justheuristic 3 gadi atpakaļ
vecāks
revīzija
e12740fcb3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      hivemind/optim/collaborative.py

+ 1 - 1
hivemind/optim/collaborative.py

@@ -451,7 +451,7 @@ class CollaborativeOptimizer(DecentralizedOptimizerBase):
 
         for state in valid_peer_states:
             if current_time - state.time > self.staleness_timeout:
-                logger.debug(f"Peer record {state} was discarded because it is too old: {current_time - state.time} s.")
+                logger.debug(f"Ignoring record {state} because it is too old: {current_time - state.time} seconds.")
                 continue
             total_samples_per_second += state.samples_per_second
             if state.step >= global_optimizer_step - self.step_tolerance: