瀏覽代碼

ignore_stale_updates

justheuristic 3 年之前
父節點
當前提交
e12740fcb3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: