Explorar el Código

fix circular imports

justheuristic hace 2 años
padre
commit
2664ee5cdd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/petals/client/sequence_manager.py

+ 1 - 1
src/petals/client/sequence_manager.py

@@ -10,7 +10,7 @@ from hivemind.proto import runtime_pb2
 from hivemind.utils.logging import get_logger, use_hivemind_log_handler
 
 import petals.dht_utils
-from petals.client import NoSpendingPolicy
+from petals.client.spending_policy import NoSpendingPolicy
 from petals.data_structures import ModuleUID, RemoteModuleInfo, RemoteSpanInfo, ServerState
 from petals.server.handler import TransformerConnectionHandler