Explorar o código

unused import

justheuristic %!s(int64=3) %!d(string=hai) anos
pai
achega
8b845fdd76
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      src/server/task_pool.py

+ 2 - 4
src/server/task_pool.py

@@ -1,12 +1,10 @@
 import ctypes
 import multiprocessing as mp
-import os
 import threading
 import time
-from concurrent.futures import Future, InvalidStateError
 from dataclasses import dataclass, field
-from queue import Empty, PriorityQueue
-from typing import Any, Dict, Generator, List, Optional, Sequence, Tuple
+from queue import PriorityQueue
+from typing import Any, Generator, List, Optional, Sequence, Tuple
 
 import torch
 from hivemind import MPFuture, get_logger, use_hivemind_log_handler