Explorar el Código

Extra debug prints

Max Ryabinin hace 3 años
padre
commit
cf108bad0d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hivemind/moe/client/balancer.py

+ 1 - 0
hivemind/moe/client/balancer.py

@@ -126,6 +126,7 @@ class ExpertBalancer:
             with self.throughputs[uid].update_threadsafe(task_size):
                 logger.debug(f"Using expert {uid}, throughput = {self.throughputs[uid].samples_per_second}.")
                 yield RemoteExpert(uid, maybe_endpoint.value)
+                logger.debug(f"Finished using expert {uid}.")
         except BaseException:
             self._ban_expert(uid)
             raise