Pavel Samygin 3 anni fa
parent
commit
79a8ce4fc6

+ 6 - 0
.eggs/README.txt

@@ -0,0 +1,6 @@
+This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.
+
+This directory caches those eggs to prevent repeated downloads.
+
+However, it is safe to delete this directory.
+

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

@@ -385,7 +385,6 @@ class MoEBeamSearcher:
             return_future,
         )
 
-
         if return_future:
             return RemoteExpertWorker.spawn_experts_bulk_future(result, self.dht)
         return RemoteExpertWorker.spawn_experts_bulk(result, self.dht)

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

@@ -176,7 +176,6 @@ class RemoteExpertWorker:
         return cls.run_coroutine(_unpack, True)
 
 
-
 class _RemoteModuleCall(torch.autograd.Function):
     """Internal autograd-friendly call of a remote module. For applications, use RemoteExpert instead."""
 

+ 1 - 1
hivemind/moe/server/dht_handler.py

@@ -15,7 +15,7 @@ from hivemind.moe.server.expert_uid import (
     split_uid,
 )
 from hivemind.p2p import PeerID
-from hivemind.utils import get_dht_time, MPFuture
+from hivemind.utils import MPFuture, get_dht_time
 
 
 class DHTHandlerThread(threading.Thread):